timer_setenv_clock_freq

Sets a required clock frequency for the specified clock in megahertz (MHz).

 

timer_setenv_clock_freq -clock clock_name -freq value [-dutycycle dutycycle]

Arguments

-clock clock_name

Specifies the name of the clock for which to set the required frequency.

 

-freq value

Specifies the frequency in MHz.

 

-dutycycle dutycycle

Specifies the duty cycle for the clock constraint.

Supported Families

All

Exceptions

Examples

The following example sets a clock frequency of 100MHz on the clock clk1:

 

timer_setenv_clock_freq -clock {clk1} -freq 100.00

See Also

create_clock (SDC clock constraint)

Tcl documentation conventions

timer_setenv_clock_period