mirror of
https://github.com/garrettsworkshop/Warp-SE.git
synced 2024-11-21 17:31:47 +00:00
RAM RefDone reset by RefReqIn only. No longer depends on RefUrg too
This commit is contained in:
parent
14ef33904f
commit
48633d0847
@ -27,7 +27,7 @@ module RAM(
|
||||
/* Refresh command generation */
|
||||
reg RefDone; // Refresh done "remember"
|
||||
always @(posedge CLK) begin
|
||||
if (!RefReqIn && !RefUrgIn) RefDone <= 0;
|
||||
if (!RefReqIn) RefDone <= 0;
|
||||
else if (RS[2]) RefDone <= 1;
|
||||
end
|
||||
wire RefReq = RefReqIn && !RefDone;
|
||||
|
Loading…
Reference in New Issue
Block a user