Technical data
Basic Verilog simulation
138
-
ModelSim EE Lessons ModelSim EE Tutorial
Select a display radix of
Decimal
for the signal
count
. Click
OK
. This causes the
List window output to change; the count
signal is now listed in decimal rather than
the default binary.
21
Let’s set a breakpoint at line 30 in the
counter.v
file (which contains a call to the
Verilog function increment). To do this, select
dut: counter
in the Structure window.
Move the cursor to the Source window and scroll the window to display line 30. Click
at or near line number 30 to set a breakpoint (the executable line number is displayed
in green).