Technical data

Running a batch-mode simulation
ModelSim EE Tutorial ModelSim EE Lessons
-
113
• the
-wav
switch instructed the simulator to save the simulation results in a log
file named
saved.wav
• used the contents of
yourfile
to specify that values are to be listed in decimal, to
execute a stimulus file called
stim.do
, and to write the results to a file named
counter.lst
, the default for a design named counter
8
Since you saved the simulation results in
saved.wav
, you can view the simulation
results by starting up VSIM with its
-view
switch:
vsim -view saved.wav
9
Open these windows with the VIEW button or the equivalent command:
view structure signals list wave
Note:
If you open the Process or Variables windows they will be empty. You are looking at a saved
simulation, not examining one interactively; the logfile saved in
saved.wav
was used to reconstruct the current
windows.
10
Now that you have the windows open, put the signals in them:
add wave *
add list *
11
Use the available VSIM windows to experiment with the saved simulation results and
quit when you are ready:
quit -f
For additional information on the batch and command line modes, please refer to
the
ModelSim EE/PLUS Reference Manual
.