User`s manual
Working with design libraries
ModelSim Xilinx User’s Manual Design Libraries 2-27
• Maps to
Type or Browse for a mapping for the specified library. This field can be
changed only when the create a map to an existing library option is selected.
When you click OK, ModelSim creates the specified library directory and writes
a specially-formatted file named _info into that directory. The _info file must
remain in the directory to distinguish it as a ModelSim library.
If a mapping option is selected, a map entry is written to the modelsim.ini file in
the [Library] section. See "[Library] library path variables"
(A-259) for more
information.
Note: It is important to remember that a design library is a special kind of directory; the only way to create
a library is to use the ModelSim GUI, or the vlib command
(CR-140). Do not create libraries using DOS or
Windows.
Viewing and deleting library contents
The contents of a design library can be viewed or deleted using either the
command line or graphic interface.
Viewing and deleting library contents from the command line
Use the vlib command
(CR-140) to view the contents of a specified library (the
contents of the work library are shown if no library is specified). Its syntax is:
vdir -lib <library_name>
Use the vdel command (CR-111) to delete an entire library or a design unit from a
specified library (the design unit is deleted from the work library if no library
name is specified). Its syntax is:
vdel -lib <library_name> <design_unit>