cxp GW: fix compile err

This commit is contained in:
morgan 2025-01-16 11:14:24 +08:00
parent 423b3dbc8d
commit 8ec0ca5500

View File

@ -14,11 +14,11 @@ from operator import add
from types import SimpleNamespace
class CXP_PHYS(Module, AutoCSR):
def __init__(self, refclk, upconn_pads, downconn_pads, sys_clk_freq, debug_sma, pmod_pads):
def __init__(self, refclk, upconn_pads, downconn_pads, sys_clk_freq):
assert len(upconn_pads) == len(downconn_pads)
self.submodules.tx = CXP_TXPHYs(upconn_pads, sys_clk_freq, debug_sma, pmod_pads)
self.submodules.rx = CXP_RXPHYs(refclk, downconn_pads, sys_clk_freq, debug_sma, pmod_pads)
self.submodules.tx = CXP_TXPHYs(upconn_pads, sys_clk_freq)
self.submodules.rx = CXP_RXPHYs(refclk, downconn_pads, sys_clk_freq)
self.phys = []
for tx, rx in zip(self.tx.phys, self.rx.phys):