Technical data

right | left
ModelSim EE/PLUS Reference Manual Simulator Command Reference
-
359
right | left
The
right | left
command searches right (next) or left (previous) for signal
transitions or values in the specified Wave window. It executes the search on
signals currently selected in the window, starting at the time of the active cursor.
A condition to search for may also be identified by an expression using the -
expr
command option. The active cursor moves to the found location.
Use this command to move to consecutive transitions or to find the time at which
a waveform takes on a particular value, or an expression of multiple signals
evaluates to true. Use the mouse to select the desired waveform and click on the
desired starting location using the left mouse button. Then issue the
right | left
command. (The
seetime
command (p366) can initially position the cursor from
the command line, if desired.)
Returns: <number_found> <new_time> <new_delta>
Syntax
right | left
[-window <wname>] [-expr {<expression>}] [-noglitch]
[-value <sig_value>] [<n>]
Arguments
-window <wname>
Use this option to specify an instance of the Wave window that is not the default. Optional.
Otherwise, the default Wave window is used. Use the
view
command (p388) to change the
default window.
-expr {<expression>}
The waveform display will be searched until the expression evaluates to a boolean true
condition. Optional. The expression may involve more than one signal, but is limited to
signals that have been logged in the referenced Wave window. A signal may be specified
either by its full path or by the shortcut label displayed in the Wave window.
See "GUI_expression_format" (p236) for the format of the expression. The
expression must be placed within curly braces.
-noglitch
Looks at signal values only on the last delta of a time step. For use with -value option only.
Optional.