forked from M-Labs/artiq-zynq
zc706: fix debug sma pad
This commit is contained in:
parent
dd36c01c13
commit
6e7bc912c9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue