Generic

Definition

Needed as parameter of a Component.

Declaration

Structure:

<Name> : <Type> := <default>;

Example:

Component ExampleComponent
(
Generic
(
CLK_Frequency : NATURAL := 50000000;
);
)
{
...
}

Type: Often numbers (INTEGER or NATURAL)

Default: Useful, if you want to remove it in NewComponent

Can only be read like a constant

Last updated on by Leon Beier