From bd0042f8f09c1e6c4678e953465c27cf03a72188 Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Mon, 10 May 2021 19:41:58 +0200 Subject: [PATCH] style-wise: use ~self.instr_fault not self.instr_fault==0 --- 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 9857c60f..be7670e6 100644 --- a/src/soc/fu/ldst/loadstore.py +++ b/src/soc/fu/ldst/loadstore.py @@ -202,7 +202,7 @@ class LoadStore1(PortInterfaceBase): with m.Case(State.MMU_LOOKUP): with m.If(l_out.done): - with m.If(self.instr_fault==0): + with m.If(~self.instr_fault): # retry the request now that the MMU has # installed a TLB entry sync += self.state.eq(State.ACK_WAIT) -- 2.30.2