From 1395cbd98d1d8dddb176030704ba470f7ebae36c Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Mon, 20 Jul 2020 16:46:28 +0200 Subject: [PATCH] Fix code styling --- gram/common.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.30.2