Technical data

add list
CR-24 ModelSim Commands ModelSim EE/SE Command Reference
-label <name>
Specifies an alternative signal name to be displayed as a column heading in the
listing. Optional. This alternative name is not valid in a force
(CR-87) or examine
(CR-81) command, however. It can optionally be used in a search and next
command (CR-141) with the list option.
<item_name>
Specifies the name of the item to be listed. Optional. Wildcard characters are
allowed. Variables may be added if preceded by the process name. For example,
add list myproc/int1
{<item_name> <options>{sig1 sig2 sig3 ...}}
Creates a user-defined bus in place of <item_name>; ā€˜sigi’ are signals to be
concatenated within the user-defined bus. Optional. Specified items may be either
scalars or various sized arrays as long as they have the same element enumeration
type. The following option is available:
-keep
The original specified items are not removed; otherwise they are removed.
Note: You can use the Edit > Combine selection from the "List window" (10-174) menu to create a user-
defined bus.
Examples
add list -r /*
Lists all items in the design.
add list *
Lists all items in the region.
add list -in *
Lists all input ports in the region.
add list a -label sig /top/lower/sig array_sig(9 to 23)
Displays a List window containing three columns headed a, sig, and array_sig(9 to 23).
add list clk -not a b c d
Lists clk, a, b, c, and d only when clk changes.
add list -not clk a b c d
Lists clk, a, b, c, and d every 100 time units.