Skip to content

Commit 5273ab7

Browse files
committed
src: Guard tracing logic during synthesis
1 parent 0a0c113 commit 5273ab7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/frontend/inst64/idma_inst64_top.sv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ module idma_inst64_top #(
513513
// DMA Tracer
514514
//--------------------------------------
515515
// only activate tracer if requested
516+
`ifndef SYNTHESIS
516517
if (DMATracing) begin : gen_tracer
517518
for (genvar c = 0; c < NumChannels; c++) begin : gen_channels
518519
// derive the name of the trace file from the hart and channel IDs
@@ -530,5 +531,6 @@ module idma_inst64_top #(
530531
`IDMA_TRACER_RW_AXI(gen_backend[c].i_idma_backend_rw_axi, trace_file);
531532
end
532533
end
534+
`endif
533535

534536
endmodule

0 commit comments

Comments
 (0)