Skip to content

Commit

Permalink
soc: fix typo in cpu mem_bus axi-via-wb downconvert (#1865)
Browse files Browse the repository at this point in the history
Fixes: 002aad7

Signed-off-by: Gabriel Somlo <[email protected]>
  • Loading branch information
gsomlo authored Jan 1, 2024
1 parent 56f6198 commit acf07a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litex/soc/integration/soc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1651,9 +1651,9 @@ def add_sdram(self, name="sdram", phy=None, module=None, origin=None, size=None,
else:
mem_wb = wishbone.Interface(
data_width = self.cpu.mem_axi.data_width,
adr_width = 32-log2_int(mem_bus.data_width//8,
adr_width = 32-log2_int(mem_bus.data_width//8),
addressing = "word",
))
)
mem_a2w = axi.AXI2Wishbone(
axi = mem_bus,
wishbone = mem_wb,
Expand Down

0 comments on commit acf07a2

Please sign in to comment.