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

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]

This exact result is bookmarkable — the URL contains all your inputs. Need it in a script? Append &format=json (API docs).

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.

Related tools