phy/ecp5ddrphy: fix regression after DQS/DM changes.

This commit is contained in:
Florent Kermarrec 2020-09-30 09:11:24 +02:00
parent c17bf3f5a1
commit db8eaff086
1 changed files with 6 additions and 6 deletions

View File

@ -208,7 +208,11 @@ class ECP5DDRPHY(Module, AutoCSR):
) )
# DQS/DM/DQ -------------------------------------------------------------------------------- # DQS/DM/DQ --------------------------------------------------------------------------------
dq_oe = Signal()
dqs_re = Signal() dqs_re = Signal()
dqs_oe = Signal()
dqs_postamble = Signal()
dqs_preamble = Signal()
for i in range(databits//8): for i in range(databits//8):
# DQSBUFM # DQSBUFM
dqs_i = Signal() dqs_i = Signal()
@ -274,10 +278,7 @@ class ECP5DDRPHY(Module, AutoCSR):
# DQS ---------------------------------------------------------------------------------- # DQS ----------------------------------------------------------------------------------
dqs = Signal() dqs = Signal()
dqs_oe = Signal()
dqs_oe_n = Signal() dqs_oe_n = Signal()
dqs_postamble = Signal()
dqs_preamble = Signal()
self.specials += [ self.specials += [
Instance("ODDRX2DQSB", Instance("ODDRX2DQSB",
i_RST = ResetSignal("sys"), i_RST = ResetSignal("sys"),
@ -335,7 +336,6 @@ class ECP5DDRPHY(Module, AutoCSR):
) )
# DQ ----------------------------------------------------------------------------------- # DQ -----------------------------------------------------------------------------------
dq_oe = Signal()
for j in range(8*i, 8*(i+1)): for j in range(8*i, 8*(i+1)):
dq_o = Signal() dq_o = Signal()
dq_i = Signal() dq_i = Signal()