From cff94d54f703eb6c911ecfda467eea70eac1b4af Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Tue, 28 Jul 2020 12:18:00 +0200 Subject: [PATCH] Fix regression in #14a2154 --- gram/core/refresher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2