Technical data

Basic Verilog simulation
Getting Started with ModelSim PE Tutorial: Using ModelSim PE
-
119
Step 26.
Click
OVER
on the toolbar.
This causes the simulator to step over the function call on line 30. The STEP button on the
toolbar would have single-stepped the simulator, including each line of the increment function.
Step 27.
Experiment by yourself for a while; setting and clearing breakpoints as well as STEP’ing and
OVER’ing function calls until you feel comfortable with the operation of these commands.
Step 28.
When you are ready, you can save the output of the VSIM List window if you like, by entering
the following command (CAUTION, this file could be large, so this step is optional):
write list counter.lst
You could, of course, accomplish the same task by using the pulldown menus File > Save
Listing.
Step 29.
You can quit the simulator now by typing exit or by choosing the
File > Exit ModelSim
menu
bar sequence. You will be asked to confirm your decision to exit simulation by clicking the
Yes
button in a dialog box.
Alternatively, if you want to skip the confirmation dialog box type:
exit -force