mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
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.
This commit is contained in:
parent
ef6d450820
commit
c1898b9355
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue