forked from M-Labs/artiq
gtp_7series: fix nchannels assert
This commit is contained in:
parent
aa62e91487
commit
401e57d41c
|
@ -218,7 +218,7 @@ class GTP(Module, TransceiverInterface):
|
||||||
def __init__(self, qpll_channel, data_pads, sys_clk_freq, rtio_clk_freq, master=0):
|
def __init__(self, qpll_channel, data_pads, sys_clk_freq, rtio_clk_freq, master=0):
|
||||||
self.nchannels = nchannels = len(data_pads)
|
self.nchannels = nchannels = len(data_pads)
|
||||||
self.gtps = []
|
self.gtps = []
|
||||||
if nchannels >= 1:
|
if nchannels > 1:
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
# # #
|
# # #
|
||||||
|
|
Loading…
Reference in New Issue