A component declaration is used to define the interface to a lower-level design entity.  The component may then be included in a component instantiation statement which itself is included in an architecture body, thus allowing one entity to be used as part of another entity.  The component declaration must be placed in the declaration section of the architecture body, or in a package visible to the architecture.

 

Example

    component my_adder

        port(A,B,Cin: in std_ulogic;

                Sum,Cout: out std_ulogic);

    end component;

 

LRM

    4.5, 9.6

 

See also

image\diamond.gif  Architecture

image\diamond.gif  Entity

image\diamond.gif  Partitioning Features

image\diamond.gif  Components

image\diamond.gif  Component Instantiation