4-18
Waveform Window
2. Enter a name for the expression in the Name field.
3. Drag the signal(s) of interest into the Expression pane (or enter
the full hierarchical signal name).
Note:
The expression must be legal Verilog code and can consist of
multiple signals with associated values.
4. Enter the value that you want to search for. For example, an
expression that searches for a value might look like the following:
V1$test.risc1.data[7:0] == 8`h91
Or an expression that searches for multiple values might look like
the following:
$V1$test.risc1.alu_out[7:0] == 8'h02 & $V1$test.risc1.pcaddr[4:0] == 5'h06
5. Click Add to place the expression in the list of Breakpoints.
6. To enable the Breakpoint for searching in the Waveform Window,
click the button next to the breakpoint name. This enables the
Search Prior and Search Next expression icons in the Waveform
Window.
7. In the Waveform Window, click the Search Next icon to search for
the next point at which the expression is true. VirSim places a
marker with the expression name at the point where the
expression is true.
Note:
You can also drag expressions from the Breakpoint pane to the
Waveform and Register windows to quickly find the areas where
the expression is true - even for expressions that consist of
multiple signals and conditions.
Comments to this Manuals