Preference variables located in Tcl files
ModelSim Tcl preference variables give you control over fonts, colors, prompts, window positions and other simulator window characteristics. Preference files, which contain Tcl commands that set preference variables, are loaded before any windows are created, and so will affect all windows. For complete documentation on Tcl preference variables, see the following URL:
http://www.model.com/resources/pref_variables/frameset.htm
When ModelSim is invoked for the first time, default preferences are loaded from the pref.tcl file. (See "System initialization" for more details.) Customized variable settings may be set from within the ModelSim GUI (Options > Edit Preferences (Main window)), on the ModelSim command line (Tcl set command), or by directly editing the preference file.
The default file for customized preferences is modelsim.tcl. When ModelSim starts it searches for a modelsim.tcl file as follows:
- use MODELSIM_TCL environment variable if it exists (if MODELSIM_TCL is a list of files, each file is loaded in the order that it appears in the list); else
- use ./modelsim.tcl; else
- use $(HOME)/modelsim.tcl if it exists
If your preference file is not named modelsim.tcl, or if the file is not located in the directories mentioned above, you must refer to it with the MODELSIM_TCL environment variable.
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |