10.3 Design units and their analysis

...
ENTITY e IS
    ...
BEGIN
    ...
END e ;

...
ARCHITECTURE a OF e IS
    ...
BEGIN
    ...
END a ;

...
CONFIGURATION c
        OF e IS
    ...
    ...
    ...
END


...
PACKAGE pkg IS
    ...
    ...
    ...
END pkg ;


library_clause ::=

library
logical_name_list ;


...
PACKAGE BODY pck
        IS
    ...
    ...
    ...
END pck ;

...
b: BLOCK IS
    ...
BEGIN
    ...
END BLOCK b ;

FUNCTION f (...)
    RETURN r IS
    ...
BEGIN
    ...
END f ;

PROCEDURE p (...) IS
    ...
BEGIN
    ...
END p ;

p : PROCESS
    ...
BEGIN
    ...
END PROCESS p ;

10.3.1 Further definitions

logical_name_list ::=
    logical_name { , logical_name }

10.3.2 Comment

The LIBRARY -statement can be placed as a context-statement in front of every library module such as entity,

architecture, package, package body and configuration.

10.3.3 Examples

LIBRARY my_library ;

Several libraries are made public.

LIBRARY my_library_1, my_library_2 ;
LIBRARY std, work ;
USE std.standard. ALL ;

After the libraries std and work have been made
public all elements from the package standard of the
library std are integrated.