Skip to content

Commit

Permalink
interconnect/axi/axi_full: Fix missing switch to LiteXModule.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Aug 31, 2023
1 parent 516038c commit 405296b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litex/soc/interconnect/axi/axi_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 405296b

Please sign in to comment.