1.运用自动化脚本文件 do sim.do
其中不支持 .f文件 , 需要直接vlog
2.对于mig模型采用下面句型(根据example中do sim.do文件)
vlog -sv +define+x4Gb +define+sg125 +define+x16 c0_ddr3_model.v vlog -sv +define+x4Gb +define+sg125 +define+x16 c1_ddr3_model.v vsim -t fs -novopt +notimingchecks -L unisims_ver -L secureip work.sim_tb_top glbl
3.关于example中的sim.do例子
vlib work vlog ../sources/*.v vlog -incr ../sources/traffic_gen/*.v vlog ../sources/user_design/rtl/mig_7series_0.v vlog ../sources/user_design/rtl/mig_7series_0_mig_sim.v vlog -incr ../sources/user_design/rtl/clocking/*.v vlog -incr ../sources/user_design/rtl/controller/*.v vlog -incr ../sources/user_design/rtl/ecc/*.v vlog -incr ../sources/user_design/rtl/ip_top/*.v vlog -incr ../sources/user_design/rtl/phy/*.v vlog -incr ../sources/user_design/rtl/ui/*.v vlog glbl.v vlog wiredly.v vlog sim_tb_top.v vlog -sv +define+x4Gb +define+sg125 +define+x16 ddr3_model.v vsim -t fs -novopt +notimingchecks -L unisims_ver -L secureip work.sim_tb_top glbl