aboutsummaryrefslogtreecommitdiff
path: root/debug/targets/SiFive/Freedom/U500Sim.py
blob: 5c500c4842c7a6009a5dca06576d72a19843a133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import targets
import testlib

class U500Hart(targets.Hart):
    xlen = 64
    ram = 0x80000000
    ram_size = 256 * 1024 * 1024
    instruction_hardware_breakpoint_count = 2
    link_script_path = "Freedom.lds"

class U500Sim(Target):
    timeout_sec = 6000
    openocd_config_path = "Freedom.cfg"
    harts = [U500Hart()]

    def target(self):
        return testlib.VcsSim(sim_cmd=self.sim_cmd, debug=False)