diff --git a/difftest/dpi_t1rocketemu/src/interconnect.rs b/difftest/dpi_t1rocketemu/src/interconnect.rs index 206d805dc..a4b0a3f74 100644 --- a/difftest/dpi_t1rocketemu/src/interconnect.rs +++ b/difftest/dpi_t1rocketemu/src/interconnect.rs @@ -201,7 +201,7 @@ pub fn create_emu_addrspace() -> (AddressSpace, ExitFlagRef) { const DDR_BASE: u32 = 0x2000_0000; const DDR_SIZE: u32 = 0xa000_0000; const SRAM_BASE: u32 = 0xc000_0000; - const SRAM_SIZE: u32 = 0x0040_0000; + const SRAM_SIZE: u32 = 0x0100_0000; const SIMCTRL_BASE: u32 = 0x1000_0000; const SIMCTRL_SIZE: u32 = 0x0000_1000; // one page diff --git a/tests/t1.ld b/tests/t1.ld index 1a8248c01..a00961b52 100644 --- a/tests/t1.ld +++ b/tests/t1.ld @@ -5,7 +5,7 @@ MEMORY { SCALAR (RWX) : ORIGIN = 0x20000000, LENGTH = 512M /* put first to set it as default */ MMIO (RW) : ORIGIN = 0x00000000, LENGTH = 512M DDR (RW) : ORIGIN = 0x40000000, LENGTH = 2048M - SRAM (RW) : ORIGIN = 0xc0000000, LENGTH = 4M /* TODO: read from config */ + SRAM (RW) : ORIGIN = 0xc0000000, LENGTH = 16M /* TODO: read from config */ } SECTIONS {