From 660045a0a4e0324ec1175e9621afb669d43f08c4 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Fri, 7 Aug 2020 18:31:19 +0200 Subject: [PATCH] gram.core.multiplexer: Remove unnecessary array slicing --- gram/core/multiplexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 += [ -- 2.30.2