comment tidyup
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 11 May 2021 10:07:55 +0000 (11:07 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 11 May 2021 10:07:55 +0000 (11:07 +0100)
src/soc/fu/ldst/loadstore.py

index ab217bd0c0ddbbad495f86364d1d3cc2cf250daf..b2713639e1a15f841c869a7c629d6e72c40197fa 100644 (file)
@@ -212,7 +212,7 @@ class LoadStore1(PortInterfaceBase):
                         m.d.comb += self.d_validblip.eq(1) # re-run dcache req
                         sync += self.state.eq(State.ACK_WAIT)
                     with m.Else():
-                        # instruction lookup fault:
+                        # instruction lookup fault: store address in DAR
                         comb += exc.happened.eq(1)
                         sync += self.dar.eq(self.addr)
 
@@ -228,6 +228,7 @@ class LoadStore1(PortInterfaceBase):
             with m.Case(State.TLBIE_WAIT):
                 pass
 
+        # alignment error: store address in DAR
         with m.If(self.align_intr):
             comb += exc.happened.eq(1)
             sync += self.dar.eq(self.addr)