forked from M-Labs/artiq-zynq
cxp GW: fix compile err
This commit is contained in:
parent
423b3dbc8d
commit
8ec0ca5500
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user