mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 05:07:21 -04:00
ISACOV : Ignore OFLOW BIN when check_overflow = 0
This commit is contained in:
parent
bfd77a2b1c
commit
bd345e5ceb
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