Technical data

The GUI Expression Builder
ModelSim EE/PLUS Reference Manual ModelSim EE Graphic Interface
-
243
To search for when a signal reaches a particular value
Select the signal in the Wave window and press this Expression Builder button:
Add Selected_Signal(s) ==value
.
This will enter a subexpression consisting of (<signal_name> ==
<current_value>). You may then edit the value string to be the value of your
choice. After editing type <enter> to save the change.
To evaluate only on clock edges
Press the
&&
button to AND this condition with the rest of the expression, then
select the clock in the Wave window and press
Add Selected_Signal(s)’rising
.
You may also select the falling edge or both edges.
To reference array subranges
The Add Selected_Array[subrange] and Add Selected_Array[index] buttons
assist in referencing arrays by bringing up the declared range of the array. You
may then edit the range to select a subrange or index.
Operators
Other buttons will add operators of various kinds (see "Expression syntax"
(p237)), or you can type them in.
To hand edit the expression
Click with left mouse button in the expression entry box and delete or add
characters. Type <enter> to accept the change.
To save the expression as a Tcl variable
The Save button will allow you to save the expression to a Tcl variable. It also
saves the expression in the drop-down entry box.