The use statement identifies items in other design units so those items can be referenced.

 

A use clause includes—in this order—the reserved word "use", followed by a list of design units (or design unit items) to be referenced.

 

A use clause makes the referenced design units visible to the working environment.  If a design unit (or design unit item) belongs to a library different from the current library, a library statement must be included before the use statement. The library statement must specify the library holding the referenced design unit.

 

Examples

    use mylib.mypackage.dff;

    ...

    use mylib.mypackage.all;

    ...

    use mylib.all;

    ...

    use work.all;

 

All design units automatically include the following two implicit clauses:

 

    library STD, WORK;

    use STD.STANDARD.all;

 

LRM

    10.4

 

See also

image\diamond.gif  Library

image\diamond.gif  Design Libraries