soc: avoid double definition of main_ram
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 11 Feb 2020 15:39:37 +0000 (16:39 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 11 Feb 2020 15:39:37 +0000 (16:39 +0100)
litex/soc/integration/soc.py

index f20d6ecb748b85f52d774fda19a09d4b1a7551e5..42eab475caffe8f239ccc81d3f6663c9f788829a 100755 (executable)
@@ -958,7 +958,7 @@ class LiteXSoC(SoC):
         elif self.with_wishbone:
             # Wishbone Slave SDRAM 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 -----------------------------------------------------------------------------
             if l2_cache_size != 0: