Home / Learn Verilog / Timescale and Delays
Timescale and Delays
Time units and precision.
Bottom lineTime units and precision.
Breaking it down
Definition
`timescale 1ns/1ps sets the time unit and rounding precision for delays.
Why you need this
Delays mean nothing without a unit.
How it works
Put it at the top of every file.
Where you'll see this
- Everyday RTL design
- FPGA and ASIC projects
- Testbenches and debugging
Try it
Delays in nsVerilog: edit and run
The simulator is unit-less; real tools print in your timescale.
Test what you just read
1. 1ns/1ps means...
Unit and precision.