mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-24 06:07:19 -04:00
Merge pull request #2110 from ThalesSiliconSecurity/isacovfix
ISACOV: Ignore OFLOW BIN when check_overflow = 0
This commit is contained in:
commit
778a20bf18
1 changed files with 2 additions and 2 deletions
|
@ -549,9 +549,9 @@ covergroup cg_div_special_results(
|
|||
}
|
||||
|
||||
cp_div_arithmetic_overflow : coverpoint instr.rs1_value {
|
||||
//ignore_bins IGN_OVERFLOW = {[0:$]} with (!check_overflow);
|
||||
`ifdef UNSUPPORTED_WITH
|
||||
bins OFLOW = {32'h8000_0000} iff (check_overflow && instr.rs2_value == 32'hffff_ffff); //TODO
|
||||
ignore_bins IGN_OVERFLOW = cp_div_arithmetic_overflow iff (!check_overflow);
|
||||
bins OFLOW = {32'h8000_0000} iff (instr.rs2_value == 32'hffff_ffff); //TODO
|
||||
`else
|
||||
bins OFLOW = {32'h8000_0000} with (check_overflow) iff (instr.rs2_value == 32'hffff_ffff);
|
||||
`endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue