| Parameterizable VHDL model (counter example) |
|
|
|
Page 1 of 2
Description: “Generic” statement in VHDL is very useful to model parameterizable (i.e. scalable) models. It is really useful to while making library also it increases to model reuse. In the following example there is n bit counter which is used as 3 bit as well as 4 bit counter.
The n-bit counter is instantiated as a component in the top module. This component will give information about the previously defined design to the present design. This statement is very helpful to connect different modules together.
|



