projects
/
soc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
debugging termination / OP_ATTN
[soc.git]
/
src
/
soc
/
simple
/
test
/
test_core.py
diff --git
a/src/soc/simple/test/test_core.py
b/src/soc/simple/test/test_core.py
index 578fa0ee37be55e038d4d5e16f53b2dce44f627e..6e2ab94c8f100baed038fd39bfedc6779aac0daa 100644
(file)
--- a/
src/soc/simple/test/test_core.py
+++ b/
src/soc/simple/test/test_core.py
@@
-132,7
+132,9
@@
def check_regs(dut, sim, core, test, code):
def wait_for_busy_hi(cu):
while True:
busy_o = yield cu.busy_o
- if busy_o:
+ terminated_o = yield cu.core_terminated_o
+ if busy_o or terminated_o:
+ print("busy/terminated:", busy_o, terminated_o)
break
print("!busy",)
yield