22.20.16 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

For the ProASIC3/E, ProASICPLUS, ProASIC, Axcelerator, SXS, SX-A, and eX families, Microchip recommends that you use the equivalent SDC command create_clock.

Examples

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

timer_setenv_clock_freq -clock {clkl} -freq 100.00

See Also

create_clock (SDC clock constraint)

Tcl documentation conventions

timer_setenv_clock_period