riscv

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 47ee1d1bc6ecc2249dc63ee42cac30231fc1b4b7
parent 1fdc064971cf06f8bc729487523c236c159d9ea7
Author: Brian Swetland <swetland@frotz.net>
Date:   Thu, 21 Apr 2022 18:49:45 -0700

increase rvsim memory to 16MB to accomodate some bigger tests

Diffstat:
Mrvmain.c | 2+-
Mrvsim.c | 4+++-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/rvmain.c b/rvmain.c @@ -104,7 +104,7 @@ int main(int argc, char** argv) { } void* memory; uint32_t membase = 0x80000000; - uint32_t memsize = 32768; + uint32_t memsize = 0x01000000; rvstate_t* s; if (rvsim_init(&s, NULL)) { diff --git a/rvsim.c b/rvsim.c @@ -14,8 +14,10 @@ #define DO_TRACE_MEM_WR 0 #define DO_TRACE_REG_WR 0 +#define DO_ABORT_INVAL 0 + #define RVMEMBASE 0x80000000 -#define RVMEMSIZE 32768 +#define RVMEMSIZE 0x01000000 #define RVMEMMASK (RVMEMSIZE - 1) typedef struct rvstate {