Fix DQSBUFM floating DYNDELAY
authorJean THOMAS <git0@pub.jeanthomas.me>
Mon, 29 Jun 2020 12:35:45 +0000 (14:35 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Mon, 29 Jun 2020 12:35:45 +0000 (14:35 +0200)
gram/phy/ecp5ddrphy.py

index 3611a5e29b5e9f6efcd45dffdf9b91b692361fe3..a1e66c304f89ad6eff152b0d66cbb004f19dc2d2 100644 (file)
@@ -88,7 +88,7 @@ class ECP5DDRPHYInit(Elaboratable):
 
 class ECP5DDRPHY(Peripheral, Elaboratable):
     def __init__(self, pads, sys_clk_freq=100e6):
-        super().__init__()
+        super().__init__(name="phy")
 
         #self.pads = PHYPadsCombiner(pads)
         self.pads = pads
@@ -273,6 +273,17 @@ class ECP5DDRPHY(Peripheral, Elaboratable):
                                      p_DQS_LI_DEL_VAL=1,
                                      p_DQS_LO_DEL_ADJ="MINUS",
                                      p_DQS_LO_DEL_VAL=4,
+
+                                     # Delay
+                                     i_DYNDELAY0=0,
+                                     i_DYNDELAY1=0,
+                                     i_DYNDELAY2=0,
+                                     i_DYNDELAY3=0,
+                                     i_DYNDELAY4=0,
+                                     i_DYNDELAY5=0,
+                                     i_DYNDELAY6=0,
+                                     i_DYNDELAY7=0,
+
                                      # Clocks / Reset
                                      i_SCLK=ClockSignal("sync"),
                                      i_ECLK=ClockSignal("sync2x"),