User`s manual
Variable settings report
A-254 ModelSim Variables ModelSim Xilinx User’s Manual
Variable settings report
The report command (CR-82) returns a list of current settings for either the
simulator state, or simulator control variables. Use the following commands at
either the ModelSim or VSIM prompt:
report simulator state
report simulator control
Personal preferences
There are several preferences stored by ModelSim on a personal bases,
independent of modelsim.ini or modelsim.tcl files. These preferences are stored in
the Windows Registry under HKEY_CURRENT_USER\Software\Model
Technology Incorporated\ModelSim.
• cwd
History of the last five working directories (pwd). This history appears in the
Main window File menu.
• phst
Project History
• pinit
Project Initialization state (one of: Welcome | OpenLast | NoWelcome)
• printersetup
All setup parameters related to Printing (i.e., current printer, etc.)
The HKEY_CURRENT_USER key is unique for each user Login on Windows
NT.
Returning to the original ModelSim defaults
If you would like to return ModelSim’s interface to its original state, simply
rename or delete the existing modelsim.tcl and modelsim.ini files. ModelSim will
use pref.tcl for GUI preferences and make a copy of <install_dir>/modeltech/
modelsim.ini to use the next time VSIM is invoked without an existing project (if
you start a new project the new MPF file will use the settings in the new
modelsim.ini file.