Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


environment

The environment, or env command, allows you to display or change the current dataset and region/signal environment.

Syntax

environment

[-dataset] [-nodataset] [<dataset_prefix>[<pathname>]]

Arguments

-dataset

Displays the specified environment pathname with a dataset prefix. Optional. Dataset prefixes are displayed by default if more than one dataset is open during a simulation session.

-nodataset

Displays the specified environment pathname without a dataset prefix. Optional.

<dataset_prefix>

Changes all unlocked windows to the specified dataset context. Optional. The prefix is the logical name of the dataset followed by a colon (e.g., "sim:"). If the <pathname> argument is specified as well, it will change the environment to that specified context. If <pathname> is omitted, the environment reflects the previously set context.

<pathname>

Specifies the pathname to which the current region/signal environment is to be changed. Optional. If omitted the command causes the pathname of the current region/signal environment to be displayed.

Multiple levels of a pathname must be separated by the character specified in the PathSeparator. A single path separator character can be entered to indicate the top level. Two dots (..) can be entered to move up one level.

Examples

env

Displays the pathname of the current region/signal environment.

env -dataset test

Changes all unlocked windows to the context of the "test" dataset.

env test:/top/foo

Changes all unlocked windows to the context "test: /top/foo".

env blk1/u2

Moves down two levels in the design hierarchy.

env /

Moves to the top level of the design hierarchy.


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