From 4cb437e3fe727061779eec2bf4a9916fd1ad0a96 Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Wed, 17 Nov 2021 18:53:54 +0100 Subject: [PATCH] fixed busy waiting in pi_st --- src/soc/config/test/test_pi2ls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/config/test/test_pi2ls.py b/src/soc/config/test/test_pi2ls.py index c8a4b39a..1b46b59d 100644 --- 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 -- 2.30.2