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
1 changed files with 2 additions and 2 deletions

View File

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