From: Tobias Platen Date: Mon, 10 May 2021 17:41:58 +0000 (+0200) Subject: style-wise: use ~self.instr_fault not self.instr_fault==0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd0042f8f09c1e6c4678e953465c27cf03a72188;p=soc.git style-wise: use ~self.instr_fault not self.instr_fault==0 --- 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)