Technical data
environment
312
-
Simulator Command Reference ModelSim EE/PLUS Reference Manual
environment
The
environment
, or
env
command, allows you to display or change the current
region/signal environment.
Syntax
environment
[<pathname>]
Arguments
<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 variable (p254). 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 ..
Moves up one level in the design hierarchy.
env blk1/u2
Moves down two levels in the design hierarchy.
env /
Moves to the top level of the design hierarchy.