mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-25 14:37:32 -04:00
ibex_tracer: Remove Verilator gating
We want people to get an error when compiling the tracer with Verilator: this file should not be used with Verilator. An error is better than silently getting the wrong result.
This commit is contained in:
parent
62f3573f2b
commit
bcaead3ea6
1 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,6 @@
|
||||||
// //
|
// //
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
`ifndef VERILATOR
|
|
||||||
|
|
||||||
import ibex_pkg::*;
|
import ibex_pkg::*;
|
||||||
import ibex_tracer_pkg::*;
|
import ibex_tracer_pkg::*;
|
||||||
|
@ -30,6 +29,9 @@ import ibex_tracer_pkg::*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Traces the executed instructions
|
* Traces the executed instructions
|
||||||
|
*
|
||||||
|
* Note: Verilator does not support the language constructs used in this
|
||||||
|
* module!
|
||||||
*/
|
*/
|
||||||
module ibex_tracer #(
|
module ibex_tracer #(
|
||||||
parameter int unsigned RegAddrWidth = 5
|
parameter int unsigned RegAddrWidth = 5
|
||||||
|
@ -418,5 +420,3 @@ endmodule
|
||||||
`undef REG_S2
|
`undef REG_S2
|
||||||
`undef REG_S3
|
`undef REG_S3
|
||||||
`undef REG_D
|
`undef REG_D
|
||||||
|
|
||||||
`endif
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue