Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


cd

The Tcl cd command changes the ModelSim local directory to the specified directory. See the Tcl man pages (Help > Tcl Man Pages) for any cd command options. Returns nothing.

Syntax

cd

[<dir>]

Arguments

<dir>

The directory to which to change. Optional. If no directory is specified, ModelSim changes to your home directory.

Description

After you change the directory with cd, ModelSim continues to write the vsim.wlf file in the directory where the first add wave, add list or log 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 to load a new design.

Use the where command or the Tcl pwd command to confirm the current directory.

See also

where, vsim, and the Tcl man page for the cd, pwd and exec commands


Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase