The library keyword identifies a library. The library statement is a context clause used to identify libraries from which design units can be referenced.

 

A library statement includes—in this order—the reserved word "library" followed by a list of library logical names.

 

Example

    library std_logic_1164;   -- Use the IEEE 1164 standard library

 

Using a library clause makes a named library visible to the working environment.  However, to use a design unit from within that library, a "use" statement must also be included specifying the design unit to be used.

 

All design units automatically include the following implicit library clause:

 

    library STD, WORK;

 

 

LRM

    11.2

 

See also

image\diamond.gif  Use

image\diamond.gif  Partitioning Features

image\diamond.gif  Design Libraries