# How to delay transition coverage event

**URL:** <https://verificationacademy.com/forums/t/how-to-delay-transition-coverage-event/29386>\
**Category:** Coverage\
**Tags:** System-Verilog, Coverage, transitions, function-coverage\
**Created:** [April 22, 2014, 10:14pm UTC](https://verificationacademy.com/forums/t/how-to-delay-transition-coverage-event/29386 "2014-04-22T22:14:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![etuers](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@etuers](https://verificationacademy.com/forums/u/etuers)\
**Post date:** [April 22, 2014, 10:14pm UTC](https://verificationacademy.com/forums/t/how-to-delay-transition-coverage-event/29386/1 "2014-04-22T22:14:54Z")

</div>

I have very complex transtions that I need to get coverage on. Transition coverage of more than one event seems to require that the transitions are on sequential clock cycles (not positive on this but this is my hypothesis on why multiple transtions are failing when they pass when tested separately). I don’t see any syntax that allow me to delay the second event an indeterminant number of clocks like what is available in sequences [0:$]. Anyone know how to do this? I have been searching for an answer, but their is not too much documentation on transitions.

---

<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 22, 2014, 10:40pm UTC](https://verificationacademy.com/forums/t/how-to-delay-transition-coverage-event/29386/2 "2014-04-22T22:40:39Z")

</div>

You need to specify, with an example possibly, what you are looking to cover. The we might suggest an alternative. But transition bins are very limited in what you can specify so you may need to resort to using sequences with a **cover** directive.

---

<div class="post-metadata">

**Author:** ![etuers](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@etuers](https://verificationacademy.com/forums/u/etuers)\
**Post date:** [April 24, 2014, 4:59pm UTC](https://verificationacademy.com/forums/t/how-to-delay-transition-coverage-event/29386/3 "2014-04-24T16:59:47Z")

</div>

_In reply to [etuers](https://verificationacademy.com/forums/t/how-to-delay-transition-coverage-event/29386/2):_

Here is an example code. Need to verify the path through a transition tree, where one or more bits change and there could be more than one clock cycle between transitions. Don’t have this code working at this time:  
tracking\_bits\_cp: coverpoint tracking\_bits[i] iff(rst\_l2c\_n) {

```
  wildcard bins P0a_1_2a_3a_5_17_18_0_p = ( 32'b????????_????????_????????_???????0 [*1:100] => //invalid 0
                                                   32'b00000000_00000000_00000000_00000001 [*1:100] => //CmdValid 1
                                                   32'b00000000_00000000_00000000_000???11 [*1:100] => //SnpSent_0 2
                                                   32'b00000000_00000000_0000000?_??1???11 [*1:100] => //SnpRespValid_0 3
                                                   32'b00000000_00000000_000001??_??1???11 [*1:100] => //SnpUpdateTaken 5
                                                    32'b????????_????????_????????_???????0 ); //invalid 0

```

endgroup: sequence\_cover

sequence\_cover sequence\_cover\_inst[16];  
initial  
foreach (sequence\_cover\_inst[i]) sequence\_cover\_inst[i] = new(i);

---

<div class="post-metadata">

**Author:** ![Naven8](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/n/e495f1/32.png) [@Naven8](https://verificationacademy.com/forums/u/Naven8)\
**Post date:** [April 28, 2014, 1:31pm UTC](https://verificationacademy.com/forums/t/how-to-delay-transition-coverage-event/29386/4 "2014-04-28T13:31:24Z")

</div>

_In reply to [etuers](https://verificationacademy.com/forums/t/how-to-delay-transition-coverage-event/29386/3):_

Try to use goto repetition/non-consecutive repetition instead of range repetition.

```verilog

  value [-> 1]  
 or value [= 1]

```

Using range repetition you are trying to say that the same sequence should come 1 or 2 or… 100 times consecutively followed by next value. Looks like your intent is do following.

seq1 =\>…=\> seq2=\>…seq3=\>…  
… means any value can come in between.
