From 48633d0847d62019cddae2c87ba27c8dab306082 Mon Sep 17 00:00:00 2001 From: Zane Kaminski Date: Tue, 8 Oct 2024 22:48:11 -0400 Subject: [PATCH] RAM RefDone reset by RefReqIn only. No longer depends on RefUrg too --- cpld/RAM.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpld/RAM.v b/cpld/RAM.v index cb0d0d6..54bf48c 100644 --- a/cpld/RAM.v +++ b/cpld/RAM.v @@ -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;