I have 2 codes below ::
coverpoint tr.kind // 4- bit variable
{
bins zero = { 0 } ;
bins lo = { [1:3] } ;
bins hi[] = { [8:$] } ;
bins misc = default ;
}
// Without default bin
coverpoint tr.kind // 4- bit variable
{
bins zero = { 0 } ;
bins lo = { [1:3] } ;
bins hi[] = { [8:$] } ;
}
**Since default bins do not contribute to coverage , what are the benefits of defining them ?
Without them coverage would still be calculated based on the number of user-defined bins right ?**