Frequency / Period Converter
Convert between clock frequency and period across GHz/MHz/kHz/Hz and ns/ps/us, and copy the matching Vivado XDC and Quartus SDC create_clock constraints.
Results
- Frequency
- 0.1 GHz | 100 MHz | 100000 kHz | 1e+08 Hz
- Period
- 0.01 us | 10 ns | 10000 ps
- Cycles per microsecond
- 100
Notes
- Timing closure margin: at 100 MHz every register-to-register path must settle in 10 ns minus clocking overhead.
Vivado XDC
# Vivado XDC - 100 MHz
create_clock -period 10.000 -name sys_clk [get_ports clk]
Quartus SDC
# Quartus SDC - 100 MHz
create_clock -period 10.000 -name sys_clk [get_ports clk]
About this tool
Timing closure conversations constantly hop between frequency and period — a 250 MHz constraint is a 4 ns budget, a 750 ps slack violation eats 18% of it. This converter does the arithmetic in every direction at once and hands you the matching create_clock line for Vivado (XDC) or Quartus (SDC), since that's almost always the next thing you type.