projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0519cc7
)
fixed busy waiting in pi_st
author
Tobias Platen
<tplaten@posteo.de>
Wed, 17 Nov 2021 17:53:54 +0000
(18:53 +0100)
committer
Tobias Platen
<tplaten@posteo.de>
Wed, 17 Nov 2021 17:53:54 +0000
(18:53 +0100)
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 c8a4b39ad4d6122e37a7ae4d1954df1ec27ea41a..1b46b59dbbaf18bf71a5855e4cfa7378fc0cf328 100644
(file)
--- a/
src/soc/config/test/test_pi2ls.py
+++ b/
src/soc/config/test/test_pi2ls.py
@@
-77,7
+77,7
@@
def pi_st(port1, addr, data, datalen, msr_pr=0, is_dcbz=0):
def pi_ld(port1, addr, datalen, msr_pr=0):
# have to wait until not busy
- yield from wait_busy(port1,
no=False) # wait until not
busy
+ yield from wait_busy(port1,
debug="pi_st_A") # wait while
busy
# set up a LD on the port. address first:
yield port1.is_ld_i.eq(1) # indicate LD
@@
-99,7
+99,7
@@
def pi_ld(port1, addr, datalen, msr_pr=0):
if exc_happened:
return 0
- yield from wait_busy(port1,
no=True)
# wait while busy
+ yield from wait_busy(port1,
debug="pi_st_E")
# wait while busy
return data