From 1331281e5c54f5edda28dad261cd6a142fb1dade Mon Sep 17 00:00:00 2001 From: morgan Date: Tue, 27 Aug 2024 10:54:38 +0800 Subject: [PATCH] cxp: add upconn pads --- 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 053c169..56837ad 100644 --- a/src/gateware/cxp.py +++ b/src/gateware/cxp.py @@ -6,15 +6,15 @@ from cxp_downconn import CXP_DownConn from cxp_upconn import CXP_UpConn class CXP(Module, AutoCSR): - def __init__(self, refclk, pads, sys_clk_freq, debug_sma, pmod_pads): + def __init__(self, refclk, downconn_pads, upconn_pads, sys_clk_freq, debug_sma, pmod_pads): self.submodules.crc = CXP_CRC(8) # FIFOs with transmission priority # 0: Trigger packet # 1: IO acknowledgment for trigger packet # 2: All other packets - self.submodules.upconn = CXP_UpConn(debug_sma, sys_clk_freq, pmod_pads) + self.submodules.upconn = CXP_UpConn(upconn_pads, sys_clk_freq, debug_sma, pmod_pads) - self.submodules.downconn = CXP_DownConn(refclk, pads, sys_clk_freq, debug_sma, pmod_pads) + self.submodules.downconn = CXP_DownConn(refclk, downconn_pads, sys_clk_freq, debug_sma, pmod_pads) class CXP_CRC(Module, AutoCSR):