Hi,
I am trying to do coverage between specific bits between two different coverpoint:
(i want to get combination of "POINT1=0 and POINT2=1"
------------------------------------------------------------------------------------------------------------------------------
POINT1 : coverpoint cfg.mode
{ bins zero = {0};
bins one = {1}; }
POINT2 : coverpoint cfg.mode
{ bins zero = {0};
bins one = {1}; }
POINT1_CROSS_POINT2 : cross POINT1, POINT2 iff (cfg.rstn) {
bins 1_zero_cross_2one = binsof (POINT1) intersect {0} && binsof (POINT2) intersect {1};
}
------------------------------------------------------------------------------------------------------------------------------
But i dont get on the coverage the bin "1_zero_cross_2one" and if i covered it.
What i get is all the options between "POINT1" and "POINT2" and that's not what i want.