mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc/interconnect/axi: fix AXIInterface.get_ios().
This commit is contained in:
parent
7fccf9fcd0
commit
90b9f4eca3
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ class AXIInterface:
|
||||||
def get_ios(self, bus_name="wb"):
|
def get_ios(self, bus_name="wb"):
|
||||||
subsignals = []
|
subsignals = []
|
||||||
for channel in ["aw", "w", "b", "ar", "r"]:
|
for channel in ["aw", "w", "b", "ar", "r"]:
|
||||||
for name in ["valid", "ready"] + ["last"] if channel in ["w", "r"] else []:
|
for name in ["valid", "ready"] + (["last"] if channel in ["w", "r"] else []):
|
||||||
subsignals.append(Subsignal(channel + name, Pins(1)))
|
subsignals.append(Subsignal(channel + name, Pins(1)))
|
||||||
for name, width in getattr(self, channel).description.payload_layout:
|
for name, width in getattr(self, channel).description.payload_layout:
|
||||||
subsignals.append(Subsignal(channel + name, Pins(width)))
|
subsignals.append(Subsignal(channel + name, Pins(width)))
|
||||||
|
|
Loading…
Reference in a new issue