whoops, indentation issue on m.If/m.Else in dcache.py
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 10 May 2021 23:25:53 +0000 (00:25 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 10 May 2021 23:25:53 +0000 (00:25 +0100)
src/soc/experiment/dcache.py

index 65ed346522879573a00ebfb7096a0d9bb325f07a..c32ff783aa8873bb4208079962ac837a4437e9eb 100644 (file)
@@ -1190,10 +1190,10 @@ class DCache(Elaboratable):
             sync += r1.mmu_error.eq(r0.mmu_req)
             sync += r1.cache_paradox.eq(access_ok)
 
-            with m.Else():
-                sync += r1.ls_error.eq(0)
-                sync += r1.mmu_error.eq(0)
-                sync += r1.cache_paradox.eq(0)
+        with m.Else():
+            sync += r1.ls_error.eq(0)
+            sync += r1.mmu_error.eq(0)
+            sync += r1.cache_paradox.eq(0)
 
         with m.If(req_op == Op.OP_STCX_FAIL):
             sync += r1.stcx_fail.eq(1)