Technical data
add wave
ModelSim EE/SE Command Reference ModelSim Commands CR-33
add wave
The add wave command adds VHDL signals, and Verilog nets and registers to the
Wave window. It also allows specification of user defined buses.
Syntax
add wave
[-window <wname>] [-expand <signal_name>] [-expandall
<signal_name>] [-recursive] [-in] [-out]
[-inout] [-internal] [-ports] [-<radix>]
[-<format>] [-height <pixels>]
[-color <standard_color_name>] [-offset <offset>]
[-scale <scale>] [-label <name>] [<item_name> |
{<item_name> [-flatten] {sig1 sig2 sig3 ...}}] ...] ...
Arguments
-window <wname>
Adds HDL items to the specified window <wname> (i.e., wave2). Optional. Used
to specify a particular window when multiple instances of that window type exist.
Selects an existing window; does not create a new window. Use the view
command (CR-180) with the -new option to create a new window.
-expand <signal_name>
Causes a compound signal to be expanded immediately, but only one level down.
Optional. The <signal_name> is required, and may include wildcards.
-expandall <signal_name>
Causes a compound signal to be fully expanded immediately. Optional. The
<signal_name> is required, and may include wildcards.
-recursive
For use with wild card searches. Specifies that the scope of the search is to descend
recursively into subregions. Optional; if omitted, the search is limited to the
selected region.
-in
For use with wild card searches. Specifies that the scope of the search is to include
ports of mode IN if they match the item_name specification. Optional.
-out
For use with wild card searches. Specifies that the scope of the search is to include
ports of mode OUT if they match the item_name specification. Optional.