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

import targets
import testlib

class spike32_2(targets.Target):
    harts = [spike32.spike32_hart(misa=0x40141125),
            spike32.spike32_hart(misa=0x40141125)]
    openocd_config_path = "spike-2.cfg"
    timeout_sec = 180
    implements_custom_test = True
    support_unavailable_control = True

    def create(self):
        return testlib.Spike(self, isa="RV32IMAFC", progbufsize=0, dmi_rti=4,
                support_abstract_csr=True, support_abstract_fpr=True,
                support_haltgroups=False)