Forum Discussion
JJin01
New Contributor
7 years agoset_clock_group constraints question!! plz help..
I have clocks, one of which is a ripple clock. I don't know how to set_clock_group this. Details are shown in the picture. If you look at the picture, there are a_clock and b,c,d,e. a_clock is the...
Abe
Frequent Contributor
7 years agoYou could use something like this:
set_time_format -unit ns -decimal_places 3
# Create the first input clock to the mux
create_clock -period 10 -name clockA [get_ports a_clock]
# Create the second input clock to the mux
create_clock -period 10 -name clockB [get_ports b_clock]
#Cut transfers between FirstClock and SecondClock
set_clock_groups -exclusive -group {clockA} -group {clockB}or the following for externally switched clocks
set_time_format -unit ns -decimal_places 3
# Create the first input clock on the clock port
create_clock -period 10 -name clockA [get_ports a_clock]
# Create the second input clock on the same clock port
create_clock -period 10 -name clockB [get_ports b_clock] -add
# Cut transfers between FirstClock and SecondClock
set_clock_groups -exclusive -group { clockA } -group { clockB }