hari10
Newbie level 4
hi..i want to use fpga memory .......is there any command for doing this..if yes plz tell me........because i dont want to use register array in my program....
thnx in advance.......
thnx in advance.......
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Code VHDL - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 -- Block SelectRAM Instantiation U_RAMB16_S36: RAMB16_S36 port map ( DI => DATA_IN (31 downto 0), -- insert 32 bits data-in bus (<31 downto 0>) DIP => DATA_IN (35 downto 32), -- insert 4 bits parity data-in bus (or <35 downto 32>) ADDR => ADDRESS (8 downto 0), -- insert 9 bits address bus EN => ENABLE, -- insert enable signal WE => WRITE_EN, -- insert write enable signal SSR => INV_SET_RESET, -- insert set/reset signal CLK => CLK_BUFG, -- insert clock signal DO => DATA_OUT (31 downto 0), -- insert 32 bits data-out bus (<31 downto 0>) DOP => DATA_OUT (35 downto 32) -- insert 4 bits parity data-out bus (or <35 downto 32>) );
Use the block RAM by instantiating it in the VHDL code:
From https://www.es.ele.tue.nl/mininoc/doc/xapp463.pdf.
Thanks.