next up previous contents
Next: Derived Enumeration Type Classes Up: Derived Integer Type Classes Previous: Integer Type Template Class

Integer Type Template Class Instantiation

To improve readability of the automatically generated code, a define statement maps each integer type name to a corresponding template instantiation. The type name may now be used to create an VHDL integer instance.


TYPE myint IS INTEGER 0 TO 1000;
is mapped to
#define L3lib_P6mypack_T5myint integer_type<L3lib_P6mypack_I5myint>
Note, L3lib_P6mypack_I5myint is the type info class of the VHDL integer type myint defined in package mypack of library lib.