How to control the structure and timing of the entity can be changed?

How to control the structure and timing of the entity can be changed?
A. By using TIME variable in the entity
B. By changing the entity declaration from time to time
C. By using some special code
D. By using GENERICS
 
Answer: d
Explanation: The structure and timing constraints can be changed by declaring some constant using GENERICS declaration. For example, in the full adder example, number of bits to be added can be declared as array with its size N. this N can be declared as a constant in the GENERIC declaration part of entity. By changing N only, one can change number of bits for the addition.
 

Tìm kiếm

Back
Top