# Transition Coverage to cover time range

**URL:** <https://verificationacademy.com/forums/t/transition-coverage-to-cover-time-range/36651>\
**Category:** Coverage\
**Tags:** Coverage, Transition-Coverage\
**Created:** [October 10, 2019, 10:01am UTC](https://verificationacademy.com/forums/t/transition-coverage-to-cover-time-range/36651 "2019-10-10T10:01:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaydipfadadu](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/j/898d66/32.png) [@jaydipfadadu](https://verificationacademy.com/forums/u/jaydipfadadu)\
**Post date:** [October 10, 2019, 10:01am UTC](https://verificationacademy.com/forums/t/transition-coverage-to-cover-time-range/36651/1 "2019-10-10T10:01:58Z")

</div>

Hi,

I have following cover point

coverpoint (sigX, sigY}) {bins hit = (2’b10=\>2’b00[\*1:10]=\>2’b01); bins hit2 = (2’b01=\>2’b00[\*1:10]=\>2’b10 );}

Basically I want this two asynchronous events to come within 10 clk period.

Now I want to cover the whole range [\*1:10]. In simple words, I want this events to come at 10 clk, 9 clk, 8 clk,…,0 clk time difference.

Is there any option predefined in System Verilog for this? How do I go about it?

I was thinking if I give the option.at\_least=100 and cover point is hit than I can assume that it would have covered 1:10 range. But this is relying on randomness.

---

<div class="post-metadata">

**Author:** ![Rahulkumar2](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/rahulkumar2/32/3675_2.png) [@Rahulkumar2](https://verificationacademy.com/forums/u/Rahulkumar2)\
**Post date:** [December 18, 2019, 1:06pm UTC](https://verificationacademy.com/forums/t/transition-coverage-to-cover-time-range/36651/2 "2019-12-18T13:06:19Z")

</div>

_In reply to [jaydipfadadu](https://verificationacademy.com/forums/t/transition-coverage-to-cover-time-range/36651):_

```verilog

coverpoint ({sigX, sigY}) {
   bins hit[10] = (2'b10=>2'b00[*1:10]=>2'b01); 
   bins hit2[10] = (2'b01=>2'b00[*1:10]=>2'b10);
   }

//if you don't use [] then by default it create one bin. so explicitly specifying to create 10 bins (hit[10])
//if use hit[] then also it will create 10 bins

```
