diff options
| author | Prashanth Mundkur | 2018-06-18 19:51:34 -0700 |
|---|---|---|
| committer | Prashanth Mundkur | 2018-06-19 15:18:38 -0700 |
| commit | a03d5dfa7e220b2be9455480672c8b00a2e4fec2 (patch) | |
| tree | cb1f413db1d667ff28b27df0091f34e50053955c /riscv/riscv_step.sail | |
| parent | 053b1fa953aeec3a271d9704baf611e83b84ba93 (diff) | |
Add more detail to riscv execution trace log.
Diffstat (limited to 'riscv/riscv_step.sail')
| -rw-r--r-- | riscv/riscv_step.sail | 2 |
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 }, |
