interconnect/axi/axi_full: Fix missing switch to LiteXModule.

This commit is contained in:
Florent Kermarrec 2023-08-31 19:34:55 +02:00
parent 516038ce76
commit 405296b7fd

View file

@ -602,12 +602,12 @@ def get_check_parameters(ports):
return data_width return data_width
class AXIInterconnectPointToPoint(Module): class AXIInterconnectPointToPoint(LiteXModule):
"""AXI point to point interconnect""" """AXI point to point interconnect"""
def __init__(self, master, slave): def __init__(self, master, slave):
self.comb += master.connect(slave) self.comb += master.connect(slave)
class AXIInterconnectShared(Module): class AXIInterconnectShared(LiteXModule):
"""AXI shared interconnect""" """AXI shared interconnect"""
def __init__(self, masters, slaves, register=False, timeout_cycles=1e6): def __init__(self, masters, slaves, register=False, timeout_cycles=1e6):
data_width = get_check_parameters(ports=masters + [s for _, s in slaves]) data_width = get_check_parameters(ports=masters + [s for _, s in slaves])