# SVA: Sampling clk on consequent

**URL:** <https://verificationacademy.com/forums/t/sva-sampling-clk-on-consequent/29945>\
**Category:** SystemVerilog\
**Tags:** SVA-Assertion, SystemVerilog\
**Created:** [September 15, 2014, 3:10pm UTC](https://verificationacademy.com/forums/t/sva-sampling-clk-on-consequent/29945 "2014-09-15T15:10:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![user49](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/user49/32/4533_2.png) [@user49](https://verificationacademy.com/forums/u/user49)\
**Post date:** [September 15, 2014, 9:03pm UTC](https://verificationacademy.com/forums/t/sva-sampling-clk-on-consequent/29945/2 "2014-09-15T21:03:52Z")

</div>

> @(posedge clk1) $fell(A) |-\> ($rose(clk1)==1) [\*2];

The “($rose(clk1)” clocked with @(posedge clk1 means that @(posedge clk1) you are sampling the signal clk1 one delta time (i.e., just before) the posedge clk1. At that time, the sampling of clk1 has a value of ZERO!!! Also, you are using |-\> (i.e., in the same cycle), thus the assertion will fail at $fell(A).

You could however do the following:

```auto
ap_2cloks: assert property(@(posedge clk1) $fell(A) |=> strong(1[*2]);

```

The strong is necessary to qualify an assertion as a failure if the consequent never terminates at the end of simulation.

---

_[View the full topic](https://verificationacademy.com/forums/t/sva-sampling-clk-on-consequent/29945)._
