From 6a44bc5629887b629e130ba79efdec621fa6b140 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 22 Dec 2021 00:42:16 +0000 Subject: [PATCH] clear out instr_fault when exception is thrown --- 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 5ea8969d..8ad751e7 100644 --- a/src/soc/fu/ldst/loadstore.py +++ b/src/soc/fu/ldst/loadstore.py @@ -303,6 +303,8 @@ class LoadStore1(PortInterfaceBase): sync += self.dsisr[63 - 44].eq(m_in.badtree) sync += self.dsisr[63 - 45].eq(m_in.rc_error) sync += self.state.eq(State.IDLE) + # exception thrown, clear out instruction fault state + sync += self.r_instr_fault.eq(0) with m.Case(State.TLBIE_WAIT): pass -- 2.30.2