About modelsim simulation result store & restore.

Status
Not open for further replies.

z81203

Full Member level 5
Joined
Aug 1, 2001
Messages
308
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,298
Activity points
2,356
shm_open modelsim

Hi,
I want to store simulation result of modelsim with all signals and next time restore it without new simulation, so I can check the waveform that I care. How can I do it?
It's a binary file better and maybe can write something in verilog stimulus. Just like SHM in verilog-xl.
//$shm_open("shm.db");
//$shm_save;
//$shm_probe("AS");

BTW, I can dump VCD file out, but it's bigger. I don't know how to input VCD file to modelsim waveform windows.

Thanks.
 

If you only want to save the waveform ,you can do this:
1,select all signals that you want to watch to wave window.
2,run the simulation
3,on the wave window you can find a floppy icon on the toolbar,you strike it ,then ask you to save a .do file.
4,quit the modelsim
5,in the directory where you run modelsim,you will see a vsim.wlf file, rename this filename you wanted.
6.if you want the recent simulation result ,you can just strike this file ,then you will find out the modelsim is opening if you are on windows platform.
if you are on linux or unix ,you can launch modelsim ,add wave window,then in file menu you can open dataset,then you chose the *.wlf. then run the *.do file.
Now all the wave can be opened!
 

you're right, i checked it. thanks.
but there is no simple way to save all signal to view, just select your wanted, isn't it.
 

I dont know other method to store waveform.

If you know pls tell me!
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…