timer_setenv_clock_period -clock clock_name \
[-unit {value}] -period period_value \
[-dutycycle dutycycle]
-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:
Value |
Description |
ns |
nanoseconds |
ps |
picoseconds |
-period period_value
Specifies the period in the specified unit.
-dutycycle dutycycle
Specifies the duty cycle for the clock constraint.
For the ProASIC3/E, ProASICPLUS, ProASIC, Axcelerator, SX-S, SX-A, and eX families, Actel recommends that you use the equivalent SDC command create_clock.
timer_setenv_clock_period -clock clk1 -unit {ns} -period 2.40