# Ignore\_bins for cross on transition coverpoints

**URL:** <https://verificationacademy.com/forums/t/ignore-bins-for-cross-on-transition-coverpoints/38356>\
**Category:** Coverage\
**Tags:** transition-coverage-cross-bins-ignore\_bins, Coverage\
**Created:** [November 18, 2020, 10:11am UTC](https://verificationacademy.com/forums/t/ignore-bins-for-cross-on-transition-coverpoints/38356 "2020-11-18T10:11:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [November 18, 2020, 6:58pm UTC](https://verificationacademy.com/forums/t/ignore-bins-for-cross-on-transition-coverpoints/38356/2 "2020-11-18T18:58:30Z")

</div>

_In reply to [Avi\_311](https://verificationacademy.com/forums/t/ignore-bins-for-cross-on-transition-coverpoints/38356):_

SystemVerilog only recognizes the last value of a transition in a cross bin selection.

Normally people do not mix transitions with values in the same bin. The values are redundant in your case. However might be easier to create separate overlapping bins just for making your cross easier to define.

```verilog
size_cp: coverpoint cov_params.size{
    bins s64 = {64};
    bins bsize[] = (32=>64,32=>64);
}
channel_cp: coverpoint cov_params.channel{
    bins c0 = {0};
    bins channel[] = (1=>0,1=>0);
}
 
channel_size_cross: cross channel_cp, size_cp {
  ignore_bins ig = binsof(size_cp.size) || binsof(channel_cp.channel);
}

```

---

_[View the full topic](https://verificationacademy.com/forums/t/ignore-bins-for-cross-on-transition-coverpoints/38356)._
