aboutsummaryrefslogtreecommitdiff
path: root/debug/targets/RISC-V/spike32-2.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug/targets/RISC-V/spike32-2.py')
-rw-r--r--debug/targets/RISC-V/spike32-2.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/debug/targets/RISC-V/spike32-2.py b/debug/targets/RISC-V/spike32-2.py
new file mode 100644
index 0000000..6cf558d
--- /dev/null
+++ b/debug/targets/RISC-V/spike32-2.py
@@ -0,0 +1,12 @@
+import targets
+import testlib
+
+import spike32 # pylint: disable=import-error
+
+class spike32_2(targets.Target):
+ harts = [spike32.spike32_hart(), spike32.spike32_hart()]
+ openocd_config_path = "spike.cfg"
+ timeout_sec = 30
+
+ def create(self):
+ return testlib.Spike(self)