User guide

8-11
Interactive Window
Setting a line breakpoint or searching on an HDL expression are
examples of setting a permanent breakpoint. The simulator controls
described below set different types of breakpoints.
Expression Breakpoints
In the Waveform Window, use the Expression Dialog and Breakpoint
Group Dialog to create the desired HDL expressions to search for
breakpoint groups. For each desired expression, click the Breakpoints
toggle button on to enable searching. After the expression
breakpoints are set, continue the simulator. As soon as one of the
HDL expressions is found, the simulator stops and displays the
updated results in all windows linked to the SIM link group and any
Waveform Window.
Note:
The VHDL simulator handles only true and false expressions,
whereas VirSim and Verilog allow expressions based on signal
value. If you are using VHDL or mixed VHDL/Verilog with a
Scirocco simulator, be sure that expressions are written for a True/
False result. For example, use (signal1 or signal2) = ’1’ rather than
(signal1 or signal2).
For information on using breakpoint groups, see Locating Events
Using Breakpoint Groups with Enabled Expressions. For information
on creating expressions, see Chapter 15, Expressions.
When the simulator stops because of an expression breakpoint, a
message displays in the History area of Interactive Window. For
example:
Simulator stopped on expression search: expr_name