How to find what timescale is used in simulation?

Make it to the Right and Larger Audience

How to find what timescale is used in simulation?
3 Voices |3 Posts |1000+ | Discussion Rooom: IC Frontend Design

This topic contains 2 replies, has 3 voices, and was last updated by  dino1729 4 years, 4 months ago.

  • Author
  • DRama
    Master student
    Post count: 1

    I know we can use timescale to define the desired simulation resolution in a Verilog file. But timescale can be put anywhere. For example, top module defines 1ps, top/sub defines 2ps, top/sub/sub defines 3ps, and so on. How do I know exactly what resolution is used in simulation with so many timescale scattered around?

  • ckegley
    Senior Engineer
    Qualcomm, Inc
    Post count: 1

    In Verilog, you can use $printtimescale to find out sim resolution for a specific module. For example,


  • dino1729
    Post count: 1

    (1/frequency)/(no. of divisions in a wavelength)

You must be logged in to reply to this topic.

Contact Us

Thanks for helping us better serve the community. You can make a suggestion, report a bug, a misconduct, or any other issue. We'll get back to you using your private message ASAP.



Forgot your details?