vlib
The vlib command creates a design library. You must use vlib rather than operating system commands to create a library directory or index file. If the specified library already exists as a valid ModelSim library, the vlib command will exit with an error message without touching the library.
Syntax
vlib
[
-help] [
-dos|
-short|
-unix|
-long]
<directory_name>Arguments
-help
Displays the command's options and arguments. Optional.
-dos
Specifies that subdirectories in a library have names that are compatible with DOS. Not recommended if you use the vmake utility. Optional. Default for ModelSim PE.
-short
Interchangeable with the -dos argument. Optional.
-unix
Specifies that subdirectories in a library may have long file names that are NOT compatible with DOS. Optional. Default for ModelSim SE.
-long
Interchangeable with the -unix argument. Optional.
<directory_name>
Specifies the pathname of the library to be created. Required.
Examples
vlib design
Creates the design library called design. You can define a logical name for the library using the vmap command or by adding a line to the library section of the modelsim.ini file that is located in the same directory.
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |