This commit is contained in:
bbracker 2021-07-19 13:21:04 -04:00
commit 1b0b9d0f79

View File

@ -15,7 +15,7 @@ module sram1rw #(parameter DEPTH=128, WIDTH=256) (
always_ff @(posedge clk) begin
ReadData <= StoredData[Addr];
if (WriteEnable) begin
StoredData[Addr] <= WriteData;
StoredData[Addr] <= #1 WriteData;
end
end
endmodule