From 401e57d41ce99a7dbed42b755e80c6a50cb5abc0 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 23 Jan 2018 01:28:01 +0800 Subject: [PATCH] gtp_7series: fix nchannels assert --- artiq/gateware/drtio/transceiver/gtp_7series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/gateware/drtio/transceiver/gtp_7series.py b/artiq/gateware/drtio/transceiver/gtp_7series.py index 92db40162..797c256bb 100644 --- a/artiq/gateware/drtio/transceiver/gtp_7series.py +++ b/artiq/gateware/drtio/transceiver/gtp_7series.py @@ -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 # # #