The group keyword is used to define a group template or specific group. Groups may be used to give a name to a collection of named entities.

 

A group template declaration includes—in this order—the reserved word "group" followed by a group name, the reserved word "is", and a list of classes enclosed in parentheses.

 

Example

    group signal_pair is (signal1, signal2);  -- group of two signals

 

A group declaration includes—in this order—the reserved word "group" followed by a group name, the character ":", a group template name, and a list of named entities enclosed in parentheses.

  

Example

    group G1: signal_pair(Clk1,Clk2);

 

LRM

    4.6

 

See also

image\diamond.gif  Objects, Data Types and Operators