aboutsummaryrefslogtreecommitdiff
path: root/debug/targets/RISC-V/spike64-2.py
blob: e4c7524fae0c8ffcd09eeb1af6c1325b6c7158b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import spike64  # pylint: disable=import-error

import targets
import testlib

class spike64_2(targets.Target):
    harts = [spike64.spike64_hart(misa=0x8000000000141129),
            spike64.spike64_hart(misa=0x8000000000141129)]
    openocd_config_path = "spike-2.cfg"
    timeout_sec = 5
    implements_custom_test = True
    support_memory_sampling = False # Needs SBA
    support_unavailable_control = True

    def create(self):
        return testlib.Spike(self)