aboutsummaryrefslogtreecommitdiff
path: root/debug/targets
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2022-10-21 09:23:36 -0700
committerGitHub <noreply@github.com>2022-10-21 09:23:36 -0700
commit7e77eedc514a6538e07b666c36449e54080054b7 (patch)
tree69bc3364de7a87659287db016c3b9ac8787f551b /debug/targets
parent1d03f2a827f2a37f7d7b65218ef679fbafc797da (diff)
downloadriscv-tests-7e77eedc514a6538e07b666c36449e54080054b7.zip
riscv-tests-7e77eedc514a6538e07b666c36449e54080054b7.tar.gz
riscv-tests-7e77eedc514a6538e07b666c36449e54080054b7.tar.bz2
Change memory address used in debug tests. (#422)
https://github.com/riscv-software-src/riscv-isa-sim/pull/889 put a UART at the address we were using in our 32-bit debug tests.
Diffstat (limited to 'debug/targets')
-rwxr-xr-xdebug/targets/RISC-V/spike32.lds2
-rw-r--r--debug/targets/RISC-V/spike32.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/debug/targets/RISC-V/spike32.lds b/debug/targets/RISC-V/spike32.lds
index 84216db..77bb1ba 100755
--- a/debug/targets/RISC-V/spike32.lds
+++ b/debug/targets/RISC-V/spike32.lds
@@ -4,7 +4,7 @@ SECTIONS
{
/* Leave some space for pk's data structures, which includes tohost/fromhost
* which are special addresses we ought to leave alone. */
- . = 0x10010000;
+ . = 0x10110000;
.text :
{
*(.text.entry)
diff --git a/debug/targets/RISC-V/spike32.py b/debug/targets/RISC-V/spike32.py
index 17d28fb..0d67ebd 100644
--- a/debug/targets/RISC-V/spike32.py
+++ b/debug/targets/RISC-V/spike32.py
@@ -3,7 +3,7 @@ import testlib
class spike32_hart(targets.Hart):
xlen = 32
- ram = 0x10000000
+ ram = 0x10100000
ram_size = 0x10000000
bad_address = ram - 8
instruction_hardware_breakpoint_count = 4