next up previous contents
Next: Entity Class Methods Up: VHDL Entity Previous: Entity Class Name

   
Entity Class Variables

Each port signal and generic parameter as well as other named entities7.2 declared within the entity declaration are converted into a corresponding class members. The member names of port signals and generic parameters are constructed in a similar way as described in Section 7.1. However, the library name is omitted.

Example:

ENTITY myentity IS
   GENERIC (Genpar : IN INTEGER);
   CONSTANT   const1, Const2 : BIT := '0';
END myentity;
is transformed into
class L7testlib_E8myentity {
public:
   L3std_Q8standard_T7integer G6genpar;
   const L3std_Q8standard_T3bit     C6const1(0), C6const2(0);
   ...   
};




1998-11-17