Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
9ead9e37
Commit
9ead9e37
authored
9 years ago
by
Pepping
Browse files
Options
Downloads
Patches
Plain Diff
UPdated readme file
parent
5364bc78
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/apertif/designs/apertif_unb1_cor_mesh_ref/doc/README.
+41
-15
41 additions, 15 deletions
...ons/apertif/designs/apertif_unb1_cor_mesh_ref/doc/README.
with
41 additions
and
15 deletions
applications/apertif/designs/apertif_unb1_cor_mesh_ref/doc/README.
+
41
−
15
View file @
9ead9e37
...
@@ -10,11 +10,17 @@ Generate MMM for QSYS:
...
@@ -10,11 +10,17 @@ Generate MMM for QSYS:
* run_qsys unb1 apertif_unb1_cor_mesh_ref
* run_qsys unb1 apertif_unb1_cor_mesh_ref
(Be sure that in RadioHDL/trunk/tools/quartus/run_qsys the part that generates
(Be sure that in RadioHDL/trunk/tools/quartus/run_qsys the part that generates
the simulation file is enabled by uncommenting that part
, a
lternatively you can
the simulation file is enabled by uncommenting that part
. A
lternatively you can
generate the QSYS system with the GUI and enabling the simulation files in the
generate the QSYS system with the GUI and enabling the simulation files in the
last tab)
last tab)
*
* When changes are made to the mmm-configuration file (mmm.cfg) you can auto-generate
the mmm_apertif_unb1_cor_mesh_ref entity. Be sure that the QSYS configuration is
changed and generated accordingly WITH SIMULATION FILES ENABLED!!!!
Create the mmm-entity with command:
python $RADIOHDL/tools/oneclick/base/mmm_gen.py -l apertif_unb1_cor_mesh_ref
-> From here either continue to Modelsim (simulation) or Quartus (synthesis)
-> From here either continue to Modelsim (simulation) or Quartus (synthesis)
...
@@ -26,20 +32,40 @@ Modelsim instructions:
...
@@ -26,20 +32,40 @@ Modelsim instructions:
run_modelsim unb1
run_modelsim unb1
# in Modelsim do:
# in Modelsim do:
lp
unb1_ddr3_reorder
lp
apertif_unb1_cor_mesh_ref
mk all
mk all
# now double click on testbench file tb_
unb1_ddr3_reorder
# now double click on testbench file tb_
apertif_unb1_cor_mesh_ref
as
10
as
7
run
500us
run
-a
# while the simulation runs... in another bash session do:
# while the simulation runs... in another bash session go to:
cd unb1_ddr3_reorder/tb/python
cd $RADIOHDL/applications/apertif/designs/apertif_unb1_cor_mesh_ref/tb/python
python tc_unb1_ddr3_reorder_seq.py --sim --unb 0 --bn 3 --rep 3 -v 5
# and run:
# note --bn 3 must match the node setting in the tb_unb1_ddr3_reorder.
python tc_apertif_unb1_cor_mesh_ref.py --sim --unb 0 --gn 0:7
# to run the test again use --read or --rerun:
python tc_unb1_ddr3_reorder_seq.py --sim --unb 0 --bn 3 --rep 1 -v 3 --read
The expected output is as follows:
python tc_unb1_ddr3_reorder_seq.py --sim --unb 0 --bn 3 --rep 1 -v 3 --rerun
The Real output
[0, 0, 0, 0, 0, 0, 0, 0]
[1, 1, 1, 1, 1, 1, 1, 1]
[2, 2, 2, 2, 2, 2, 2, 2]
[3, 3, 3, 3, 3, 3, 3, 3]
[4, 4, 4, 4, 4, 4, 4, 4]
[5, 5, 5, 5, 5, 5, 5, 5]
[6, 6, 6, 6, 6, 6, 6, 6]
[7, 7, 7, 7, 7, 7, 7, 7]
The Imaginary output
[0, 2, 4, 6, 1, 3, 5, 7]
[0, 2, 4, 6, 1, 3, 5, 7]
[0, 2, 4, 6, 1, 3, 5, 7]
[0, 2, 4, 6, 1, 3, 5, 7]
[0, 2, 4, 6, 1, 3, 5, 7]
[0, 2, 4, 6, 1, 3, 5, 7]
[0, 2, 4, 6, 1, 3, 5, 7]
[0, 2, 4, 6, 1, 3, 5, 7]
# to end simulation in Modelsim do:
# to end simulation in Modelsim do:
quit -sim
quit -sim
...
@@ -48,10 +74,10 @@ Modelsim instructions:
...
@@ -48,10 +74,10 @@ Modelsim instructions:
Quartus instructions:
Quartus instructions:
# GUI:
# GUI:
run_quartus unb1 &
run_quartus unb1 &
# Open project
unb1_ddr3_reorder
.qpf and Start compilation
# Open project
apertif_unb1_cor_mesh_ref
.qpf and Start compilation
or
or
# Command line:
# Command line:
run_
qcomp unb1 unb1_ddr3_reorder
run_
all_qsys unb1 apertif_unb1_cor_mesh_ref
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment