FONT SIZE : AAA
This description is used to create an architecture that instantiates other entities that have already been defined elsewhere. This makes possible to build hierarchical descriptions of circuits, which improves their reusability and scalability.
to do this, such an architecture must declare the entities that will be instantiated as components, and add as many instances of these components as needed in the body of the architecture, as the following code illustrates. Structural descriptions are very useful in bottom-up hierarchical designs.
The architecture may add as many instances of the same component as needed. The only restriction that VHDL imposes is that each one of the component instances must be given a different name in the body of the architecture.
Figure 3.9: Example of a structural description of an entity
The code below is an example of a structural description of the circuit depicted in Figure 3.9. Note that, in order to make the interconnections needed between the output of a component and the input of another one, intermediate signals are needed.
IMPORTANT: In this example, note that the Y intermediate signals are needed, whereas no intermediate signal is needed in order to connect the inputs of the entity F (A and B) and the inputs of components mod_G and mod_H.
Structural descriptions of circuits can also be made by means of generate statements. These state- ments are used to automatically create an array of instances of the same component and/or other con- current statements. The syntax of the generate statement is as follows:
The two following examples show how generate instances are instantiated and used in a VHDL code:
Component instantiatons in generate statements can also include conditions, as long as they are referred to the index of the for in the generate statement. The following code shows an example of this:
This example assigns the values of the vector b to the vector a, by left-shifting them 1 position. However, it does not assign any value to a(0), since in that case, the condition in the generate statement is not met.
However, the following code (which is NOT correct), the generated hardware depends on the value of b(i), which is not known at design time. Since the actual value of the bvector depends on the execution of the circuit at any point of time, it is not possible to generate any hardware with this generate statement.
Manufacturer:Xilinx
Product Categories: FPGAs
Lifecycle:Obsolete -
RoHS: -
Manufacturer:Xilinx
Product Categories: FPGAs (Field Programmable Gate Array)
Lifecycle:Active Active
RoHS:
Manufacturer:Xilinx
Product Categories: FPGAs (Field Programmable Gate Array)
Lifecycle:Active Active
RoHS: No RoHS
Manufacturer:Xilinx
Product Categories: FPGAs
Lifecycle:Active Active
RoHS:
Manufacturer:Xilinx
Product Categories: FPGAs
Lifecycle:Active Active
RoHS:
Support