diff --git a/hw/rtl/VX_platform.vh b/hw/rtl/VX_platform.vh index 6ceeecb1..ce28a9c0 100644 --- a/hw/rtl/VX_platform.vh +++ b/hw/rtl/VX_platform.vh @@ -78,7 +78,6 @@ `define UNUSED_VAR(x) `define UNUSED_PIN(x) . x () `define UNUSED_ARG(x) x -`define TRACE(level, args) $write args `else // !SYNTHESIS `ifdef VERILATOR `define SIMULATION diff --git a/hw/rtl/libs/VX_mem_scheduler.sv b/hw/rtl/libs/VX_mem_scheduler.sv index ae34812b..2343be6f 100644 --- a/hw/rtl/libs/VX_mem_scheduler.sv +++ b/hw/rtl/libs/VX_mem_scheduler.sv @@ -530,6 +530,7 @@ module VX_mem_scheduler #( /////////////////////////////////////////////////////////////////////////// +`ifdef SIMULATION `ifndef NDEBUG wire [NUM_BANKS-1:0] mem_req_fire_s = mem_req_valid_s & mem_req_ready_s; always @(negedge clk) begin @@ -598,7 +599,8 @@ module VX_mem_scheduler #( end end end -`endif +`endif // NDEBUG +`endif // SIMULATION endmodule `TRACING_ON