From ec6822091c173dcb6b7f5ce6498a27dbe492feb4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 22 Dec 2021 00:39:30 +0000 Subject: [PATCH] clear instruction fault on idle/valid in Loadstore1 --- src/soc/fu/ldst/loadstore.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/fu/ldst/loadstore.py b/src/soc/fu/ldst/loadstore.py index 080d3320..5ea8969d 100644 --- a/src/soc/fu/ldst/loadstore.py +++ b/src/soc/fu/ldst/loadstore.py @@ -233,6 +233,8 @@ class LoadStore1(PortInterfaceBase): sync += self.r_instr_fault.eq(1) comb += maddr.eq(self.maddr) sync += self.state.eq(State.MMU_LOOKUP) + with m.Else(): + sync += self.r_instr_fault.eq(0) with m.Else(): sync += ldst_r.eq(0) -- 2.30.2