From: Jean THOMAS Date: Tue, 28 Jul 2020 10:18:00 +0000 (+0200) Subject: Fix regression in #14a2154 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cff94d54f703eb6c911ecfda467eea70eac1b4af;p=gram.git Fix regression in #14a2154 --- diff --git a/gram/core/refresher.py b/gram/core/refresher.py index 80cb659..18e4979 100644 --- a/gram/core/refresher.py +++ b/gram/core/refresher.py @@ -374,7 +374,7 @@ class Refresher(Elaboratable): m.next = "Idle" else: with m.State("Do-Refresh"): - m.d.comb += self.cmd.valid.eq(~wants_zqcs) + m.d.comb += self.cmd.valid.eq(wants_zqcs & ~sequencer.done) with m.If(sequencer.done): with m.If(wants_zqcs): m.d.comb += zqcs_executer.start.eq(1)