From: Jean THOMAS Date: Thu, 2 Jul 2020 12:17:44 +0000 (+0200) Subject: Make RefreshPostponer more similar to LiteDRAM's X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be592afa4b7fcf4391ac7683ce3cb1f8a49080fb;p=gram.git Make RefreshPostponer more similar to LiteDRAM's --- diff --git a/gram/core/refresher.py b/gram/core/refresher.py index 78f79b5..a961aea 100644 --- a/gram/core/refresher.py +++ b/gram/core/refresher.py @@ -193,6 +193,8 @@ class RefreshPostponer(Elaboratable): count.eq(count-1), self.req_o.eq(0), ] + with m.Else(): + m.d.sync += self.req_o.eq(0) return m