Merge pull request #1501 from bunnie/axi-full-xbar-datawidth
AXICrossbar: absorb data width setting when building crossbar
This commit is contained in:
commit
68c34c64b0
|
@ -574,7 +574,7 @@ class AXICrossbar(Module):
|
|||
"""
|
||||
def __init__(self, masters, slaves, register=False, timeout_cycles=1e6):
|
||||
matches, busses = zip(*slaves)
|
||||
access_m_s = [[AXIInterface() for j in slaves] for i in masters] # a[master][slave]
|
||||
access_m_s = [[AXIInterface(data_width = interface.data_width) for (f, interface) in slaves] for i in masters] # a[master][slave]
|
||||
access_s_m = list(zip(*access_m_s)) # a[slave][master]
|
||||
# Decode each master into its access row.
|
||||
for slaves, master in zip(access_m_s, masters):
|
||||
|
|
Loading…
Reference in New Issue