From 13313952cd50ff04489f6cf3dba9ba05c2011a8b Mon Sep 17 00:00:00 2001 From: Pirmin Vogel Date: Thu, 19 Sep 2019 18:22:35 +0100 Subject: [PATCH] Tracing: Wrap fatal error message with `$fatal()` The syntax of this statement is not correct without the `$fatal()` SV construct. This causes errors in some tools even if the error condition is not met. --- rtl/ibex_core_tracing.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/ibex_core_tracing.sv b/rtl/ibex_core_tracing.sv index d2cec07b..6886972f 100644 --- a/rtl/ibex_core_tracing.sv +++ b/rtl/ibex_core_tracing.sv @@ -64,7 +64,7 @@ module ibex_core_tracing #( // ibex_tracer relies on the signals from the RISC-V Formal Interface `ifndef RVFI - Fatal error: RVFI needs to be defined globally. + $fatal("Fatal error: RVFI needs to be defined globally."); `endif logic rvfi_valid;