aboutsummaryrefslogtreecommitdiff
path: root/debug/testlib.py
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2018-02-27 14:28:26 -0800
committerTim Newsome <tim@sifive.com>2018-03-27 13:00:05 -0700
commit45380af7d42ee3302fc229030694f8ea4506d79f (patch)
tree6752bd417f742d771bbf8ad7dd1cbdbc0f6f2bfa /debug/testlib.py
parentefb44a9a906e2281be7a199ca799d0256e921f1f (diff)
downloadriscv-tests-45380af7d42ee3302fc229030694f8ea4506d79f.zip
riscv-tests-45380af7d42ee3302fc229030694f8ea4506d79f.tar.gz
riscv-tests-45380af7d42ee3302fc229030694f8ea4506d79f.tar.bz2
Test debug authentication.
Also halt instead of reset spike targets, which tests a more complicated code path.
Diffstat (limited to 'debug/testlib.py')
-rw-r--r--debug/testlib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/testlib.py b/debug/testlib.py
index fd587bd..2fa70df 100644
--- a/debug/testlib.py
+++ b/debug/testlib.py
@@ -118,6 +118,7 @@ class Spike(object):
isa = "RV%dG" % harts[0].xlen
cmd += ["--isa", isa]
+ cmd += ["--debug-auth"]
if not self.progbufsize is None:
cmd += ["--progsize", str(self.progbufsize)]