Example Two: Division by 2 with the -edges Option - Example Two: Division by 2 with the -edges Option - 2026.1 English - UG903

Vivado Design Suite User Guide: Using Constraints (UG903)

Document ID
UG903
Release Date
2026-07-01
Version
2026.1 English

Use -edges instead of -divide_by to describe the generated clock waveform from master clock edges. Provide a list of master clock edge indexes that set the generated clock edge times, starting with the rising edge. This example matches Example One: Simple Division by 2.

# waveform specified with -edges instead of -divide_by
create_generated_clock -name clkdiv2 \
      -source [get_pins REGA/C] \
      -edges {1 3 5} [get_pins REGA/Q]