prim: Fix single-clock TDP RAM inference

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2026-03-01 20:43:13 -08:00
parent 32b073ade9
commit 499a70982f

View File

@@ -74,7 +74,9 @@ always_ff @(posedge clk) begin
a_rd_data_reg <= mem[a_addr];
end
end
end
always_ff @(posedge clk) begin
if (b_en) begin
if (b_wr_en) begin
if (STRB_EN) begin