From 6c53e59231b3834d98c124e54e3dcef822038b7f Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Wed, 18 Mar 2020 12:25:02 -0700 Subject: [PATCH] Spike changed --varch syntax (#257) This was changed by https://github.com/riscv/riscv-isa-sim/pull/417 --- debug/testlib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debug/testlib.py b/debug/testlib.py index f820aaf8d..d96999908 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -145,8 +145,8 @@ def command(self, target, harts, halted, timeout, with_jtag_gdb): cmd.append("--dm-no-halt-groups") if 'V' in isa[2:]: - cmd.append("--varch=v%d:e%d:s%d" % (self.vlen, self.elen, - self.slen)) + cmd.append("--varch=vlen:%d,elen:%d,slen:%d" % (self.vlen, + self.elen, self.slen)) assert len(set(t.ram for t in harts)) == 1, \ "All spike harts must have the same RAM layout"