Hello,
This my covergroup sample example,
It includes two data of 2 bits in a class that i have not mention in code sample.In that I have to make sure that cross coverage of both data must ignores the bins whenever the data2 is ‘1’. Means there are 4 cases 0-1,1-1,2-1,3-1. But in my case it just ignores any one of the above case because i have generated 1 ‘lo’ ignore bins .
So what to modify in these to have all four cases get ignored ?
covergroup cvp;
coverpoint obj1.data1;
coverpoint obj1.data2;
cross obj1.data1,obj1.data2
{
ignore_bins lo = binsof(obj1.data1) intersect{1};
}
endgroup