1
0
Fork 0

zc706: fix debug sma pad

This commit is contained in:
morgan 2024-10-03 10:48:18 +08:00
parent dd36c01c13
commit 6e7bc912c9
1 changed files with 3 additions and 2 deletions

View File

@ -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)