Altera_Forum
Honored Contributor
18 years agohow to use cyclone's on-chip-memory?
In my design, I need a 4 ports RAM. The input/output ports are below:
module ram(data1,waddress1,data2,waddress2,wena,clk,raddress1,raddress2,rena,q1,q2); input clk,wena,rena; input [width-1:0] data1,data2; input [addr:0] waddress1,waddress2; input [addr:0] raddress1,raddress2; output [width-1:0] q1,q2; ... endmodule I found the 4 ports RAM isn't available in MegaWizard Plug-in of Quartus II. So I have to code it in my project. The question is the ram which I coded didn't use the on-chip-memory. How to use the on-chip-memory with my codes?