increase size of bootmem
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 15 Feb 2022 01:35:25 +0000 (01:35 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 15 Feb 2022 01:35:25 +0000 (01:35 +0000)
src/ls2.py

index 14cad43a206f8a76e71afd7ceebd85f09489f66e..9482112954167e9371f463638ddcc312d152369c 100644 (file)
@@ -82,7 +82,7 @@ class DDR3SoC(SoC, Elaboratable):
         # SRAM (but actually a ROM, for firmware), at address 0x0
         if fw_addr is not None:
             sram_width = 32
-            self.bootmem = SRAMPeripheral(size=8192, data_width=sram_width,
+            self.bootmem = SRAMPeripheral(size=0x10000, data_width=sram_width,
                                       writable=True)
             with open(firmware, "rb") as f:
                 words = iter(lambda: f.read(sram_width // 8), b'')