Technical data
Variable functions
422
-
System Initialization/Project File ModelSim EE/PLUS Reference Manual
Examples
[Library]
work = $HOME/work_lib
test_lib = ./$TESTNUM/work
...
[vsim]
IgnoreNote = $IGNORE_ASSERTS
IgnoreWarning = $IGNORE_ASSERTS
IgnoreError = 0
IgnoreFailure = 0
Tip:
There is one environment variable, MODEL_TECH, that you cannot — and should not —
set. MODEL_TECH is a special variable set by Model Technology software. Its value is
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 mappin
g
By adding an "others" clause to your
modelsim.ini
file, you can have a hierarchy
of library mappings. If the Model
Sim
tools don’t 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/modltech/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.
Creatin
g
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 variable (p55).
; Save the command window contents to this file
TranscriptFile = trnscrpt