How to save the waveform results in the ModelSim simulator?
During a simulation run, ModelSim writes out a "vsim.wlf" file, which contains the waveform information for that run.
To be able to view the saved results, load up the "vsim.wlf" file from within ModelSim as follows:
Modelsim Prompt> vsim -view vsim.wlf
ModelSim will then load up the simulation information. However, it does not launch the waveform window. To do this, open the waveform window and add the list of signals to the wave window:
Modelsim Prompt> view wave
Modelsim Prompt> add wave *
ModelSim will then launch the wave window, list the signals and show the results as seen in the "vsim.wlf" file.