From 90adb8f0916f1bf2010fe203b2102ec9eee406dd Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Mon, 15 Jun 2020 15:35:40 +0200 Subject: [PATCH] Fix autopep8 madness --- gram/stream.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gram/stream.py b/gram/stream.py index b1dfe77..463e2bd 100644 --- a/gram/stream.py +++ b/gram/stream.py @@ -349,8 +349,7 @@ class StrideConverter(Elaboratable): j = 0 for name, width in self._layout_to.payload_layout: src = getattr(self.sink, name)[i*width:(i+1)*width] - dst = self.converter.sink.data[i * - nbits_to+j:i*nbits_to+j+width] + dst = self.converter.sink.data[i*nbits_to+j:i*nbits_to+j+width] m.d.comb += dst.eq(src) j += width else: @@ -368,8 +367,7 @@ class StrideConverter(Elaboratable): for i in range(ratio): j = 0 for name, width in self._layout_from.payload_layout: - src = self.converter.source.data[i * - nbits_from+j:i*nbits_from+j+width] + src = self.converter.source.data[i*nbits_from+j:i*nbits_from+j+width] dst = getattr(self.source, name)[i*width:(i+1)*width] m.d.comb += dst.eq(src) j += width -- 2.30.2