S
Shannon
Gosh, it didn't take long for me to need help again! I promise this
is my last question for awhile.
I have four books on VHDL and Google didn't help.
How do I specify a bit position in an array of std_logic_vectors?
TYPE arraytype IS ARRAY (0 TO 8) OF STD_LOGIC_VECTOR(7 DOWNTO 0);
SIGNAL foo : std_logic;
SIGNAL big_array : arraytype;
....
foo <= big_array(5,2); -- yes I know this is wrong. What is the
syntax to pick bit #2 of big_array(5)?
Thanks again!
Shannon
is my last question for awhile.
I have four books on VHDL and Google didn't help.
How do I specify a bit position in an array of std_logic_vectors?
TYPE arraytype IS ARRAY (0 TO 8) OF STD_LOGIC_VECTOR(7 DOWNTO 0);
SIGNAL foo : std_logic;
SIGNAL big_array : arraytype;
....
foo <= big_array(5,2); -- yes I know this is wrong. What is the
syntax to pick bit #2 of big_array(5)?
Thanks again!
Shannon