From 6a758372610ff8b01003ebfab3f9519d94cde747 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 3 Nov 2016 20:15:04 +0800 Subject: [PATCH] drtio: fix link_layer remote RX ready detection --- artiq/gateware/drtio/link_layer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/gateware/drtio/link_layer.py b/artiq/gateware/drtio/link_layer.py index a34e4dcad..0a1cca493 100644 --- a/artiq/gateware/drtio/link_layer.py +++ b/artiq/gateware/drtio/link_layer.py @@ -202,7 +202,7 @@ class LinkLayerRX(Module): ).Elif(decoders[0].d != K(28, 7), self.remote_rx_ready.eq(0) ), - If(decoders[0].d == K(30, 7), + If(decoders[1].d == K(30, 7), self.remote_rx_ready.eq(1) ) if len(decoders) > 1 else None ).Else(