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

drtio: remove obsolete CSR accesses from test

This commit is contained in:
Sebastien Bourdeauducq 2017-03-27 16:44:22 +08:00
parent b74d6fb9ba
commit ea3af1e20e

View File

@ -123,10 +123,8 @@ class TestFullStack(unittest.TestCase):
while status:
status = yield from kcsrs.o_status.read()
if status & 2:
yield from kcsrs.o_underflow_reset.write(1)
raise RTIOUnderflow
if status & 4:
yield from kcsrs.o_sequence_error_reset.write(1)
raise RTIOSequenceError
yield
wlen += 1