mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
interconnect/axi/axi_stream: Fix get_ios and base it on length of created Endpoint's signals.
This commit is contained in:
parent
23db2e65f4
commit
e12af4f050
1 changed files with 5 additions and 5 deletions
|
@ -49,13 +49,13 @@ class AXIStreamInterface(stream.Endpoint):
|
|||
]
|
||||
|
||||
# Payload Signals.
|
||||
subsignals += [Subsignal("tdata", Pins(self.data_width))]
|
||||
subsignals += [Subsignal("tkeep", Pins(self.keep_width))]
|
||||
subsignals += [Subsignal("tdata", Pins(len(self.data)))]
|
||||
subsignals += [Subsignal("tkeep", Pins(len(self.keep)))]
|
||||
|
||||
# Param Signals.
|
||||
subsignals += [Subsignal("tid", Pins(self.id_width))]
|
||||
subsignals += [Subsignal("tdest", Pins(self.dest_width))]
|
||||
subsignals += [Subsignal("tuser", Pins(self.user_width))]
|
||||
subsignals += [Subsignal("tid", Pins(len(self.id)))]
|
||||
subsignals += [Subsignal("tdest", Pins(len(self.dest)))]
|
||||
subsignals += [Subsignal("tuser", Pins(len(self.user)))]
|
||||
ios = [(bus_name , 0) + tuple(subsignals)]
|
||||
return ios
|
||||
|
||||
|
|
Loading…
Reference in a new issue