Guard trace printf in mem_scheduler for synthesis
This commit is contained in:
@@ -78,7 +78,6 @@
|
|||||||
`define UNUSED_VAR(x)
|
`define UNUSED_VAR(x)
|
||||||
`define UNUSED_PIN(x) . x ()
|
`define UNUSED_PIN(x) . x ()
|
||||||
`define UNUSED_ARG(x) x
|
`define UNUSED_ARG(x) x
|
||||||
`define TRACE(level, args) $write args
|
|
||||||
`else // !SYNTHESIS
|
`else // !SYNTHESIS
|
||||||
`ifdef VERILATOR
|
`ifdef VERILATOR
|
||||||
`define SIMULATION
|
`define SIMULATION
|
||||||
|
|||||||
@@ -530,6 +530,7 @@ module VX_mem_scheduler #(
|
|||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
`ifdef SIMULATION
|
||||||
`ifndef NDEBUG
|
`ifndef NDEBUG
|
||||||
wire [NUM_BANKS-1:0] mem_req_fire_s = mem_req_valid_s & mem_req_ready_s;
|
wire [NUM_BANKS-1:0] mem_req_fire_s = mem_req_valid_s & mem_req_ready_s;
|
||||||
always @(negedge clk) begin
|
always @(negedge clk) begin
|
||||||
@@ -598,7 +599,8 @@ module VX_mem_scheduler #(
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
`endif
|
`endif // NDEBUG
|
||||||
|
`endif // SIMULATION
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
`TRACING_ON
|
`TRACING_ON
|
||||||
|
|||||||
Reference in New Issue
Block a user