Technical data
Command return values
246
-
Simulator Command Reference ModelSim EE/PLUS Reference Manual
Command return values
All simulator commands are invoked using Tcl. For most commands that write
information to the Main window, that information is also available as a Tcl result.
By using command substitution the results can be made available to another
command or assigned to a Tcl variable. For example:
set aluinputs [find -in alu/*]
Sets variable "aluinputs" to the result of the
find
command (p317).
The subsections below describe the notation conventions for the commands.
Following this are detailed descriptions of each command in alphabetical order by
command name.
Syntax conventions
The syntax elements of VSIM commands are signified as follows:
Command shortcuts
You may abbreviate command syntax, but there’s a catch. The minimum characters
required to execute a command are those that make it unique. Remember, as we add new
commands some of the old shortcuts may not work. For this reason Model
Sim
does not
allow command name abbreviations in macro files. This minimizes your need to maintain
macro files as new commands are added.
S
y
ntax notation Description
< > angled brackets surrounding a syntax item indicate a user-defined argument; do
not enter the brackets in commands
[ ] square brackets indicate an optional item; if the brackets surround several
words, all must be entered as a group; the brackets are not entered
...
an ellipsis indicates items that may appear more than once; the ellipsis itself
does not appear in commands
| the vertical bar indicates a choice between items on either side of it; do not
include the bar in the command
monospaced type
monospaced type is used in examples
# comments are preceded by the number sign (#)