forked from M-Labs/artiq
test: fix test_dma
This commit is contained in:
parent
928d5dc9b3
commit
d747d74cb3
|
@ -57,7 +57,7 @@ def do_dma(dut, address):
|
|||
yield
|
||||
while ((yield from dut.enable.read())):
|
||||
yield
|
||||
error = yield from dut.cri_master.underflow.read()
|
||||
error = yield from dut.cri_master.error.read()
|
||||
if error & 1:
|
||||
raise RTIOUnderflow
|
||||
if error & 2:
|
||||
|
|
Loading…
Reference in New Issue