2
0
mirror of https://github.com/m-labs/artiq.git synced 2025-01-31 04:40:20 +08:00

gtxinit: fix attributeerror for rx multilane

This commit is contained in:
morgan 2024-12-04 15:29:44 +08:00 committed by Sébastien Bourdeauducq
parent c1f2ff3717
commit 0f0f030267

View File

@ -59,7 +59,7 @@ class GTXInit(Module):
MultiReg(self.Xxdlysresetdone, Xxdlysresetdone),
MultiReg(self.Xxphaligndone, Xxphaligndone),
]
if mode != "single":
if mode != "single" and not rx:
txphinitdone = Signal()
self.specials += MultiReg(self.txphinitdone, txphinitdone)