projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure an error when reading a non-existent CSR.
[riscv-tests.git]
/
debug
/
targets
/
RISC-V
/
spike-1.cfg
diff --git
a/debug/targets/RISC-V/spike-1.cfg
b/debug/targets/RISC-V/spike-1.cfg
index fc20b53b4341ff600c6ef375cad8660460793df9..7607b4614ec47ae63ce337ea4eb3d676ea829486 100644
(file)
--- a/
debug/targets/RISC-V/spike-1.cfg
+++ b/
debug/targets/RISC-V/spike-1.cfg
@@
-12,5
+12,9
@@
target create $_TARGETNAME riscv -chain-position $_TARGETNAME
gdb_report_data_abort enable
+# Expose an unimplemented CSR so we can test non-existent register access
+# behavior.
+riscv expose_csrs 2288
+
init
reset halt