From c1898b93552db4b577c5590c2a493f2efb9d28e1 Mon Sep 17 00:00:00 2001 From: Vadzim Dambrouski Date: Thu, 24 Mar 2022 15:37:59 +0400 Subject: [PATCH] Fix missing "last" pin connection when using connect_to_pads When using connect_to_pads on full AXI interface the "last" pin was not connected because of this typo. --- litex/soc/interconnect/axi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/interconnect/axi.py b/litex/soc/interconnect/axi.py index 2398d41b3..8c2cd0776 100644 --- a/litex/soc/interconnect/axi.py +++ b/litex/soc/interconnect/axi.py @@ -93,7 +93,7 @@ def connect_to_pads(bus, pads, mode="master", axi_full=False): for channel, mode in channel_modes.items(): ch = getattr(bus, channel) sig_list = [("valid", 1)] + ch.description.payload_layout - if ch in ["w", "r"] and axi_full: + if channel in ["w", "r"] and axi_full: sig_list += [("last", 1)] for name, width in sig_list: sig = getattr(ch, name)