21.9.47 smartpower_set_pin_probability

Description

This tcl command sets the probability value of a pin driving an enable pin. For I/Os, if you do not use this command, the probability of the IOEnableSet is used. For memories, if you do not use this command, the probability of the MemoriesEnableSet is used.

smartpower_set_pin_probability -pin_name "name of pin" -pin_proba "decimal value"

Arguments

ParameterTypeDescription
pin_namestringSpecifies the name of a pin for which the probability will be set. This pin must be the direct driver of an enable pin. There may be multiple -pin_name arguments. This is mandatory.
pin_probadecimal valueSpecifies the value of the pin probability as a percentage(%), which can be any positive decimal between 0 and 100 inclusive.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneRequired parameter 'pin_name' is missing.
NoneFailed to set "value" pin frequency to 11.00.
Nonepin_proba: Invalid argument value: 'value' (expecting decimal value).
NoneParameter 'pin_proba' must be less than or equal to 100.000.
NoneParameter 'pin_proba' must be a positive decimal value.
NoneERROR in setSystemDomainIdOfPin. The pin indoes not exist.
None'smartpower_set_pin_probability [-pin_name "name of pin"]+ -pin_proba "decimal value"'.

Supported Families

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

Example

The following example sets the probability of the pin driving the enable pin of a bidirectional I/O:

smartpower_set_pin_probability -pin_name {mybibuf/U0/U1:EOUT} -pin_proba {50.4}

The following example sets the probability of the "in" and "out" pins:

smartpower_set_pin_probability -pin_name {in out} -pin_proba {50.4}

See Also