Technical data

Tcl commands
ModelSim EE/PLUS Reference Manual Using Tcl
-
515
Note:
Model
Sim
command names that conflict with Tcl commands have been renamed or have been
replaced by Tcl commands. See the list below:
Command substitution
Placing a command in square brackets [ ] will cause that command to be evaluated
first and its results returned in place of the command. An example is:
set a 25
set b 11
set c 3
echo "the result is [expr ($a + $b)/$c]"
will output:
"the result is 12"
This feature allows VHDL variables and signals, and Verilog nets and registers to
be accessed using :
[examine -<radix> name]
pwd read regexp regsub rename
return scan seek set split
string switch tell time trace
source unset uplevel upvar while
Previous Model
Sim
command Command chan
g
ed to (or replaced b
y
)
continue
run
(p361) with the
-continue
option
format List | Wave
write format
(p403) with either list or wave specified
if replaced by the Tcl
if
command
list
add list
(p260)
set replaced by the Tcl
set
command
source
vsource
(p395)