icache.py fix test stbs_done signal, not stbs_zero temp signal
authorCole Poirier <colepoirier@gmail.com>
Tue, 29 Sep 2020 18:00:28 +0000 (11:00 -0700)
committerCole Poirier <colepoirier@gmail.com>
Tue, 29 Sep 2020 18:00:28 +0000 (11:00 -0700)
src/soc/experiment/icache.py

index efb06c9d4da7d499ab8dfb0e8f3aa810c3b1b866..905f3811b4007f982f31e0536f03fa0d62e861f3 100644 (file)
@@ -1255,7 +1255,7 @@ class ICache(Elaboratable):
 #              if wishbone_in.stall = '0' and not stbs_done then
                 # If we are still sending requests,
                 # was one accepted?
-                with m.If(~wb_in.stall & stbs_zero):
+                with m.If(~wb_in.stall & stbs_done):
 #              -- That was the last word ? We are done sending.
 #                   -- Clear stb and set stbs_done so we can handle
 #                   -- an eventual last ack on the same cycle.