aboutsummaryrefslogtreecommitdiff
path: root/debug/targets/SiFive/HiFiveUnleashed.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug/targets/SiFive/HiFiveUnleashed.py')
-rw-r--r--debug/targets/SiFive/HiFiveUnleashed.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/debug/targets/SiFive/HiFiveUnleashed.py b/debug/targets/SiFive/HiFiveUnleashed.py
new file mode 100644
index 0000000..dd92a53
--- /dev/null
+++ b/debug/targets/SiFive/HiFiveUnleashed.py
@@ -0,0 +1,19 @@
+import targets
+
+class E51(targets.Hart):
+ xlen = 64
+ ram = 0x80000000
+ ram_size = 1024 * 1024
+ instruction_hardware_breakpoint_count = 2
+ reset_vectors = [0x1004]
+
+class U54(targets.Hart):
+ xlen = 64
+ ram = 0x80000000
+ ram_size = 1024 * 1024
+ instruction_hardware_breakpoint_count = 2
+ reset_vectors = [0x1004]
+
+class HiFiveUnleashed(targets.Target):
+ support_hasel = False
+ harts = [E51(), U54(), U54(), U54(), U54()]