mirror of
https://github.com/m-labs/artiq.git
synced 2025-01-12 20:08:54 +08:00
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
Block a user