aboutsummaryrefslogtreecommitdiff
path: root/debug/targets/SiFive
diff options
context:
space:
mode:
authorcgsfv <cgsfv@users.noreply.github.com>2018-11-13 11:56:10 +0100
committercgsfv <cgsfv@users.noreply.github.com>2018-11-13 11:56:10 +0100
commit94a29da063eecda0f37f9f6a97ffb39a47825b35 (patch)
treea36865653e79e439f0dd7addce1e64599b5263d6 /debug/targets/SiFive
parentee6c720e4db50b73dd8f45c70a6868b88cd4a8b1 (diff)
downloadriscv-tests-94a29da063eecda0f37f9f6a97ffb39a47825b35.zip
riscv-tests-94a29da063eecda0f37f9f6a97ffb39a47825b35.tar.gz
riscv-tests-94a29da063eecda0f37f9f6a97ffb39a47825b35.tar.bz2
Added MemTestBlockReadInvalid verifying the corresponding OpenOCD fix
Diffstat (limited to 'debug/targets/SiFive')
-rw-r--r--debug/targets/SiFive/Freedom/E300.py3
-rw-r--r--debug/targets/SiFive/Freedom/U500.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/debug/targets/SiFive/Freedom/E300.py b/debug/targets/SiFive/Freedom/E300.py
index 170de40..4062e3d 100644
--- a/debug/targets/SiFive/Freedom/E300.py
+++ b/debug/targets/SiFive/Freedom/E300.py
@@ -3,10 +3,11 @@ import targets
class E300Hart(targets.Hart):
xlen = 32
ram = 0x80000000
- ram_size = 256 * 1024 * 1024
+ ram_size = 64 * 1024
instruction_hardware_breakpoint_count = 2
link_script_path = "Freedom.lds"
class E300(targets.Target):
openocd_config_path = "Freedom.cfg"
harts = [E300Hart()]
+ uses_dtm_version_013 = True
diff --git a/debug/targets/SiFive/Freedom/U500.py b/debug/targets/SiFive/Freedom/U500.py
index 6da3ac5..83a1343 100644
--- a/debug/targets/SiFive/Freedom/U500.py
+++ b/debug/targets/SiFive/Freedom/U500.py
@@ -3,10 +3,11 @@ import targets
class U500Hart(targets.Hart):
xlen = 64
ram = 0x80000000
- ram_size = 16 * 1024
+ ram_size = 64 * 1024
instruction_hardware_breakpoint_count = 2
link_script_path = "Freedom.lds"
class U500(targets.Target):
openocd_config_path = "Freedom.cfg"
harts = [U500Hart()]
+ uses_dtm_version_013 = True