mirror of https://github.com/m-labs/artiq.git
drtio: remove obsolete CSR accesses from test
This commit is contained in:
parent
b74d6fb9ba
commit
ea3af1e20e
|
@ -123,10 +123,8 @@ class TestFullStack(unittest.TestCase):
|
||||||
while status:
|
while status:
|
||||||
status = yield from kcsrs.o_status.read()
|
status = yield from kcsrs.o_status.read()
|
||||||
if status & 2:
|
if status & 2:
|
||||||
yield from kcsrs.o_underflow_reset.write(1)
|
|
||||||
raise RTIOUnderflow
|
raise RTIOUnderflow
|
||||||
if status & 4:
|
if status & 4:
|
||||||
yield from kcsrs.o_sequence_error_reset.write(1)
|
|
||||||
raise RTIOSequenceError
|
raise RTIOSequenceError
|
||||||
yield
|
yield
|
||||||
wlen += 1
|
wlen += 1
|
||||||
|
|
Loading…
Reference in New Issue