From: Luke Kenneth Casson Leighton Date: Sat, 4 Dec 2021 04:06:53 +0000 (+0000) Subject: not busy if excrption occurs on MMU_LOOKUP in loadstore.py X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6fb8fff9ea5b50549b4c9e73f6f9e76cd10f7103;p=soc.git not busy if excrption occurs on MMU_LOOKUP in loadstore.py --- diff --git a/src/soc/fu/ldst/loadstore.py b/src/soc/fu/ldst/loadstore.py index 8aa67ac1..2a09bb24 100644 --- a/src/soc/fu/ldst/loadstore.py +++ b/src/soc/fu/ldst/loadstore.py @@ -249,7 +249,7 @@ class LoadStore1(PortInterfaceBase): # waiting here for the MMU TLB lookup to complete. # either re-try the dcache lookup or throw MMU exception with m.Case(State.MMU_LOOKUP): - comb += self.busy.eq(1) + comb += self.busy.eq(~exception) with m.If(m_in.done): with m.If(~self.instr_fault): sync += Display("MMU_LOOKUP, done %x -> %x",