From 9ff9e82d258b63b125eefa4e5ae13d6158db855c Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 16 Apr 2020 15:32:12 +0200 Subject: [PATCH] phy/usddrphy: move pads.ten control to control block. --- litedram/phy/usddrphy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litedram/phy/usddrphy.py b/litedram/phy/usddrphy.py index 46b280c..0f303fc 100644 --- a/litedram/phy/usddrphy.py +++ b/litedram/phy/usddrphy.py @@ -36,9 +36,6 @@ class USDDRPHY(Module, AutoCSR): nphases = 4 assert databits%8 == 0 - if hasattr(pads, "ten"): - self.comb += pads.ten.eq(0) - # Parameters ------------------------------------------------------------------------------- if phytype == "USDDRPHY": assert iodelay_clk_freq >= 200e6 if phytype == "USPDDRPHY": assert iodelay_clk_freq >= 300e6 @@ -272,6 +269,9 @@ class USDDRPHY(Module, AutoCSR): ) ] + if hasattr(pads, "ten"): + self.comb += pads.ten.eq(0) + # DQS and DM ------------------------------------------------------------------------------- oe_dqs = Signal() dqs_preamble = Signal()