User`s manual

Preference variables located in INI and MPF files
A-268 ModelSim Variables ModelSim Xilinx Users Manual
the name of the directory from which the VCOM compiler or VSIM simulator was invoked.
MODEL_TECH is used by the other Model Technology tools to find the libraries.
Hierarchical library mapping
By adding an "others" clause to your modelsim.ini file, you can have a hierarchy
of library mappings. If the ModelSim tools dont find a mapping in the
modelsim.ini file, then they will search the library section of the initialization file
specified by the "others" clause.
Examples
[Library]
asic_lib = /cae/asic_lib
work = my_work
others = /install_dir/modeltech/modelsim.ini
Tip:
Since the file referred to by the others clause may itself contain an others clause, you can
use this feature to chain a set of hierarchical INI files.
Creating a transcript file
A feature in the system initialization file allows you to keep a record of everything
that occurs in the transcript: error messages, assertions, commands, command
outputs, etc. To do this, set the value for the TranscriptFile line in the modelsim.ini
file to the name of the file in which you would like to record the VSIM history.
The size of this file can be controlled with the MTI_TF_LIMIT
(A-255).
; Save the command window contents to this file
TranscriptFile = trnscrpt
Using a startup file
The system initialization file allows you to specify a command or a do file that is
to be executed after the design is loaded. For example:
; VSIM Startup command
Startup = do mystartup.do
The line shown above instructs VSIM to execute the commands in the macro file
named mystartup.do.
; VSIM Startup command
Startup = run -all
The line shown above instructs VSIM to run until there are no events scheduled.
See the do command
(CR-43) for additional information on creating do files.