# Timescale

**URL:** <https://verificationacademy.com/forums/t/timescale/38170>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, timescale-time\_unittime\_precision\
**Created:** [October 5, 2020, 4:56am UTC](https://verificationacademy.com/forums/t/timescale/38170 "2020-10-05T04:56:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anveshdangeti](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@anveshdangeti](https://verificationacademy.com/forums/u/anveshdangeti)\
**Post date:** [October 5, 2020, 4:56am UTC](https://verificationacademy.com/forums/t/timescale/38170/1 "2020-10-05T04:56:23Z")

</div>

how to adjust timescale to 60 MHZ clock? The time period for 60 MHz is 16.666666666666ns.how to adjust the time\_precision?

---

<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:** [October 5, 2020, 6:39pm UTC](https://verificationacademy.com/forums/t/timescale/38170/2 "2020-10-05T18:39:36Z")

</div>

_In reply to [anvesh dangeti](https://verificationacademy.com/forums/t/timescale/38170):_

Round it to ps. Simulation does not care about physical time units. Just make sure you account for drift between long periods of delay due to these rounding errors. i.e.in a 1000 clock cycles you be off by ps. That only matters if there are multiple clock frequencies that have to line up periodically.

---

<div class="post-metadata">

**Author:** ![anveshdangeti](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@anveshdangeti](https://verificationacademy.com/forums/u/anveshdangeti)\
**Post date:** [October 6, 2020, 5:02am UTC](https://verificationacademy.com/forums/t/timescale/38170/3 "2020-10-06T05:02:19Z")

</div>

i am converting 16.666666666666ns to Pico seconds it will get 16,666.6666ps.when i am using timescale 1ps/1ps than i am getting frequency 60.0024001mhz.How can i get exact 60 MHz clock. For how can i adjust the timescale?

---

<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:** [October 6, 2020, 5:32am UTC](https://verificationacademy.com/forums/t/timescale/38170/4 "2020-10-06T05:32:24Z")

</div>

_In reply to [anvesh dangeti](https://verificationacademy.com/forums/t/timescale/38170/3):_

Digital simulation uses discrete integral time values. The closest you can get to 60Mhz is 59.9999988 MHz with a period of 16666667fs. You need to explain why you need so much precision which could come at a cost of simulation performance.

---

<div class="post-metadata">

**Author:** ![anveshdangeti](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@anveshdangeti](https://verificationacademy.com/forums/u/anveshdangeti)\
**Post date:** [October 6, 2020, 7:51am UTC](https://verificationacademy.com/forums/t/timescale/38170/5 "2020-10-06T07:51:33Z")

</div>

I am enthusiastic to learn this concept. thanks Dave for providing solution for my question.
