From: Jean THOMAS Date: Fri, 7 Aug 2020 17:51:53 +0000 (+0200) Subject: gram.core.multiplexer: Fix variable name in _Steerer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b3b89e26a7da414e380658bbf72a090932f7b9b4;p=gram.git gram.core.multiplexer: Fix variable name in _Steerer --- diff --git a/gram/core/multiplexer.py b/gram/core/multiplexer.py index bd2e1ba..0817d35 100644 --- a/gram/core/multiplexer.py +++ b/gram/core/multiplexer.py @@ -184,7 +184,7 @@ class _Steerer(Elaboratable): ] m.d.sync += [ - phase.address.eq(Array(cmd.a for cmd in commands)[sel]), + phase.address.eq(Array(cmd.a for cmd in self.commands)[sel]), phase.cas.eq(Array(valid_and(cmd, "cas") for cmd in self.commands)[sel]), phase.ras.eq(Array(valid_and(cmd, "ras") for cmd in self.commands)[sel]), phase.we.eq(Array(valid_and(cmd, "we") for cmd in self.commands)[sel])