summaryrefslogtreecommitdiff
path: root/riscv/riscv_step.sail
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/riscv_step.sail')
-rw-r--r--riscv/riscv_step.sail2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/riscv_step.sail b/riscv/riscv_step.sail
index 73343029..31acaf10 100644
--- a/riscv/riscv_step.sail
+++ b/riscv/riscv_step.sail
@@ -60,7 +60,7 @@ function step() = {
F_RVC(h) => {
match decodeCompressed(h) {
None() => {
- print("[" ^ string_of_int(step_no) ^ "] " ^ BitStr(PC) ^ " (" ^ BitStr(h) ^ ") <no-decode>");
+ print("[" ^ string_of_int(step_no) ^ "] [" ^ cur_privilege ^ "]: " ^ BitStr(PC) ^ " (" ^ BitStr(h) ^ ") <no-decode>");
handle_decode_exception(EXTZ(h));
false
},