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
|
yield
|
||||||
while ((yield from dut.enable.read())):
|
while ((yield from dut.enable.read())):
|
||||||
yield
|
yield
|
||||||
error = yield from dut.cri_master.underflow.read()
|
error = yield from dut.cri_master.error.read()
|
||||||
if error & 1:
|
if error & 1:
|
||||||
raise RTIOUnderflow
|
raise RTIOUnderflow
|
||||||
if error & 2:
|
if error & 2:
|
||||||
|
|
Loading…
Reference in New Issue