# Checking clock period using system verilog assertion

**URL:** <https://verificationacademy.com/forums/t/checking-clock-period-using-system-verilog-assertion/30272>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, assertion\
**Created:** [January 7, 2015, 12:30pm UTC](https://verificationacademy.com/forums/t/checking-clock-period-using-system-verilog-assertion/30272 "2015-01-07T12:30:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![raghavkumar](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/r/8e8cbc/32.png) [@raghavkumar](https://verificationacademy.com/forums/u/raghavkumar)\
**Post date:** [January 8, 2015, 7:33am UTC](https://verificationacademy.com/forums/t/checking-clock-period-using-system-verilog-assertion/30272/5 "2015-01-08T07:33:49Z")

</div>

_In reply to [ben@SystemVerilog.us](https://verificationacademy.com/forums/t/checking-clock-period-using-system-verilog-assertion/30272/4):_

thank u it was great help ,now the code is working  
replacing || with && and current\_time and clk\_period should have same data type. :)

---

_[View the full topic](https://verificationacademy.com/forums/t/checking-clock-period-using-system-verilog-assertion/30272)._
