From 2767c8b410877052da354d9bfd54d9bdcf6cd427 Mon Sep 17 00:00:00 2001 From: Rose Thompson Date: Tue, 21 Nov 2023 23:24:16 -0600 Subject: [PATCH 1/2] Updated imperas.ic to support just sv48 and sv39. --- sim/imperas.ic | 1 + 1 file changed, 1 insertion(+) diff --git a/sim/imperas.ic b/sim/imperas.ic index 4106968ed..36412d3f0 100644 --- a/sim/imperas.ic +++ b/sim/imperas.ic @@ -50,6 +50,7 @@ --override cpu/wfi_is_nop=T --override cpu/misa_Extensions_mask=0x0 --override cpu/Sstc=T +--override cpu/Sv_modes=768 # Enable SVADU hardware update of A/D bits when menvcfg.HADE=1 --override cpu/Svadu=T From 8233ca999fd40d5aabc6c7707a2c8ba6b7d13d29 Mon Sep 17 00:00:00 2001 From: Rose Thompson Date: Tue, 21 Nov 2023 23:46:45 -0600 Subject: [PATCH 2/2] Changed buildroot to run for 1M instructions only. --- sim/regression-wally | 9 +- sim/wave.do | 586 +++++++++++++++++++++---------------------- 2 files changed, 285 insertions(+), 310 deletions(-) diff --git a/sim/regression-wally b/sim/regression-wally index 006718701..06f4ce777 100755 --- a/sim/regression-wally +++ b/sim/regression-wally @@ -49,7 +49,7 @@ configs = [ ) ] def getBuildrootTC(boot): - INSTR_LIMIT = 4000000 # multiple of 100000; 4M is interesting because it gets into the kernel and enabling VM + INSTR_LIMIT = 1000000 # multiple of 100000; 4M is interesting because it gets into the kernel and enabling VM MAX_EXPECTED = 246000000 # *** TODO: replace this with a search for the login prompt. if boot: name="buildrootboot" @@ -66,13 +66,6 @@ def getBuildrootTC(boot): BRgrepstr=str(INSTR_LIMIT)+" instructions" return TestCase(name,variant="rv64gc",cmd=BRcmd,grepstr=BRgrepstr) -tc = TestCase( - name="buildroot-checkpoint", - variant="rv64gc", - cmd="vsim > {} -c <