Technical data
down | up
CR-70 ModelSim Commands ModelSim EE/SE Command Reference
down | up
The down | up command searches for signal transitions or values in the specified
List 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 signal takes on a particular value, or an expression of multiple signals evaluates
to true. Use the mouse to select the desired signal and click on the desired starting
location using the left mouse button. Then issue the down | up 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
down/up
[-expr {<expression>}] [-falling] [-noglitch] [-rising]
[-value <sig_value>] [-window <wname>] [<n>]
Arguments
-expr {<expression>}
The List window 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 List window. A signal
may be specified either by its full path or by the shortcut label displayed in the List
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
Specifies that delta-width glitches are to be ignored. Optional.
-rising
Searches for a rising 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.