forked from M-Labs/artiq
1
0
Fork 0

drtio: report busy errors

This commit is contained in:
Sebastien Bourdeauducq 2017-04-03 00:11:08 +08:00
parent 008678b741
commit 8c414cebc7
1 changed files with 2 additions and 0 deletions

View File

@ -112,6 +112,8 @@ class IOS(Module):
if fine_ts_width: if fine_ts_width:
self.sync.rio += interface.fine_ts.eq(fifo_out.timestamp[: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): def add_input(self, n, channel):
rt_packet = self.rt_packet rt_packet = self.rt_packet