Forum Discussion
Altera_Forum
Honored Contributor
12 years agoNeed help to implement 2D array ROM in vhdl
Hi, I wanna implement 16x16 array. each entry in that 2D array will be of 8 bit. so I wrote this. TYPE SBOX is array (15 downto 0, 15 downto 0) of std_logic_vector(7 downto 0); // is this...
Altera_Forum
Honored Contributor
12 years agoHi,
But my question is mainly regarding address. Since my array is 2D my address will be like (row,coloumn) type. Once i go to this address then i need to put this value as output. i'm not sure how to access the element of 2D array. Please help me if you have any idea regarding this issue. I tried to search but couldnt find yet. Thanks