Altera_Forum
Honored Contributor
8 years agoNo Fmax for memory
I tried to synthesise following code (straight from Altera manual for inferring RAM) to gauge the M20K performance.
It compiles fine and I see from the .pin reports that all the inputs/outputs are assigned to pins but there is no Fmax reported in the .sta. So what am I missing this time? thanks, Kusti
module top_level(
output reg q,
input d,
input write_address, read_address, input we, clk
);
reg mem ;
always @ (posedge clk) begin
if (we)
mem <= d;
q <= mem; // q doesn't get d in this clock cycle
end
endmodule