Sometimes the simulation in Modelsim will take a very long time. We may check the simulation results just after simulation finished, but may check it again next time (1 day later). In this case, I need to simulate it again and a same long time will be cost.I just wonder is there any approach that we can save the whole simulation results (the waveform) ? Then we just need to open the simulation results again to check instead of simulate it again. Thanks very much.
You can add "log -r *" to your .do file before your simulation "run" command. This will create a vsim.wlf that can be opened up later in the GUI to view all the simulation waveforms. However, if you are running very long simulations or have a very large design this might require a lot of disk space. In that case, you can replace the "*" with a particular hierarchal hdl path from your design.