soc: avoid double definition of main_ram
This commit is contained in:
parent
5f9946085b
commit
b2c66b1efd
|
@ -958,7 +958,7 @@ class LiteXSoC(SoC):
|
||||||
elif self.with_wishbone:
|
elif self.with_wishbone:
|
||||||
# Wishbone Slave SDRAM interface -------------------------------------------------------
|
# Wishbone Slave SDRAM interface -------------------------------------------------------
|
||||||
wb_sdram = wishbone.Interface()
|
wb_sdram = wishbone.Interface()
|
||||||
self.bus.add_slave("main_ram", wb_sdram, SoCRegion(origin=origin, size=sdram_size))
|
self.bus.add_slave("main_ram", wb_sdram)
|
||||||
|
|
||||||
# L2 Cache -----------------------------------------------------------------------------
|
# L2 Cache -----------------------------------------------------------------------------
|
||||||
if l2_cache_size != 0:
|
if l2_cache_size != 0:
|
||||||
|
|
Loading…
Reference in New Issue