phy/usddrphy: move pads.ten control to control block.

This commit is contained in:
Florent Kermarrec 2020-04-16 15:32:12 +02:00
parent 91a9a2aeb1
commit 9ff9e82d25
1 changed files with 3 additions and 3 deletions

View File

@ -36,9 +36,6 @@ class USDDRPHY(Module, AutoCSR):
nphases = 4 nphases = 4
assert databits%8 == 0 assert databits%8 == 0
if hasattr(pads, "ten"):
self.comb += pads.ten.eq(0)
# Parameters ------------------------------------------------------------------------------- # Parameters -------------------------------------------------------------------------------
if phytype == "USDDRPHY": assert iodelay_clk_freq >= 200e6 if phytype == "USDDRPHY": assert iodelay_clk_freq >= 200e6
if phytype == "USPDDRPHY": assert iodelay_clk_freq >= 300e6 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 ------------------------------------------------------------------------------- # DQS and DM -------------------------------------------------------------------------------
oe_dqs = Signal() oe_dqs = Signal()
dqs_preamble = Signal() dqs_preamble = Signal()