_MW_
Newbie level 3
Hi,
I am currently trying to implement the VHDL-2008 construct Generic Package. For this I have a generic type, which I want to initalize with a default record. Does anyone know if an if so how this is possible?
I would like the colored part of the code to be similar even though it obviously does not work exactly like this.
Code:
Thanks a lot!
I am currently trying to implement the VHDL-2008 construct Generic Package. For this I have a generic type, which I want to initalize with a default record. Does anyone know if an if so how this is possible?
I would like the colored part of the code to be similar even though it obviously does not work exactly like this.
Code:
Code:
package GenericPkg is
generic (
type myType [COLOR="#0000CD"]is record
myValue : integer ;
end record [/COLOR];
) ;
...
end GenericPkg ;
Thanks a lot!