Technical data
right | left
CR-136 ModelSim Commands ModelSim EE/SE Command Reference
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
(CR-146) can initially position the cursor from
the command line, if desired.)
Returns: <number_found> <new_time> <new_delta>
Syntax
right | left
[-expr {<expression>}] [-falling] [-noglitch] [-rising]
[-value <sig_value>] [-window <wname>] [<n>]
Arguments
-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"
(CR-250) for the format of the expression. The
expression must be placed within curly braces.
-falling
Searches for a falling edge on the specified signal if that signal is a scalar signal.
If it is not a scalar signal, the option will be ignored. Optional.
-noglitch
Looks at signal values only on the last delta of a time step. For use with -value
option only. Optional.