# Bins of unused numbers

**URL:** <https://verificationacademy.com/forums/t/bins-of-unused-numbers/40285>\
**Category:** Coverage\
**Tags:** Coverage-bins, Coverage\
**Created:** [April 18, 2022, 7:44am UTC](https://verificationacademy.com/forums/t/bins-of-unused-numbers/40285 "2022-04-18T07:44:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oglick](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/o/c6cbf5/32.png) [@oglick](https://verificationacademy.com/forums/u/oglick)\
**Post date:** [April 18, 2022, 7:44am UTC](https://verificationacademy.com/forums/t/bins-of-unused-numbers/40285/1 "2022-04-18T07:44:37Z")

</div>

## Hi, How can i define coverage for bins i didn’t declare?

## EX : coverpoint five\_vector { bins one = {5’d1}; bins three = {5’d3}; _ **i want to declare for all bins but 1,3** _\_\_\_\_\_;}

---

<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 18, 2022, 3:40pm UTC](https://verificationacademy.com/forums/t/bins-of-unused-numbers/40285/2 "2022-04-18T15:40:53Z")

</div>

_In reply to [oglick](https://verificationacademy.com/forums/t/bins-of-unused-numbers/40285):_

If you don’t mind the overlap, you can write:

```verilog
 coverpoint vector {
    bins one = {5'd1}; 
    bins three = {5'd3};
    bins unused[] = {[0:$]};
  }

```

Otherwise the more explicit solution is using the with clause

```verilog
coverpoint vector {
    bins one = {5'd1}; 
    bins three = {5'd3};
    bins unused[] = {[0:$]} with (item != 1 && item != 3);
  }

```
