S
Salvatore Callea
Guest
Do you Know the way to create a discountinuous
range of integer to use as index for a std_logic_vector
array?
I've tried to make:
type disc_range is (7, 6, 5, 4, 3, 2, 1, 0);
signal s1: std_logic_vector(disc_range);
but the simulator gave me the error:
near "7": expecting: CHAR IDENTIFIER
Thanks in advance: Salvatore
range of integer to use as index for a std_logic_vector
array?
I've tried to make:
type disc_range is (7, 6, 5, 4, 3, 2, 1, 0);
signal s1: std_logic_vector(disc_range);
but the simulator gave me the error:
near "7": expecting: CHAR IDENTIFIER
Thanks in advance: Salvatore