# Ignoring cross coverage bins

**URL:** <https://verificationacademy.com/forums/t/ignoring-cross-coverage-bins/33054>\
**Category:** Coverage\
**Tags:** Coverage\
**Created:** [April 19, 2017, 4:08am UTC](https://verificationacademy.com/forums/t/ignoring-cross-coverage-bins/33054 "2017-04-19T04:08:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![debashis\_paul](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/d/d26b3c/32.png) [@debashis\_paul](https://verificationacademy.com/forums/u/debashis_paul)\
**Post date:** [April 19, 2017, 4:08am UTC](https://verificationacademy.com/forums/t/ignoring-cross-coverage-bins/33054/1 "2017-04-19T04:08:19Z")

</div>

Hi,

I have declared a cross coverage consisting of 3 coverpoint. And it auto generate 8 coverpoints. Now, i have declared user defined 2 bins as valid cross bins. (my intention is to generate only this two cross cover bins and to ignore remaining auto generated bins), but still i could still see there exists 6 auto generated bins. What are the ways that I can generate only my valid cross coverpoint and ignore other auto generate bins.

code snippet :

cross\_abc : cross c\_a;c\_b;c\_c  
{ bins cx\_c\_a = binsof (c\_a) intersect {1};  
bins cx\_c\_b = binsof (c\_b) intersect {1}; }

it generates 2 user defined bins cx\_c\_a and cx\_c\_b. But it also generates other auto bin which i am trying to ignore.

---

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [April 19, 2017, 12:16pm UTC](https://verificationacademy.com/forums/t/ignoring-cross-coverage-bins/33054/2 "2017-04-19T12:16:25Z")

</div>

_In reply to [debashis\_paul](https://verificationacademy.com/forums/t/ignoring-cross-coverage-bins/33054):_  
When you cross multiple coverpoints, SystemVerilog creates all the cross bins for you and your only choices are to merge those cross bins as your cross\_abc does above, or to ignore them using   
ignore\_bins. There are many ways to express sets of cross bins, so I would need to see what you are actually trying to cover. Sometimes, its easier to change the way you write your coverpoints to prevent the unwanted cross bins to get created in the first place.
