# I want to write an assertion where genclock must rise in the setup or hold time window(say 2ns each) of refclock. Is there a in built timing check for this?

**URL:** <https://verificationacademy.com/forums/t/i-want-to-write-an-assertion-where-genclock-must-rise-in-the-setup-or-hold-time-window-say-2ns-each-of-refclock-is-there-a-in-built-timing-check-for-this/39557>\
**Category:** SystemVerilog\
**Tags:** Assertions-clock, SystemVerilog, timing-checks\
**Created:** [September 13, 2021, 7:08am UTC](https://verificationacademy.com/forums/t/i-want-to-write-an-assertion-where-genclock-must-rise-in-the-setup-or-hold-time-window-say-2ns-each-of-refclock-is-there-a-in-built-timing-check-for-this/39557 "2021-09-13T07:08:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![soh2415](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@soh2415](https://verificationacademy.com/forums/u/soh2415)\
**Post date:** [September 16, 2021, 7:16am UTC](https://verificationacademy.com/forums/t/i-want-to-write-an-assertion-where-genclock-must-rise-in-the-setup-or-hold-time-window-say-2ns-each-of-refclock-is-there-a-in-built-timing-check-for-this/39557/3 "2021-09-16T07:16:11Z")

</div>

_In reply to [Rsignori92](https://verificationacademy.com/forums/t/i-want-to-write-an-assertion-where-genclock-must-rise-in-the-setup-or-hold-time-window-say-2ns-each-of-refclock-is-there-a-in-built-timing-check-for-this/39557/2):_  
Can you specify a code. I have gone through timing checks but not getting clarity

---

_[View the full topic](https://verificationacademy.com/forums/t/i-want-to-write-an-assertion-where-genclock-must-rise-in-the-setup-or-hold-time-window-say-2ns-each-of-refclock-is-there-a-in-built-timing-check-for-this/39557)._
