diff options
Diffstat (limited to 'debug/targets/RISC-V/spike32-2-hwthread.py')
-rw-r--r-- | debug/targets/RISC-V/spike32-2-hwthread.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debug/targets/RISC-V/spike32-2-hwthread.py b/debug/targets/RISC-V/spike32-2-hwthread.py new file mode 100644 index 0000000..bec68dc --- /dev/null +++ b/debug/targets/RISC-V/spike32-2-hwthread.py @@ -0,0 +1,13 @@ +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-2-hwthread.cfg" + timeout_sec = 5 + implements_custom_test = True + + def create(self): + return testlib.Spike(self) |