mirror of
https://github.com/garrettsworkshop/Warp-SE.git
synced 2024-11-22 08:32:09 +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 */
|
/* Refresh command generation */
|
||||||
reg RefDone; // Refresh done "remember"
|
reg RefDone; // Refresh done "remember"
|
||||||
always @(posedge CLK) begin
|
always @(posedge CLK) begin
|
||||||
if (!RefReqIn && !RefUrgIn) RefDone <= 0;
|
if (!RefReqIn) RefDone <= 0;
|
||||||
else if (RS[2]) RefDone <= 1;
|
else if (RS[2]) RefDone <= 1;
|
||||||
end
|
end
|
||||||
wire RefReq = RefReqIn && !RefDone;
|
wire RefReq = RefReqIn && !RefDone;
|
||||||
|
Loading…
Reference in New Issue
Block a user