Skip to content

Commit

Permalink
RTL: LiteX: add a missing variable assignation for the pads
Browse files Browse the repository at this point in the history
  • Loading branch information
josuah committed Feb 16, 2024
1 parent c82b24a commit 28a5fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RTL/python/litex_main_soc.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def add_ahb_slave_port(self, origin, size=0x10000, id=0, width=32):
self.bus.add_slave(name=f"ahb{id}", slave=port.bus, region=region)

def add_wb_master_port(self, id=0, width=32):
self.platform.request("wishbone", id)
pads = self.platform.request("wishbone", id)
port = VerilogWBPort(pads, width=width, mode="slave")
self.submodules += port
self.bus.add_master(name=f"wb{id}", master=port.bus)
Expand Down

0 comments on commit 28a5fd5

Please sign in to comment.