21.9.25 smartpower_init_set_set_reset_options

Description

This Tcl command initializes the frequency and probability of all set and reset nets.

smartpower_init_set_set_reset_options \
         [-freq "decimal value [unit { Hz | KHz | MHz | % }]"] \
         [-proba "decimal value"]

Arguments

ParameterTypeDescription
freqdecimalSpecifies the user input frequency (in Hz, KHz, or MHz) or the toggle rate (in %). If the unit is not provided and toggle rate is active, the value is handled as a toggle rate, if toggle rate is not active, the value is handled as a frequency. This parameter is optional.
probadecimalSpecifies the user input probability in persentage(%). This parameter is optional.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneParameter 'proba' must be a positive decimal value.
NoneParameter 'proba' must be less than or equal to 100.000.
Noneproba: Invalid argument value: 'value' (expecting decimal value).
Noneproba: Invalid argument value: 'value' (expecting decimal value).
NoneParameter 'proba' has illegal value.
Nonefreq: Parameter format incorrect (expecting a positive decimal value, optionally followed by a unit (possible values are Hz, KHz, MHz or %)).
NoneParameter 'freq' has illegal value.
NoneParameter 'param_name' is not defined. Valid command formatting is 'smartpower_init_set_set_reset_options [-freq "decimal value [unit { Hz | KHz | MHz | % }]"] [-proba "decimal value"]'.

Supported Families

PolarFire®
SmartFusion® 2
RTG4™
IGLOO® 2
PolarFire SoC

Example

The following example initializes all set/reset nets after executing "smartpower_init_do" with "-set_reset {true}":

smartpower_init_do -set_reset {true}
smartpower_init_set_set_reset_options -freq {10 MHz} -proba {20}

See Also