From: Luke Kenneth Casson Leighton Date: Wed, 22 Dec 2021 00:42:16 +0000 (+0000) Subject: clear out instr_fault when exception is thrown X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a44bc5629887b629e130ba79efdec621fa6b140;p=soc.git clear out instr_fault when exception is thrown --- 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