From a34867d14e4104ce718dfd152d6da69d5be18a21 Mon Sep 17 00:00:00 2001 From: David Harris Date: Mon, 10 Apr 2023 07:05:06 -0700 Subject: [PATCH] Turned on SVADU_SUPPORTED in rv32/64gc wally-config and in imperas.ic. ImperasDV is happy with these privileged tests now --- config/rv32gc/wally-config.vh | 2 +- config/rv64gc/wally-config.vh | 2 +- sim/imperas.ic | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/rv32gc/wally-config.vh b/config/rv32gc/wally-config.vh index d9d770f82..37eff79ea 100644 --- a/config/rv32gc/wally-config.vh +++ b/config/rv32gc/wally-config.vh @@ -137,7 +137,7 @@ `define BPRED_SIZE 16 `define BTB_SIZE 10 -`define SVADU_SUPPORTED 0 +`define SVADU_SUPPORTED 1 `define ZMMUL_SUPPORTED 0 // FPU division architecture diff --git a/config/rv64gc/wally-config.vh b/config/rv64gc/wally-config.vh index 4ef3bf517..b44351ef2 100644 --- a/config/rv64gc/wally-config.vh +++ b/config/rv64gc/wally-config.vh @@ -140,7 +140,7 @@ `define BPRED_SIZE 10 `define BTB_SIZE 10 -`define SVADU_SUPPORTED 0 +`define SVADU_SUPPORTED 1 `define ZMMUL_SUPPORTED 0 // FPU division architecture diff --git a/sim/imperas.ic b/sim/imperas.ic index 2c1225760..d561b22f2 100644 --- a/sim/imperas.ic +++ b/sim/imperas.ic @@ -30,8 +30,8 @@ --override cpu/ignore_non_leaf_DAU=1 --override cpu/wfi_is_nop=T --override cpu/misa_Extensions_mask=0x0 -#--override cpu/updatePTEA=T -#--override cpu/updatePTED=T +--override cpu/updatePTEA=T +--override cpu/updatePTED=T --override cpu/Sstc=T # THIS NEEDS FIXING to 16