Skip to content

Commit

Permalink
demonstrates terse error message. error is at model/riscv_hpmevents.s…
Browse files Browse the repository at this point in the history
…ail line 426. error message should emit this info.
  • Loading branch information
billmcspadden-riscv committed Jun 29, 2023
1 parent fdd3819 commit 5cfa132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/riscv_hpmevents.sail
Original file line number Diff line number Diff line change
Expand Up @@ -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__, ""); },
Expand Down

0 comments on commit 5cfa132

Please sign in to comment.