Fix signal drive error
authorJean THOMAS <git0@pub.jeanthomas.me>
Fri, 5 Jun 2020 08:29:08 +0000 (10:29 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Fri, 5 Jun 2020 08:29:08 +0000 (10:29 +0200)
gram/core/refresher.py

index 0b38f17efc7977475dcb1c91998608bd9a21a9a4..3daa93c6b83f77085c161c5a3aac8fe830aeaec4 100644 (file)
@@ -213,7 +213,7 @@ class ZQCSExecuter(Elaboratable):
         trp = self._trp
         tzqcs = self._tzqcs
 
-        m.d.sync += self.done.eq(0)
+        #m.d.sync += self.done.eq(0)
 
         tl = Timeline([
             # Precharge All
@@ -223,6 +223,7 @@ class ZQCSExecuter(Elaboratable):
                 self.cas.eq(0),
                 self.ras.eq(1),
                 self.we.eq( 1)
+                self.done.eq(0)
             ]),
             # ZQ Short Calibration after tRP
             (trp, [
@@ -231,6 +232,7 @@ class ZQCSExecuter(Elaboratable):
                 self.cas.eq(0),
                 self.ras.eq(0),
                 self.we.eq( 1),
+                self.done.eq(0),
             ]),
             # Done after tRP + tZQCS
             (trp + tzqcs, [