From 8ec0ca5500504a45d10eb95c0366235a111a7de6 Mon Sep 17 00:00:00 2001 From: morgan Date: Thu, 16 Jan 2025 11:14:24 +0800 Subject: [PATCH] cxp GW: fix compile err --- src/gateware/cxp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gateware/cxp.py b/src/gateware/cxp.py index 0058e4e..266ef9a 100644 --- a/src/gateware/cxp.py +++ b/src/gateware/cxp.py @@ -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):