Ex 1. The path from FF1 to FF2 is designed to take 2 clock cycles rather than 1.
set_multicycle_path -setup 2 \
-from [get_cells FF1] -to [get_cells FF2]
set_multicycle_path -hold 1 \
-from [get_cells FF1] -to [get_cells FF2]
The first set_multicycle_path command specifies that the path takes 2 clock cycles.
The second set_multicycle_path command moves the capture edge of the hold relationship backward by 1 clock cycle.
Ex 2. The path from FF1 to FF2 is designed to take 5 clock cycles rather than one.
set_multicycle_path -setup 5 \
-from [get_cells FF1] -to [get_cells FF2]
set_multicycle_path -hold 4 \
-from [get_cells FF1] -to [get_cells FF2]
The first set_multicycle_path command specifies that the path takes 5 clock cycles.
The second set_multicycle_path command moves the capture edge of the hold relationship backward by 4 clock cycle.