-compile_uselibs argument
In ModelSim versions 5.5 and later, use the -compile_uselibs argument to vlog to reference `uselib directives. The argument finds the source files referenced in the directive, compiles them into automatically created object libraries, and updates the modelsim.ini file with the logical mappings to the libraries.
When using -compile_uselibs, ModelSim determines into what directory to compile the object libraries by choosing, in order, from the following three values:
- The directory name specified by the -compile_uselibs argument. For example,
-compile_uselibs=./mydir
- The directory specified by the MTI_USELIB_DIR environment variable (see "Environment variables" )
- A directory named "mti_uselibs" that is created in the current working directory
Note: In ModelSim versions prior to 5.5, the library files referenced by the `uselib directive were not automatically compiled by ModelSim Verilog. To maintain backwards compatibility, this is still the default behavior when -compile_uselibs is not used. See Pre-5.5 release implementation of 'uselib directives for a description of the pre-5.5 implementation.
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |