Revert "Try shortening refresh"

This reverts commit 335232eae2.
This commit is contained in:
Zane Kaminski 2023-04-17 02:31:33 -04:00
parent 335232eae2
commit 83656e587a
1 changed files with 7 additions and 1 deletions

View File

@ -120,6 +120,12 @@ module RAM(
RAMReady <= 1; RAMReady <= 1;
end end
end 4: begin // Refresh RAS II end 4: begin // Refresh RAS II
RS <= 5;
RASEL <= 0;
RASrr <= 1;
RASEN <= 0;
RAMReady <= 0;
end 5: begin // Refresh precharge I
RS <= 6; RS <= 6;
RASEL <= 0; RASEL <= 0;
RASrr <= 0; RASrr <= 0;
@ -141,7 +147,7 @@ module RAM(
endcase endcase
end end
always @(negedge CLK) begin always @(negedge CLK) begin
RASrf <= RS==1 || RS==4; RASrf <= RS==1;
case (RS[2:0]) case (RS[2:0])
0: nCAS <= !RS0toRef; 0: nCAS <= !RS0toRef;
1: nCAS <= 0; 1: nCAS <= 0;