Functional coverage for different enable signal of RTL

sl0_c0 : coverpoint SL0_C0_SNAP_DP.compress_active_flag { bins s0_c0[1] ={1}; } sl0_c1 : coverpoint SL0_C1_SNAP_DP.compress_active_flag { bins s0_c1[1] ={1}; }
sl0_c2 : coverpoint SL0_C2_SNAP_DP.compress_active_flag { bins s0_c2[1] ={1}; } sl0_c3 : coverpoint SL0_C3_SNAP_DP.compress_active_flag { bins s0_c3[1] ={1}; }

sl1_c0 : coverpoint SL1_C0_SNAP_DP.compress_active_flag { bins s1_c0[1] ={1}; } sl1_c1 : coverpoint SL1_C1_SNAP_DP.compress_active_flag { bins s1_c1[1] ={1}; }
sl1_c2 : coverpoint SL1_C2_SNAP_DP.compress_active_flag { bins s1_c2[1] ={1}; } sl1_c3 : coverpoint SL1_C3_SNAP_DP.compress_active_flag { bins s1_c3[1] ={1}; }

sl2_c0 : coverpoint SL2_C0_SNAP_DP.compress_active_flag { bins s2_c0[1] ={1}; } sl2_c1 : coverpoint SL2_C1_SNAP_DP.compress_active_flag { bins s2_c1[1] ={1}; }
sl2_c2 : coverpoint SL2_C2_SNAP_DP.compress_active_flag { bins s2_c2[1] ={1}; } sl2_c3 : coverpoint SL2_C3_SNAP_DP.compress_active_flag { bins s2_c3[1] ={1}; }

sl3_c0 : coverpoint SL3_C0_SNAP_DP.compress_active_flag { bins s3_c0[1] ={1}; } sl3_c1 : coverpoint SL3_C1_SNAP_DP.compress_active_flag { bins s3_c1[1] ={1}; }
sl3_c2 : coverpoint SL3_C2_SNAP_DP.compress_active_flag { bins s3_c2[1] ={1}; } sl3_c3 : coverpoint SL3_C3_SNAP_DP.compress_active_flag { bins s3_c3[1] ={1}; }

paralle_comp : cross sl0_c0,sl0_c1,sl0_c2,sl0_c3,sl1_c0,sl1_c1,sl1_c2,sl1_c3,sl2_c0,sl2_c1,sl2_c2,sl2_c3,sl3_c0,sl3_c1,sl3_c2,sl3_c3;


then i m trying to cross of among these 16 signals then it will show in coverage cross posibillities = 1 …covered 0…Uncovered 1

I want to cross all 16 enable value …
and dont want to collect coverage when signals are low.

In reply to nidhi0844:

Please solve out as soon as possible .

In reply to nidhi0844:

Whats the issue are you facing with this code!?

In reply to Vinay Jain:

Hi Nidhi,

   I have small question, why are you trying to get functional coverage on RTL signals ?

Because i want to collect coverage for all valid signals for specific scenario when they are enable …

I want to cover all running parallel operations possibilities.

And there are no any variable or bit for it.
That’s why have to use these signals to cover this scenario.

In reply to nidhi0844:

Nidhi: I know its already very late but its interesting problem you are solving, when you say:
don’t want to collect coverage when signals are low.

What do you mean can you define the bins you are interested when you cross?

If you don’t care of combinations and just want to cover multiple active and don’t care for combination then you can do countones and cover instead. Here you can have 16 bins.