modelsim将波形文件保存下来却不打开图形界面
vsim -c -do sim.tcl -l sim.log
波形怎么保存啊,我想把波形保存下来,但不显示,想看那个信号时在加上,不然信号全部出来了太乱了
在do文件里写
add wave -r *
run -all
exit
-------------------------------------------------------
1. vsim -c -do run.do -l vsim.log -wlf vsim.wlf
2. the contents of run.do:
log -r /*
run -all
exit -f
you can see the vsim.wlf file in your simulation directory. Next time you can load vsim.wlf into modelsim, then you can look the waveforms of all signals.