User`s manual

Working with design libraries
2-30 Design Libraries ModelSim Xilinx Users Manual
The Library Browser dialog box includes these options:
Show
Choose the mapping and library scope to view from the drop-down list.
Library/Type list
To view the contents of a library
Select the library, then click the View button. This brings up the Library
Contents
(2-27) dialog box. From there you can also delete design units from
the library.
To create a new library mapping
Click the Add button. This brings up Create a New Library
(2-25) dialog box
that allows you to enter a new logical library name and the pathname to which
it is to be mapped.
It is possible to enter the name of a non-existent directory, but the specified
directory must exist as a ModelSim library before you can compile design units
into it. When you complete all your mapping changes and click the OK button
in the Library Browser dialog box, ModelSim will issue a warning if any
mappings are unresolved.
To edit an existing library mapping
Select the desired mapping entry, then click the Edit button. This brings up a
dialog box that allows you to modify the logical library name and the pathname
to which it is mapped. Selecting Delete removes an existing library mapping,
but it does not delete the library. The library can be deleted with this vdel
command
(CR-111):
vdel -lib <library_name> -all
Library mapping from the command line
You can issue a ModelSim/PLUS command to set the mapping between a logical
library name and a directory; its form is:
vmap <logical_name> <directory_pathname>
This command may be invoked from either a DOS prompt or from the command
line within ModelSim.