Component instantiation allows you to instantiate one design unit (component) inside another design unit to create a hierarchically structured design description.
To perform component instantiation:
- Create the design unit (entity and architecture) modeling the functionality to be instantiated.
- Declare the component to be instantiated in the declarative region of the parent design unit architecture.
- Instantiate and connect this component in the architecture body of the parent design unit.
- Map (connect) formal ports of the component to actual signals and ports of the parent design unit.