Technical data
add wave
ModelSim EE/SE Command Reference ModelSim Commands  CR-35
-height <pixels> 
Specifies the height (in pixels) of the waveform. Optional.
-color <standard_color_name>
Specifies the color used to display a waveform. Optional. These are the standard 
X Window color names, or rgb value (e.g., #357f77); enclose 2-word names 
(“light blue”) in quotes.
-offset <offset>
Modifies an analog waveform’s position on the display. Optional. The offset value 
is part of the wave positioning equation (see -scale below).
-scale <scale>
Scales analog waveforms. Optional. The scale value is part of the wave 
positioning equation shown below. 
The position and size of the waveform is given by:
(signal_value + <offset>) * <scale> 
If signal_value + <offset> = 0, the waveform will be aligned with its name. The 
<scale> value determines the height of the waveform, 0 being a flat line.
-label <name>
Specifies an alternative name for the signal being added to the Wave window. 
Optional. For example,
add wave -label c clock
adds the clock signal, labeled as "c", to the Wave window. 
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 wave option.
<item_name>
Specifies the names of HDL items to be included in the Wave window display. 
Optional. Wildcard characters are allowed. Variables may be added if preceded by 
the process name. For example,
add list myproc/int1
{<item_name> [-flatten] {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. The following option is 
available:
-flatten
Creates an array signal that cannot be expanded to show waveforms of 










