Skip to content
Snippets Groups Projects
Select Git revision
  • b3199dfde6a1efaa279ee73ebdf8c7c091620477
  • master default protected
  • L2SDP-LIFT
  • HPR-158
4 results

README

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    README 1.21 KiB
    Quick steps to compile and use design [unb1_ddr3] in RadionHDL
    --------------------------------------------------------------
    
    Start with the Oneclick Commands:
        python $RADIOHDL_WORK/tools/oneclick/base/modelsim_config.py
        python $RADIOHDL_WORK/tools/oneclick/base/quartus_config.py
    
    Generate MMM for SOPC:
        run_sopc unb1 unb1_ddr3
    
    -> From here either continue to Modelsim (simulation) or Quartus (synthesis)
    
    Simulation
    ----------
    Modelsim instructions:
        # in bash do:
        rm $SIM_DIR/* # (optional)
        run_modelsim unb1
    
        # in Modelsim do:
        lp unb1_ddr3
        mk all
        # now double click on testbench file tb_unb1_ddr3
        as 10
        run 500us
    
        # while the simulation runs... in another bash session do:
        cd unb1_ddr3/tb/python
        python tc_unb1_ddr3_seq.py --sim --unb 0 --fn 3 --rep 3 -v 5 -n 0
        
        # note --fn 3 must match the node setting in the tb_unb1_ddr3.
        # the test can run again:
        python tc_unb1_ddr3_seq.py --sim --unb 0 --fn 3 --rep 3 -v 3 -n 0
        
        # to end simulation in Modelsim do:
        quit -sim
    
    
    Quartus instructions:
        # GUI:
        run_quartus unb1 &
        # Open project unb1_ddr3.qpf and Start compilation
        
        or    
        
        # Command line:
        run_qcomp unb1 unb1_ddr3