Technical data
Working with design libraries
ModelSim EE/PLUS Reference Manual Design Libraries
-
37
When you click
OK
, Model
Sim
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 Model
Sim
library.
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 Model
Sim
GUI, or the
vlib
command (p81). Do not create libraries using
UNIX
or
Windows.
Viewing and deleting library contents
The contents of a design library can be viewed or deleted using the either the
command line or graphic interface.
Viewing and deleting library contents from the command line
Use the
vdir
command (p78) 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 (p76) 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>
Viewing and deleting library contents with the graphic interface
Selecting
Library > View Library Contents…
allows you to view the design
units (configurations, modules, packages, entities, and architectures) in the current
library and delete selected design units.