F
Fredxx
Guest
Example
type word_type is array (0 to 1) of std_logic_vector(7 downto 0);
constant height : word_type := (x"04", x"05");
and I would like to place this constant in
type Con_Array_type is array (0 to size - 1) of std_logic_vector(7 downto
0);
constant Con_Array : Con_Array_type := (
x"00", x"01",
x"02", x"03",
height[1], height[0],
x"06", x"07"
);
Is this possible? If so where am I going wrong?
type word_type is array (0 to 1) of std_logic_vector(7 downto 0);
constant height : word_type := (x"04", x"05");
and I would like to place this constant in
type Con_Array_type is array (0 to size - 1) of std_logic_vector(7 downto
0);
constant Con_Array : Con_Array_type := (
x"00", x"01",
x"02", x"03",
height[1], height[0],
x"06", x"07"
);
Is this possible? If so where am I going wrong?