I've created memory block using ip catalog that keep the data received from FFT in vivado, and now i want to access the data. I know that i need to increase the address but I'm not sure exactly how i am suppose to do it. Could you please recommend me something?
Here's my code memory block with address incrementation:
COMPONENT fft_mem_1024_32bit
PORT (
clka : IN STD_LOGIC;
ena : IN STD_LOGIC;
wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0);
addra : IN STD_LOGIC_VECTOR(9 DOWNTO 0);
dina : IN STD_LOGIC_VECTOR(31 DOWNTO 0);
douta : OUT STD_LOGIC_VECTOR(31 DOWNTO 0)
);
END COMPONENT;
Memory_fft_mem32_1: fft_mem_1024_32bit
PORT MAP (
clka => dclk_in,
ena => '1',
wea => FFT_MEM_VALID_1,
addra => adres_RAM_1,
dina => FFT_MEM_1,
douta => MEM_DATA_OUT_1
);
Adresowanie_Pamieci_1: process(dclk_in)
begin
if(dclk_in'event and dclk_in = '1') then
if(FFT_MEM_VALID_1 = "1") then
adres_RAM_1 <= std_logic_vector(unsigned(adres_RAM_1) + 1);
if (adres_RAM_1 > X"3FF") then
adres_RAM_1 <= "0000000000";
end if;
end if;
end if;
end process;
Question
donwazonesko
Hello!
I've created memory block using ip catalog that keep the data received from FFT in vivado, and now i want to access the data. I know that i need to increase the address but I'm not sure exactly how i am suppose to do it. Could you please recommend me something?
Here's my code memory block with address incrementation:
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.