From 8db4edb016cac1303f93b6f024a3ab2bbb3311eb Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Mon, 29 Jun 2020 14:35:45 +0200 Subject: [PATCH] Fix DQSBUFM floating DYNDELAY --- gram/phy/ecp5ddrphy.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gram/phy/ecp5ddrphy.py b/gram/phy/ecp5ddrphy.py index 3611a5e..a1e66c3 100644 --- a/gram/phy/ecp5ddrphy.py +++ b/gram/phy/ecp5ddrphy.py @@ -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"), -- 2.30.2