# System verilog assertion

**URL:** <https://verificationacademy.com/forums/t/system-verilog-assertion/35189>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, system-verilog-assertion-SVA\
**Created:** [October 16, 2018, 5:50am UTC](https://verificationacademy.com/forums/t/system-verilog-assertion/35189 "2018-10-16T05:50:21Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Abhilashch](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/f6c823/32.png) [@Abhilashch](https://verificationacademy.com/forums/u/Abhilashch)\
**Post date:** [October 16, 2018, 12:26pm UTC](https://verificationacademy.com/forums/t/system-verilog-assertion/35189/3 "2018-10-16T12:26:24Z")

</div>

_In reply to [Ronak Bhatt](https://verificationacademy.com/forums/t/system-verilog-assertion/35189/2):_  
realtime v;  
(posedge local\_clk1) disable iff ((!enable)|(!reset)) (v=$realtime) |-\> @(negedge local\_clk1) ($realtime-v)==TON\_local\_clk1;

i wanted check above thing my code but i could not able to sample v = $realtime its showing syntax error as you said , so any other way i can sample the v in my property or any other way i can write my property , because if am not use the disable iff i will get initially assertion error (when enable and is low);

---

_[View the full topic](https://verificationacademy.com/forums/t/system-verilog-assertion/35189)._
