From 6fb8fff9ea5b50549b4c9e73f6f9e76cd10f7103 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 4 Dec 2021 04:06:53 +0000 Subject: [PATCH] not busy if excrption occurs on MMU_LOOKUP in loadstore.py --- src/soc/fu/ldst/loadstore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.30.2