aboutsummaryrefslogtreecommitdiff
path: root/debug/targets/RISC-V/spike64-2-hwthread.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug/targets/RISC-V/spike64-2-hwthread.py')
-rw-r--r--debug/targets/RISC-V/spike64-2-hwthread.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/debug/targets/RISC-V/spike64-2-hwthread.py b/debug/targets/RISC-V/spike64-2-hwthread.py
index ee1a46b..db381d4 100644
--- a/debug/targets/RISC-V/spike64-2-hwthread.py
+++ b/debug/targets/RISC-V/spike64-2-hwthread.py
@@ -4,12 +4,17 @@ import testlib
import spike64 # pylint: disable=import-error
class spike64_2(targets.Target):
- harts = [spike64.spike64_hart(misa=0x8000000000141129),
- spike64.spike64_hart(misa=0x8000000000141129)]
+ harts = [spike64.spike64_hart(misa=0x8000000000341129),
+ spike64.spike64_hart(misa=0x8000000000341129)]
openocd_config_path = "spike-2-hwthread.cfg"
- timeout_sec = 5
+ # Increased timeout because we use abstract_rti to artificially slow things
+ # down.
+ timeout_sec = 20
implements_custom_test = True
+ support_hasel = False
support_memory_sampling = False # Needs SBA
def create(self):
- return testlib.Spike(self)
+ return testlib.Spike(self, isa="RV64IMAFDV", abstract_rti=30,
+ support_hasel=False, support_abstract_csr=False,
+ vlen=512, elen=64)