User`s manual
Library management commands
ModelSim Xilinx User’s Manual Design Libraries 2-25
Library management commands
These library management commands are available from the Transcript window
command line, or from the ModelSim graphic interface. Only brief descriptions
are provided here; for more information and command syntax see "ModelSim
Commands"
(CR-11).
These command may also be invoked from the Windows 95/98 or Windows NT
DOS prompt.
Working with design libraries
The implementation of a design library is not defined within standard VHDL or
Verilog. Within ModelSim, 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.
Creating a library
Before you run the compiler, you need to create a working design library. This can
be done from either the DOS command line or from the ModelSim graphic
interface.
Creating a working library from the command line
From either the DOS prompt, or the ModelSim prompt, use this vlib command
(CR-140):
vlib <directory_pathname>
Command Description
vdel
(CR-111) deletes a design unit from a specified library
vlib
(CR-140) selectively lists the contents of a library.
vlib (CR-140) creates a design library
vmake
(CR-145) outputs a UNIX-like makefile that can be used to reconstruct
the library
vmap
(CR-147) defines or displays a mapping between a logical library name
and a directory by modifying th
e modelsim.ini file