Forum Discussion
KhaiChein_Y_Intel
Regular Contributor
5 years agoHi,
You may use the template in Quartus to infer the RAM. You can open Insert Template Dialog Box by clicking Insert Template on the Edit menu with a file open in the Quartus® Prime Text Editor.
Thanks
Best regards,
KhaiY
Nupoor
New Contributor
5 years ago
dat_process: process(clk,addr,i,j,test)
begin
if rising_edge(clk) then
if j = 9 and addr = "1001" then
addr <= "0000";
j <= 0;
i <= 0;
else
M(to_integer(unsigned(addr_array)),j) <= test(i);
addr_array <= addr_array + 1;
i <= i + 1;
if addr_array = "111" and i = 7 then
j <= j + 1;
addr <= addr + 1;
addr_array <= "000";
end if;
end if;
end if;
end process dat_process;
end Behavioral;
I am using the above logic but it runs ok for the 0th column of the array but the rest column value up to 9 is showing undefined.
- Nupoor5 years ago
New Contributor
M using Xilinx ISE.