From 4262b710c6cf7a3bc9259ac51ffe13d54803b0af Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 15 Feb 2022 01:35:25 +0000 Subject: [PATCH] increase size of bootmem --- src/ls2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ls2.py b/src/ls2.py index 14cad43..9482112 100644 --- a/src/ls2.py +++ b/src/ls2.py @@ -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'') -- 2.30.2