Technical data
cd
280
-
Simulator Command Reference ModelSim EE/PLUS Reference Manual
cd
The Tcl
cd
command changes the VSIM local directory to the specified directory.
See the Tcl man pages (Main window:
Help > Tcl Man Pages
) for any
cd
command options. Returns nothing.
Syntax
cd
<dir>
Description
After you change the directory with
cd
, VSIM continues to write the
vsim.wav
file
in the directory where the first
add wave
(p271),
add list
(p260) or
log
(p325)
command was executed. After completing simulation of one design, you can use
the
cd
command to change to a new design, then use the
vsim
command (p393)
to load a new design.
Use the
where
command (p401) or the Tcl
pwd
command (see the Tcl man pages,
Main window:
Help > Tcl Man Pages
) to confirm the current directory.
See also
where
command (p401),
vsim
command (p393), and the Tcl man page for the
cd
,
pwd
and
exec
commands