# Clock precision setting

**URL:** <https://verificationacademy.com/forums/t/clock-precision-setting/38771>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, clock\
**Created:** [March 2, 2021, 6:04am UTC](https://verificationacademy.com/forums/t/clock-precision-setting/38771 "2021-03-02T06:04:24Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [March 5, 2021, 8:28am UTC](https://verificationacademy.com/forums/t/clock-precision-setting/38771/7 "2021-03-05T08:28:54Z")

</div>

_In reply to [bachan21](https://verificationacademy.com/forums/t/clock-precision-setting/38771/6):_

$time returns an integer, $realtime returns a real. That _could_ have been one possible issue with the original incomplete piece of code, but it did not show any use of either function. If they were just looking at waveforms, that would not have mattered.

---

_[View the full topic](https://verificationacademy.com/forums/t/clock-precision-setting/38771)._
