Skip to content
Snippets Groups Projects
Commit 765269e2 authored by Pepping's avatar Pepping
Browse files

Initial commit

parent 61bd9d80
No related branches found
No related tags found
No related merge requests found
File added
Quick steps to compile and use design [apertif_unb1_cor_mesh_ref] in RadioHDL
--------------------------------------------------------------
Start with the Oneclick Commands:
python $RADIOHDL/tools/oneclick/base/modelsim_config.py
python $RADIOHDL/tools/oneclick/base/quartus_config.py
Generate MMM for QSYS:
* run_qsys unb1 apertif_unb1_cor_mesh_ref
(Be sure that in RadioHDL/trunk/tools/quartus/run_qsys the part that generates
the simulation file is enabled by uncommenting that part, alternatively you can
generate the QSYS system with the GUI and enabling the simulation files in the
last tab)
*
-> From here either continue to Modelsim (simulation) or Quartus (synthesis)
Simulation
----------
Modelsim instructions:
# in bash do:
rm $UNB/Software/python/sim/* # (optional)
run_modelsim unb1
# in Modelsim do:
lp unb1_ddr3_reorder
mk all
# now double click on testbench file tb_unb1_ddr3_reorder
as 10
run 500us
# while the simulation runs... in another bash session do:
cd unb1_ddr3_reorder/tb/python
python tc_unb1_ddr3_reorder_seq.py --sim --unb 0 --bn 3 --rep 3 -v 5
# note --bn 3 must match the node setting in the tb_unb1_ddr3_reorder.
# 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
python tc_unb1_ddr3_reorder_seq.py --sim --unb 0 --bn 3 --rep 1 -v 3 --rerun
# to end simulation in Modelsim do:
quit -sim
Quartus instructions:
# GUI:
run_quartus unb1 &
# Open project unb1_ddr3_reorder.qpf and Start compilation
or
# Command line:
run_qcomp unb1 unb1_ddr3_reorder
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment