mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-20 11:57:12 -04:00
added ifdef for verilator
This commit is contained in:
parent
e97d18e829
commit
03e025efc3
2 changed files with 6 additions and 2 deletions
|
@ -683,7 +683,7 @@ module zeroriscy_core
|
|||
.jump_req_o ( dbg_jump_req ) // set PC to new value
|
||||
);
|
||||
|
||||
|
||||
`ifndef VERILATOR
|
||||
`ifdef TRACE_EXECUTION
|
||||
zeroriscy_tracer zeroriscy_tracer_i
|
||||
(
|
||||
|
@ -730,5 +730,5 @@ module zeroriscy_core
|
|||
.imm_sb_type ( id_stage_i.imm_sb_type )
|
||||
);
|
||||
`endif
|
||||
|
||||
`endif
|
||||
endmodule
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
// //
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
`ifndef VERILATOR
|
||||
|
||||
|
||||
`include "zeroriscy_config.sv"
|
||||
|
||||
import zeroriscy_defines::*;
|
||||
|
@ -439,3 +442,4 @@ module zeroriscy_tracer
|
|||
end // always @ (posedge clk)
|
||||
|
||||
endmodule
|
||||
`endif
|
Loading…
Add table
Add a link
Reference in a new issue