dcache: improve debug output
authorTobias Platen <tplaten@posteo.de>
Wed, 14 Jul 2021 18:28:31 +0000 (20:28 +0200)
committerTobias Platen <tplaten@posteo.de>
Wed, 14 Jul 2021 18:28:31 +0000 (20:28 +0200)
src/soc/experiment/dcache.py

index 8c002d28f542ca0c98c6702c2f23f2e2be28a64e..b818347bee37ae62aa6ab1fc5c7d7c4cf8ee3aac 100644 (file)
@@ -1079,7 +1079,10 @@ class DCache(Elaboratable):
 
             # error cases complete without stalling
             with m.If(r1.ls_error):
-                sync += Display("completing ld/st with error")
+                with m.If(r1.dcbz):
+                    sync += Display("completing dcbz with error")
+                with m.Else():
+                    sync += Display("completing ld/st with error")
 
             # Slow ops (load miss, NC, stores)
             with m.If(r1.slow_valid):