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 agoYou shouldn't create a 2d array like this if you want to infer altera ram. You need to make a 1d array and then concatenate the 4bit row and column addresses to make a single 8 bit address.