Reading Libraries

In X-Amin, Libraries are simply a set of components that are used as resources for Designs. An example of a Library would be a set of vendor gate-level components. Components within a Library cannot be viewed or analyzed in any way until they are linked into a Design.

In GUI mode, Libraries are read into X-Amin using the file menu (File->Read Library...) or using the Read Library icon on the File Toolbar. Either method will invoke the Read Library Dialog as shown below.

The Read Library Dialog provides controls to set all the readlib command options. These options are:

Library Path: The directory path to the HDL files to be read into the Library. Use the Browse icon to invoke the Directory Dialog to manually search for the desired directory.

Library Name: The name to use for the Library. Each Library must be given a unique name, though components from several directories may be read into the same Library.

Format: Language type of the HDL file to process. Currently, only Verilog is supported.

 

readlib Command

Libraries can also be read into X-Amin using the readlib command entered in the GUI Command Entry box or on the command line in command-line mode. The readlib command format is:

SYNTAX
 (void) readlib
   [<-vlog|-vhdl]
   <path>
   <name>
 
ARGUMENTS
 -vlog|-vhdl
   Language format of the library files. -vlog is the default
 <path> Path to the library
 <name> Name to be given to the library