Hi, I have a covergroup which contains two coverpoints and one cross. Unfortunately, The cross point cannot be hit.
covergroup cg_my(string cg_name) @(cov_evt);
cp_A: coverpoint data iff (addr == 2) {
bins B0 = { 0 };
bins B1 = { 1 };
}
cp_B: coverpoint data iff (addr == 3) {
bins APB = { 32'd8 };
bins AHB = { 32'd9 };
}
A_X_B: cross cp_A, cp_B {
bins B0_APB = binsof(cp_A.B0) && binsof(cp_B.APB);
bins B1_AHB = binsof(cp_A.B1) && binsof(cp_B.AHB);
}
endgroup
The "A_X_B" cross point it never hit.