Hi all,
in the cross coverage written for the below , im unable to get the results , please can anyone look into the issue
im calling the reg_blk.sample() method in the end of run_phase in test method.
covergroup c1;
option.per_instance = 1;
a : coverpoint regA.value[2:0];
b : coverpoint regB.value[2:0];
c : coverpoint regC.value[4:0];
axbxc : cross a,b,c
{
bins a_0_b_1_c_0 = binsof(a) intersect{'d0} && binsof(b) intersect{'d1} && binsof(c) intersect{'d0} ;
bins a_0_b_1_c_1 = binsof(a) intersect{'d0} && binsof(b) intersect{'d1} && binsof(c) intersect{'d1} ;
bins a_0_b_2_c_0 = binsof(a) intersect{'d0} && binsof(b) intersect{'d2} && binsof(c) intersect{'d0} ;
bins a_0_b_2_c_1 = binsof(a) intersect{'d0} && binsof(b) intersect{'d2} && binsof(c) intersect{'d1} ;
bins a_0_b_2_c_2 = binsof(a) intersect{'d0} && binsof(b) intersect{'d2} && binsof(c) intersect{'d2} ;
bins a_0_b_2_c_3 = binsof(a) intersect{'d0} && binsof(b) intersect{'d2} && binsof(c) intersect{'d3} ;
.
.
.
.
}
endgroup