22.20.17 timer_setenv_clock_period

Sets the clock period constraint on the specified clock.
timer_setenv_clock_period -clock clock_name \
[-unit {value} -period period_value \
[-dutycycle dutycycle]

Arguments

-clock clock_name

Specifies the name of the clock for which to set the period.

-unit {value}

Specifies the unit for the clock period constraint. The default is ns. The following table shows the acceptable values for this argument:

ValueDescription
nsnanoseconds
pspicoseconds

-period period_value

Specifies the period in the specified unit.

-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 period of 2.40ns on the clock clk1:

timer_setenv_clock_period -clock clkl unit (ns) -period 2.40

See Also

timer_setenv_clock_freq

Tcl documentation conventions