diff --git a/src/gateware/zc706.py b/src/gateware/zc706.py index 5bb1af9..d933113 100755 --- a/src/gateware/zc706.py +++ b/src/gateware/zc706.py @@ -683,6 +683,7 @@ class CXP_FMC(): platform.add_extension(debug_sma) platform.add_extension(pmod1_33) + debug_sma_pad = platform.request("user_sma_clock_33") pmod_pads = [platform.request("pmod1_33", i) for i in range(8)] clk_freq = 125e6 @@ -697,7 +698,7 @@ class CXP_FMC(): upconn_pads=cxp_upconn_pads, downconn_pads=cxp_downconn_pads, sys_clk_freq=clk_freq, - debug_sma=platform.request("user_sma_clock_33"), + debug_sma=debug_sma_pad, pmod_pads = pmod_pads ) self.csr_devices.append("cxp_phys") @@ -712,7 +713,7 @@ class CXP_FMC(): # TODO: cdr = ClockDomainsRenamer({"cxp_gtx_rx": "cxp_gtx_rx" + str(i)}) - cxp_interface = cxp.CXP_Interface(tx, rx, debug_sma, pmod_pads) + cxp_interface = cxp.CXP_Interface(tx, rx, debug_sma_pad, pmod_pads) setattr(self.submodules, cxp_name, cxp_interface ) self.csr_devices.append(cxp_name) cxp_csr_group.append(cxp_name)