# SV assertion for clock gating & Reset check

**URL:** <https://verificationacademy.com/forums/t/sv-assertion-for-clock-gating-reset-check/32495>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog\
**Created:** [November 6, 2016, 11:42am UTC](https://verificationacademy.com/forums/t/sv-assertion-for-clock-gating-reset-check/32495 "2016-11-06T11:42:07Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![S.P.Rajkumar.V](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/s/e9a140/32.png) [@S.P.Rajkumar.V](https://verificationacademy.com/forums/u/S.P.Rajkumar.V)\
**Post date:** [November 11, 2016, 11:32am UTC](https://verificationacademy.com/forums/t/sv-assertion-for-clock-gating-reset-check/32495/3 "2016-11-11T11:32:59Z")

</div>

_In reply to [ben@SystemVerilog.us](https://verificationacademy.com/forums/t/sv-assertion-for-clock-gating-reset-check/32495/2):_

Hi Ben,

Thank you very much for reviewing the assertions and providing valuable inputs.

But I am still facing issue in the following scenario:  
Reset enable is de-asserted → held for some time → and then reset en is asserted again.

I have coded the following asertion for this scenario:

```verilog
property rst_disable_chk;
  @(posedge ref_clk)
    $fell(reset_en) |-> (reset_n throughout reset_en [->1]);
endproperty

```

As the async reset assertion is immediate, the reset\_n signal changes directly with reset\_en change, where-as the throughout is expecting the old value of reset\_n at the time of reset assertion and hence a assertion failure is issued.

So, how do I handle the through-out check here? Please suggest.

Thanks,  
Rajkumar.

---

_[View the full topic](https://verificationacademy.com/forums/t/sv-assertion-for-clock-gating-reset-check/32495)._
