Timescale

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

In reply to anvesh dangeti:

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.

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?

In reply to anvesh dangeti:

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.

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