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
Parameter | Type | Description |
---|
pin_name | string | Specifies 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_proba | decimal value | Specifies the value of the pin probability as a percentage(%), which can be any positive decimal between 0 and 100 inclusive. |
Return Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Required parameter 'pin_name' is missing. |
None | Failed to set "value" pin frequency to 11.00. |
None | pin_proba: Invalid argument value: 'value' (expecting decimal value). |
None | Parameter 'pin_proba' must be less than or equal to 100.000. |
None | Parameter 'pin_proba' must be a positive decimal value. |
None | ERROR 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}