I have used same scenario in my code. It is working fine. But it is not showing coverage for every instance of covergroup individually in dve tool. It is showing overall coverage of all the instances of covergroup in coverage tool. Can you help me with that?
In reply to dave_59:
Hi Dave,
how to write the same covergroup if i want to have many coverpoints inside. can you please show with same example?
With Regards
Ajay
i now understand that ‘ref’ should be written only once. i.e. at the start of argument when passing multiple arguments.
ex-covergroup skew_val_cg (ref int cp1, int cp2, int cp3); // ref argument, only once
coverpoint cp1 {
bins skew_range_1 = {[124:0]};
}
coverpoint cp2 {
bins something = {range};
}
coverpoint cp3 {
bins ~~~~;
}
endgroup : skew_val_cg