Production cheat sheets, syntax standards, timing equations, protocol channel definitions, and semiconductor technology comparison tables for chip design engineers.
Defines an ideal master clock source on an input port or pin. Specifies the nominal period in nanoseconds and 50% or custom duty cycle edges.
# 500 MHz Primary Clock (2.0 ns period)
create_clock -name sys_clk -period 2.000 \
-waveform {0.000 1.000} [get_ports clk_in]
# Clock Uncertainty (Jitter + Margin)
set_clock_uncertainty -setup 0.150 [get_clocks sys_clk]
set_clock_uncertainty -hold 0.050 [get_clocks sys_clk]
# Clock Transition (Slew)
set_clock_transition 0.080 [get_clocks sys_clk]
Defines clocks derived internally from master clocks via PLL multipliers, ripple dividers, or clock gating cells. Preserves phase relationships.
# Divide-by-2 Internal Ripple Clock
create_generated_clock -name clk_div2 \
-source [get_ports clk_in] \
-divide_by 2 \
[get_pins u_clk_div/clk_out]
# PLL 2x Multiplier Clock
create_generated_clock -name pll_clk_1ghz \
-source [get_pins u_pll/REF_CLK] \
-multiply_by 2 \
[get_pins u_pll/OUT_CLK]
Constrains arrival times at chip boundary pins relative to external system clocks. Max delay governs setup; min delay governs hold.
# Input Delay on Data Bus (Setup max, Hold min)
set_input_delay -clock [get_clocks sys_clk] -max 0.650 [get_ports data_in[*]]
set_input_delay -clock [get_clocks sys_clk] -min 0.150 [get_ports data_in[*]]
# Output Delay on External Bus
set_output_delay -clock [get_clocks sys_clk] -max 0.700 [get_ports data_out[*]]
set_output_delay -clock [get_clocks sys_clk] -min -0.100 [get_ports data_out[*]]
Instructs OpenSTA / PrimeTime to ignore timing analysis between mutually asynchronous or multiplexed clock domains with synchronizers.
# Decouple Asynchronous Domains
set_clock_groups -asynchronous \
-group [get_clocks {sys_clk clk_div2}] \
-group [get_clocks {pcie_refclk pcie_pipe_clk}] \
-group [get_clocks {jtag_tck}]
# Mutually Exclusive Multiplexed Clocks
set_clock_groups -logically_exclusive \
-group [get_clocks clk_fast] \
-group [get_clocks clk_slow]
Relaxes timing on datapath operations enabled every N cycles (e.g. clock-enabled registers or slow floating-point arithmetic units).
# 2-Cycle Setup Multi-cycle Path
set_multicycle_path 2 -setup \
-from [get_cells u_fpu/reg_a_reg[*]] \
-to [get_cells u_fpu/result_reg[*]]
# Adjust Hold to Preceding Edge (N-1 cycles)
set_multicycle_path 1 -hold \
-from [get_cells u_fpu/reg_a_reg[*]] \
-to [get_cells u_fpu/result_reg[*]]
Completely removes static, non-functional, or multi-cycle synchronizer paths from timing reports to prevent false timing violations.
# Asynchronous Reset Pins
set_false_path -from [get_ports rst_n]
# Quasi-Static Configuration Registers
set_false_path -from [get_cells u_csr/cfg_mode_reg[*]]
# 2-FF Synchronizer Cross-Paths
set_false_path -to [get_pins u_sync/*_meta_reg/D]