phy/s7ddrphy: make pads.dm optional (some boards have dm forced to ground).

This commit is contained in:
Florent Kermarrec 2020-11-12 19:15:49 +01:00
parent 431e563a39
commit 1117068595
1 changed files with 39 additions and 38 deletions

View File

@ -271,6 +271,7 @@ class S7DDRPHY(Module, AutoCSR):
)
# DM ---------------------------------------------------------------------------------------
if hasattr(pads, "dm"):
for i in range(databits//8):
dm_o_nodelay = Signal()
dm_o_bitslip = BitSlip(8,