From: Tobias Platen Date: Wed, 17 Nov 2021 17:53:54 +0000 (+0100) Subject: fixed busy waiting in pi_st X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4cb437e3fe727061779eec2bf4a9916fd1ad0a96;p=soc.git fixed busy waiting in pi_st --- 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