gram.core.multiplexer: Remove unnecessary array slicing
authorJean THOMAS <git0@pub.jeanthomas.me>
Fri, 7 Aug 2020 16:31:19 +0000 (18:31 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Fri, 7 Aug 2020 16:31:19 +0000 (18:31 +0200)
gram/core/multiplexer.py

index 1f3803584c8219e71950e459caa6f5110cb6a7f6..bd2e1ba5c66d87df0dfd100234be127293680cf8 100644 (file)
@@ -180,7 +180,7 @@ class _Steerer(Elaboratable):
             else:
                 m.d.sync += [
                     phase.cs.eq(1),
-                    phase.bank.eq(Array(cmd.ba[:] for cmd in self.commands)[sel]),
+                    phase.bank.eq(Array(cmd.ba for cmd in self.commands)[sel]),
                 ]
 
             m.d.sync += [