June 2001
Intermediate to advanced
759 pages
20h 17m
English
12 Generic Constants
The Models that we have used as examples in preceding chapters all have fixed behavior and structure. In many respects, this is a limitation, and we would like to be able to write more general, or generic, models. VHDL provides us with a mechanism, called generics, for writing parameterized models. We discuss generics in this chapter and show how they may be used to write familes of models with varying behavior and structure.
We can write a generic entity by including a generic interface list in its declaration that defines the formal generic constants that parameterize the entity. The extended syntax rule for entity declarations including generics is
The difference between this and the ...
Read now
Unlock full access