From: Jean THOMAS Date: Mon, 15 Jun 2020 13:35:40 +0000 (+0200) Subject: Fix autopep8 madness X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90adb8f0916f1bf2010fe203b2102ec9eee406dd;p=gram.git Fix autopep8 madness --- 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