Skip to content

Commit

Permalink
[t1rocketemu] increase sram size to 16M
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin committed Dec 26, 2024
1 parent 1f01c1a commit 212d6e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion difftest/dpi_t1rocketemu/src/interconnect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/t1.ld
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 212d6e7

Please sign in to comment.