vsim -c\
-voptargs="+acc" \
-sv_lib $UVM_DPI_HOME/uvm_dpi \
-l log/vsim.log \
-sv_seed ${SEED} \
+UVM_TESTNAME=$TESTNAME \
+UVM_VERBOSITY=$VERBOSITY \
tblib.sim_tb_top tblib.glbl
要用 -voptargs="+acc", 否则信号会被优化掉,如果是novopt,则win10环境下会报错
vsim -c\
-voptargs="+acc" \
-sv_lib $UVM_DPI_HOME/uvm_dpi \
-l log/vsim.log \
-sv_seed ${SEED} \
+UVM_TESTNAME=$TESTNAME \
+UVM_VERBOSITY=$VERBOSITY \
tblib.sim_tb_top tblib.glbl
要用 -voptargs="+acc", 否则信号会被优化掉,如果是novopt,则win10环境下会报错