# How Can I Hold Off an Assertion Until Sync is Established Using a Local Variable?

**URL:** <https://verificationacademy.com/forums/t/how-can-i-hold-off-an-assertion-until-sync-is-established-using-a-local-variable/29489>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, local-variables, assertion\
**Created:** [May 21, 2014, 4:53pm UTC](https://verificationacademy.com/forums/t/how-can-i-hold-off-an-assertion-until-sync-is-established-using-a-local-variable/29489 "2014-05-21T16:53:19Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![hal9e3](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/h/c6cbf5/32.png) [@hal9e3](https://verificationacademy.com/forums/u/hal9e3)\
**Post date:** [May 22, 2014, 3:52pm UTC](https://verificationacademy.com/forums/t/how-can-i-hold-off-an-assertion-until-sync-is-established-using-a-local-variable/29489/5 "2014-05-22T15:52:47Z")

</div>

_In reply to [hal9e3](https://verificationacademy.com/forums/t/how-can-i-hold-off-an-assertion-until-sync-is-established-using-a-local-variable/29489/4):_

My, mistake, this did NOT fix the problem, either variant. The assertion only fires when d == SYNC\_DATA.

---

_[View the full topic](https://verificationacademy.com/forums/t/how-can-i-hold-off-an-assertion-until-sync-is-established-using-a-local-variable/29489)._
