From: Jean THOMAS Date: Mon, 20 Jul 2020 14:46:28 +0000 (+0200) Subject: Fix code styling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1395cbd98d1d8dddb176030704ba470f7ebae36c;p=gram.git Fix code styling --- diff --git a/gram/common.py b/gram/common.py index 80fe39f..bea610d 100644 --- a/gram/common.py +++ b/gram/common.py @@ -298,8 +298,7 @@ class tFAWController(Elaboratable): count = Signal(range(max(self._tfaw, 2))) window = Signal(self._tfaw) m.d.sync += window.eq(Cat(self.valid, window)) - m.d.comb += count.eq(reduce(add, [window[i] - for i in range(self._tfaw)])) + m.d.comb += count.eq(reduce(add, [window[i] for i in range(self._tfaw)])) with m.If(count < 4): with m.If(count == 3): m.d.sync += self.ready.eq(~self.valid)