Technical data

Debugging a VHDL design
ModelSim EE Tutorial ModelSim EE Lessons
-
109
20
Once the simulation has restarted, add variables to the Variables window by selecting
the
test
/testbench
process in the Process window.
21
In the Variables window, expand
test_patterns
, and
test_pattern(6)
again. Then
highlight the
sum
record by clicking on the variable name (not the box before the
name) and then use the
Edit > Change
menu selection.
22
Select the last four bits in the value field
1000
by dragging the pointer across them.
Then replace them with
0111
, and click
Change
. (Note that this is a temporary edit,
you must use your text editor to permanently change the source code.)
23
Select the
Run
button from the Main toolbar.
(Main MENU: Run > Run 1000 ns) (PROMPT: run)
At this point, the simulation will run without any errors.
Next you will learn how to change the new-line triggering for the List window.