How do I get Quartus to infer a dual port RAM? I've tried a couple of coding styles neither worked. I've also tried putting a /* syn_ramstyle = "M4K" */ on the module statement and on the ram declaration, that didn't help either. I've also tried the /* syn_ramstyle = "no_rw_check" */ attribute.
The Quartus manual claims that it can infer a dual port, I'm using version 7.2.
The first is from the Quartus Manual, the second is reg [WIDTH-1:0] a_ram; reg [WIDTH-1:0] b_ram; reg [WIDTH-1:0] ram[DEPTH-1:0] /* syn_ramstyle = "M4K" */;
always@(posedge sysclk) begin if(a_wrt) begin ram[a_addr]