Skip to content

Commit

Permalink
Add SYNTHESIS ifdef around functional coverage code
Browse files Browse the repository at this point in the history
This functional code coverage section has hierarchical paths, which will
break certain synthesis and lint flows.

Signed-off-by: Michael Schaffner <[email protected]>
  • Loading branch information
msfschaffner committed Apr 21, 2022
1 parent 7fc013c commit e1128aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rtl/ibex_core.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1612,6 +1612,7 @@ module ibex_core import ibex_pkg::*; #(
// FCOV //
//////////

`ifndef SYNTHESIS
// fcov signals for CSR access. These are complicated by illegal accesses. Where an access is
// legal `csr_op_en` signals the operation occurring, but this is deasserted where an access is
// illegal. Instead `illegal_insn_id` confirms the instruction is taking an illegal instruction
Expand Down Expand Up @@ -1665,4 +1666,6 @@ module ibex_core import ibex_pkg::*; #(
end
end
end
`endif

endmodule

0 comments on commit e1128aa

Please sign in to comment.