mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Fix base_address for LiteDRAMWishbone2Native
Fixes `origin == None` due to https://github.com/litex-hub/litex-boards/commit/ba01776
This commit is contained in:
parent
a064e9d048
commit
f2caeaf83a
1 changed files with 1 additions and 1 deletions
|
@ -1326,7 +1326,7 @@ class LiteXSoC(SoC):
|
|||
self.submodules += LiteDRAMWishbone2Native(
|
||||
wishbone = litedram_wb,
|
||||
port = port,
|
||||
base_address = origin)
|
||||
base_address = self.bus.regions["main_ram"].origin)
|
||||
self.submodules += wishbone.Converter(mem_wb, litedram_wb)
|
||||
# Check if bus is a Native bus and connect it.
|
||||
if isinstance(mem_bus, LiteDRAMNativePort):
|
||||
|
|
Loading…
Reference in a new issue