From 8c414cebc781c6776b66819ab48598d33a21c689 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 3 Apr 2017 00:11:08 +0800 Subject: [PATCH] drtio: report busy errors --- artiq/gateware/drtio/rt_ios_satellite.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/gateware/drtio/rt_ios_satellite.py b/artiq/gateware/drtio/rt_ios_satellite.py index 79cd0b72b..74e7cb80c 100644 --- a/artiq/gateware/drtio/rt_ios_satellite.py +++ b/artiq/gateware/drtio/rt_ios_satellite.py @@ -112,6 +112,8 @@ class IOS(Module): if fine_ts_width: self.sync.rio += interface.fine_ts.eq(fifo_out.timestamp[:fine_ts_width]) + self.sync.rio += If(interface.stb & interface.busy, self.busy.eq(1)) + def add_input(self, n, channel): rt_packet = self.rt_packet