From 5273ab73b61c103d90955fb039638ab2706a4e6b Mon Sep 17 00:00:00 2001 From: Tim Fischer Date: Wed, 28 Aug 2024 09:22:11 +0200 Subject: [PATCH] src: Guard tracing logic during synthesis --- src/frontend/inst64/idma_inst64_top.sv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/inst64/idma_inst64_top.sv b/src/frontend/inst64/idma_inst64_top.sv index d501d5b..9d27869 100644 --- a/src/frontend/inst64/idma_inst64_top.sv +++ b/src/frontend/inst64/idma_inst64_top.sv @@ -513,6 +513,7 @@ module idma_inst64_top #( // DMA Tracer //-------------------------------------- // only activate tracer if requested +`ifndef SYNTHESIS if (DMATracing) begin : gen_tracer for (genvar c = 0; c < NumChannels; c++) begin : gen_channels // derive the name of the trace file from the hart and channel IDs @@ -530,5 +531,6 @@ module idma_inst64_top #( `IDMA_TRACER_RW_AXI(gen_backend[c].i_idma_backend_rw_axi, trace_file); end end +`endif endmodule