Technical data
Library management commands
ModelSim EE/PLUS Reference Manual Design Libraries
-
35
Library management commands
These library management commands are available from the UNIX/DOS
command line, or from the Model
Sim
graphic interface. Only brief descriptions
are provided here; for more information and command syntax see the "ModelSim
Command Reference" (p67).
Working with design libraries
The implementation of a design library is not defined within standard VHDL or
Verilog. Within Model
Sim
, design libraries are implemented as directories and
can have any legal name allowed by the operating system, with one exception;
extended identifiers are not supported for library names.
Creatin
g
a library
Before you run the compiler, you need to create a working design library. This can
be done from either the UNIX/DOS command line or from the Model
Sim
graphic
interface.
Creating a working library from the command line
From either the UNIX/DOS prompt, or the Model
Sim
prompt, use this
vlib
command (p81):
vlib <directory_pathname>
Command Description
vdel (p76) deletes a design unit from a specified library
vdir (p78) selectively lists the contents of a library.
vlib (p81) creates a design library
vmake (p88) prints a makefile for a library to the standard output
vmap (p89) defines or displays a mapping between a logical library name
and a directory by modifying th
e
modelsim.ini
f
ile; may also
be invoked from the Main window command line