xlynx3
Newbie level 3
![Newbie level 3](/styles/images/ranks/alevel3.gif)
vhdl: records for a bus
i'm trying to use records. But i need a bus of DIGITAL type where all bits of the bus should have the properties of DIGITAL type. How can I write it?
Thanks in advance..
i'm trying to use records. But i need a bus of DIGITAL type where all bits of the bus should have the properties of DIGITAL type. How can I write it?
Thanks in advance..
Code:
type DIGITAL is
record
LEVEL : REAL range -0.6 to 1.8;
LOGIC : STD_ULOGIC;
STATUS : MYSTATUS;
end record;