From: Luke Kenneth Casson Leighton Date: Wed, 22 Dec 2021 00:39:30 +0000 (+0000) Subject: clear instruction fault on idle/valid in Loadstore1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec6822091c173dcb6b7f5ce6498a27dbe492feb4;p=soc.git clear instruction fault on idle/valid in Loadstore1 --- 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)