wtr
Full Member level 5
- Joined
- May 1, 2014
- Messages
- 299
- Helped
- 29
- Reputation
- 58
- Reaction score
- 25
- Trophy points
- 1,308
- Activity points
- 4,108
Currently in the process of writing psuedo code
Would the following work?
Would byte_size give me a multi - array or would it generate lots of bytes concatenated together? or would it just not work?
Regards,
Wes
P.S where is the tag option to help people get hits of this question?
Would the following work?
Code:
TYPE nibble IS ARRAY(3 DOWNTO 0) OF STD_LOGIC;
TYPE byte IS ARRAY(7 DOWNTO 0) OF STD_LOGIC;
TYPE byte_size IS RANGE (1 TO 1E15) OF byte
UNITS
B;
KB = 1024 B;
MB = 1024 KB;
GB = 1024 MB;
TB = 1024 GB;
END UNITS;
Would byte_size give me a multi - array or would it generate lots of bytes concatenated together? or would it just not work?
Regards,
Wes
P.S where is the tag option to help people get hits of this question?