From 5cfa132f18dd8f5c74558efc287d9d98f0aae590 Mon Sep 17 00:00:00 2001 From: William McSpaddden Date: Thu, 29 Jun 2023 09:09:08 -0500 Subject: [PATCH] demonstrates terse error message. error is at model/riscv_hpmevents.sail line 426. error message should emit this info. --- model/riscv_hpmevents.sail | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/riscv_hpmevents.sail b/model/riscv_hpmevents.sail index dc84e0fc6..02920db5a 100644 --- a/model/riscv_hpmevents.sail +++ b/model/riscv_hpmevents.sail @@ -423,8 +423,8 @@ function sail_signal_platform_events(unit) -> unit = { RISCV_JAL(_, _) => { riscv_signal_event(E_event_jal); trace(__FILE__, __LINE__, ""); }, RISCV_JALR(_, _, _) => { riscv_signal_event(E_event_jalr); trace(__FILE__, __LINE__, ""); }, -// BTYPE( _, _, op) => { // TODO: Error does not print out file/line - BTYPE(_, _, _, op) => { + BTYPE( _, _, op) => { // TODO: Error does not print out file/line +// BTYPE(_, _, _, op) => { match op { RISCV_BEQ => { riscv_signal_event(E_event_branch); trace(__FILE__, __LINE__, ""); }, RISCV_BNE => { riscv_signal_event(E_event_branch); trace(__FILE__, __LINE__, ""); },