forked from M-Labs/artiq
1
0
Fork 0

gtp_7series: fix nchannels assert

This commit is contained in:
Sebastien Bourdeauducq 2018-01-23 01:28:01 +08:00
parent aa62e91487
commit 401e57d41c
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ class GTP(Module, TransceiverInterface):
def __init__(self, qpll_channel, data_pads, sys_clk_freq, rtio_clk_freq, master=0):
self.nchannels = nchannels = len(data_pads)
self.gtps = []
if nchannels >= 1:
if nchannels > 1:
raise NotImplementedError
# # #