2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

drtio: report busy errors

This commit is contained in:
Sebastien Bourdeauducq 2017-04-03 00:11:08 +08:00
parent 008678b741
commit 8c414cebc7

View File

@ -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