projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddc7422
)
wait_ldok: add debug output count
author
Tobias Platen
<tplaten@posteo.de>
Tue, 25 May 2021 17:22:46 +0000
(19:22 +0200)
committer
Tobias Platen
<tplaten@posteo.de>
Tue, 25 May 2021 17:22:46 +0000
(19:22 +0200)
src/soc/config/test/test_pi2ls.py
patch
|
blob
|
history
diff --git
a/src/soc/config/test/test_pi2ls.py
b/src/soc/config/test/test_pi2ls.py
index bb363a382d65e18e112b62123b1d5f8b6bb38e35..eb20177c2117e43ff1355be96877950d0b712bdb 100644
(file)
--- a/
src/soc/config/test/test_pi2ls.py
+++ b/
src/soc/config/test/test_pi2ls.py
@@
-27,10
+27,12
@@
def wait_addr(port):
def wait_ldok(port):
+ cnt = 0
while True:
ldok = yield port.ld.ok
exc_happened = yield port.exc_o.happened
- print("ldok", ldok, "exception", exc_happened)
+ print("ldok", ldok, "exception", exc_happened, "count", cnt)
+ cnt += 1
if ldok or exc_happened:
break
yield