From a23b9e787750f01fdbe4902139001b0ba9bd3fe5 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 30 Aug 2019 08:55:38 +0200 Subject: [PATCH] core/refresher: set cmd.valid to 0 when sequencer done --- litedram/core/refresher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litedram/core/refresher.py b/litedram/core/refresher.py index 7f7cb05..c360ec8 100644 --- a/litedram/core/refresher.py +++ b/litedram/core/refresher.py @@ -191,6 +191,7 @@ class Refresher(Module): # Wait Sequencer and advertise Controller when done cmd.valid.eq(1), If(sequencer.done, + cmd.valid.eq(0), cmd.last.eq(1), NextState("IDLE") )