Technical data

Basic Verilog simulation
ModelSim EE Tutorial ModelSim EE Lessons
-
139
You will see a dot appear next to the line number. This indicates that a breakpoint
has been set for that line. Clicking line 30 once more would remove the breakpoint
but don’t do that now.
22
Select the
Run
button from the Main toolbar to resume execution of the simulation.
(PROMPT: run) (Main MENU: Run > Run 500 ns)
When the simulation hits the breakpoint, it stops running, highlights the Source
window with an arrow, and issues a message in the Main window.
23
Typically when a breakpoint is reached you will be interested in one or more signal
values. You have several options for checking values.
You can look at the values shown in the Signals window, you can move you
mouse pointer over the
count
variable in the Source window and press the right
mouse button, or you can use the
examine
command:
examine count
As a result of your command the count is output to the Main window.