From: Jean THOMAS Date: Fri, 7 Aug 2020 16:31:19 +0000 (+0200) Subject: gram.core.multiplexer: Remove unnecessary array slicing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=660045a0a4e0324ec1175e9621afb669d43f08c4;p=gram.git gram.core.multiplexer: Remove unnecessary array slicing --- diff --git a/gram/core/multiplexer.py b/gram/core/multiplexer.py index 1f38035..bd2e1ba 100644 --- a/gram/core/multiplexer.py +++ b/gram/core/multiplexer.py @@ -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 += [