Technical data
cd
CR-42 ModelSim Commands ModelSim EE/SE Command Reference
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
(CR-33), add list (CR-22) or log (CR-93)
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
(CR-208)
to load a new design.
Use the where command
(CR-230) 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
(CR-230), vsim command (CR-208), and the Tcl man page for the
cd, pwd and exec commands