forked from M-Labs/artiq
test/dsp: fix rtio_output
This commit is contained in:
parent
e509ab8553
commit
1f7858b80b
@ -14,8 +14,10 @@ class RTIOManager:
|
||||
def __init__(self):
|
||||
self.outputs = []
|
||||
|
||||
def rtio_output(self, now, channel, addr, data):
|
||||
self.outputs.append((now, channel, addr, data))
|
||||
def rtio_output(self, target, data):
|
||||
channel = target >> 8
|
||||
addr = target & 0xff
|
||||
self.outputs.append((now_mu(), channel, addr, data))
|
||||
|
||||
def rtio_output_wide(self, *args, **kwargs):
|
||||
self.rtio_output(*args, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user