Slide 12 of 43
Notes:
Note that in this example, three separate VHDL files are used. The first file above shows the architecture description in which the reg1 component is declared and instantiated.
The second file shows a configuration declaration in which the reg1 components in the struct_3 architecture of entity reg4 are bound to dff(behav).
The third example shows a small excerpt from an architecture description in which a locally visible component named reg4_comp is bound to a VHDL design object via the configuration declaration reg4_conf_1 found in the work library (i.e. the configuration declaration shown in the middle section of this slide).
Note that the use of configurations to defer the binding of components adds flexibility to structural architecture descriptions by allowing alternative architecture to be plugged in to the design easily.