Generics: An Example

-- Notes Page --


This slide gives an example of how generics may be used. In this case, the component and2 has two generic parameters associated with its entity. They are tplh and tphl and represent the propagation time for low-to-high and high-to-low transitions.

Note that since no default values are assigned here, the actual values of these generics must be set when the component is instantiated or when a configuration specification is done.