User`s manual

ModelSim Xilinx Users Manual ModelSim Variables A-253
A - ModelSim Variables
Appendix contents
Variable settings report . . . . . . . . . . . . . . . . . 254
Personal preferences. . . . . . . . . . . . . . . . . . 254
Returning to the original ModelSim defaults . . . . . . . . . . . 254
Environment variables . . . . . . . . . . . . . . . . . 255
Preference variables located in INI and MPF files . . . . . . . . . . 259
[Library] library path variables . . . . . . . . . . . . . . 259
[vcom] VHDL compiler control variables . . . . . . . . . . . 260
[vlog] Verilog compiler control variables . . . . . . . . . . . 262
[vsim] simulator control variables . . . . . . . . . . . . . 262
[Project] project file section (MPF files only) . . . . . . . . . . 266
Setting variables in INI / MPF files. . . . . . . . . . . . . 267
Variable functions . . . . . . . . . . . . . . . . . 267
Preference variables located in TCL files . . . . . . . . . . . . 271
Viewing the default preference file (pref.tcl) . . . . . . . . . . 271
Individual preference variables . . . . . . . . . . . . . . 275
Setting Tcl preference variables . . . . . . . . . . . . . 276
Simulator state variables. . . . . . . . . . . . . . . . . 283
This appendix documents the following types of ModelSim variables:
environment variables
Variables referenced and set according to operating system conventions.
Environment variables prepare the ModelSim environment prior to simulation.
ModelSim preference variables
Variables used to control compiler or simulator functions (usually in .tcl files)
and modify the appearance of the ModelSim GUI (usually in INI and MPF
files).
simulator state variables
Variables that provide feedback on the state of the current simulation.