Skip to content

Commit

Permalink
Fix icache regression failure on VCS
Browse files Browse the repository at this point in the history
It appears that VCS require expression after `iff` to be wrapped inside
parenthesis otherwise it will complain about syntax error.

This should fix the weekly VCS regression.

Signed-off-by: Gary Guo <[email protected]>
  • Loading branch information
nbdd0121 committed Aug 13, 2024
1 parent 3937e48 commit 23eb6bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dv/uvm/icache/dv/fcov/ibex_icache_fcov_if.sv
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,10 @@ interface ibex_icache_fcov_if import ibex_pkg::*; #(
}
cp_state: coverpoint fill_buffer_state;
cp_fill_buffer_done_reason : coverpoint fill_buffer_done_reason;
cp_state_when_disabling: coverpoint fill_buffer_state iff icache_just_disabled;
cp_state_when_enabling: coverpoint fill_buffer_state iff icache_just_enabled;
cp_state_when_inval_start: coverpoint fill_buffer_state iff icache_inval_start;
cp_starting_beat: coverpoint starting_beat iff fill_alloc[i_fb];
cp_state_when_disabling: coverpoint fill_buffer_state iff (icache_just_disabled);
cp_state_when_enabling: coverpoint fill_buffer_state iff (icache_just_enabled);
cp_state_when_inval_start: coverpoint fill_buffer_state iff (icache_inval_start);
cp_starting_beat: coverpoint starting_beat iff (fill_alloc[i_fb]);
endgroup

`DV_FCOV_INSTANTIATE_CG(icache_fillbuf_cg, en_icache_fcov)
Expand Down

0 comments on commit 23eb6bc

Please sign in to comment.