forked from M-Labs/artiq
drtio: report busy errors
This commit is contained in:
parent
008678b741
commit
8c414cebc7
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue