From bcaead3ea694bcded7de7e7abafbc5b64a533167 Mon Sep 17 00:00:00 2001 From: Philipp Wagner Date: Fri, 19 Jul 2019 19:25:20 +0100 Subject: [PATCH] ibex_tracer: Remove Verilator gating We want people to get an error when compiling the tracer with Verilator: this file should not be used with Verilator. An error is better than silently getting the wrong result. --- rtl/ibex_tracer.sv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtl/ibex_tracer.sv b/rtl/ibex_tracer.sv index b0963e76..4a7a37de 100644 --- a/rtl/ibex_tracer.sv +++ b/rtl/ibex_tracer.sv @@ -17,7 +17,6 @@ // // //////////////////////////////////////////////////////////////////////////////// -`ifndef VERILATOR import ibex_pkg::*; import ibex_tracer_pkg::*; @@ -30,6 +29,9 @@ import ibex_tracer_pkg::*; /** * Traces the executed instructions + * + * Note: Verilator does not support the language constructs used in this + * module! */ module ibex_tracer #( parameter int unsigned RegAddrWidth = 5 @@ -418,5 +420,3 @@ endmodule `undef REG_S2 `undef REG_S3 `undef REG_D - -`endif