start setting DSISR bits but commented out
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 7 May 2021 17:53:29 +0000 (18:53 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 7 May 2021 17:53:29 +0000 (18:53 +0100)
src/soc/fu/ldst/loadstore.py

index a2ad7a9aebbb32665ff06feae1a4b08b245bb94f..ff13ec37f92022c5a3faa7171d923a486142a4ed 100644 (file)
@@ -132,10 +132,12 @@ class LoadStore1(PortInterfaceBase):
         with m.If(d_out.error):
             with m.If(d_out.cache_paradox):
                 comb += self.derror.eq(1)
-                #  dsisr(63 - 38) := not r2.req.load;
+                """
+                sync += self.dsisr[63 - 38].eq(~r2.req.load)
                 #    -- XXX there is no architected bit for this
                 #    -- (probably should be a machine check in fact)
-                #    dsisr(63 - 35) := d_in.cache_paradox;
+                sync += self.dsisr[63 - 35].eq(d_in.cache_paradox)
+                """
             with m.Else():
                 # Look up the translation for TLB miss
                 # and also for permission error and RC error