21.9.5 smartpower_change_clock_statistics
(Ask a Question)Description
This Tcl command changes the default frequencies and probabilities for a specific domain.
Note: This command is associated with the functionality of Initialize frequencies and probabilities dialog box.
smartpower_change_clock_statistics -domain_name {value} \
-clocks_freq {value} \
-clocks_proba {value} \
-registers_freq {value} \
-registers_proba {value} \
-set_reset_freq {value} \
-set_reset_proba {value} \
-primaryinputs_freq {value} \
-primaryinputs_proba {value} \
-combinational_freq {value} \
-combinational_proba {value}
Arguments
Parameter | Type | Description |
---|---|---|
domain_name | string | Specifies the domain name in which to initialize frequencies and probabilities. |
clocks_freq | string | Specifies the user input frequency in Hz, KHz or MHz for all clocks. Must be a positive decimal value. |
clocks_proba | decimal | Specifies the user input probability in percentage(%) for all clocks. Must be a positive decimal value and less than or equal to 100.000. |
registers_freq | string | Specifies the user input frequency (in Hz, KHz or MHz) or the toggle rate in percentage(%). Must be a positive decimal value and less than or equal to 100.000. 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. |
registers_proba | decimal | Specifies the user input probability in percentage(%) for all registers. Must be a positive decimal value and less than or equal to 100.000. |
set_reset_freq | string | Specifies the user input frequency (in Hz, KHz or MHz) or the toggle rate in percentage(%). Must be a positive decimal value. 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. |
set_reset_proba | decimal | Specifies the user input probability in percentage(%) for all set/reset nets. Must be a positive decimal value and less than or equal to 100.000. |
primaryinputs_freq | string | Specifies the user input frequency (in Hz, KHz or MHz) or the toggle rate in percentage(%). Must be a positive decimal value. 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. |
primaryinputs_proba | decimal | Specifies the user input probability in percentage(%) for all primary inputs. Must be a positive decimal value and less than or equal to 100.000. |
combinational_freq | string | Specifies the user input frequency (in Hz, KHz or MHz) or the toggle rate percentage(%). Must be a positive decimal value. 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. |
combinational_proba | decimal | Specifies the user input probability in percentage(%) for all combinational combinational output. Must be a positive decimal value and less than or equal to 100.000. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | Required parameter 'domain_name' is missing. |
None | Parameter 'domain_name' has illegal value. |
None | Parameter 'combinational_proba' has illegal value. |
None | combinational_proba: Invalid argument value: 'value' (expecting decimal value). |
None | Parameter 'combinational_proba' must be a positive decimal value. |
None | Parameter 'combinational_proba' must be less than or equal to 100.000. |
None | Parameter 'combinational_freq' has illegal value. |
None | combinational_freq: Parameter format incorrect (expecting a positive decimal value, optionally followed by a unit (possible values are Hz, KHz, MHz or %)). |
None | Parameter 'primaryinputs_proba' has illegal value. |
None | primaryinputs_proba: Invalid argument value: 'value' (expecting decimal value). |
None | Parameter 'primaryinputs_proba' must be a positive decimal value. |
None | Parameter 'primaryinputs_proba' must be less than or equal to 100.000. |
None | Parameter 'primaryinputs_freq' has illegal value. |
None | primaryinputs_freq: Parameter format incorrect (expecting a positive decimal value, optionally followed by a unit (possible values are Hz, KHz, MHz or %)). |
None | Parameter 'set_reset_proba' has illegal value. |
None | set_reset_proba: Invalid argument value: 'value' (expecting decimal value). |
None | Parameter 'set_reset_proba' must be a positive decimal value. |
None | Parameter 'set_reset_proba' must be less than or equal to 100.000. |
None | Parameter 'set_reset_freq' has illegal value. |
None | set_reset_freq: Parameter format incorrect (expecting a positive decimal value, optionally followed by a unit (possible values are Hz, KHz, MHz or %)). |
None | Parameter 'registers_proba' has illegal value. |
None | registers_proba: Invalid argument value: 'value' (expecting decimal value). |
None | Parameter 'registers_proba' must be a positive decimal value. |
None | Parameter 'registers_proba' must be less than or equal to 100.000. |
None | Parameter 'registers_freq' has illegal value. |
None | registers_freq: Parameter format incorrect (expecting a positive decimal value, optionally followed by a unit (possible values are Hz, KHz, MHz or %)). |
None | Parameter 'clocks_proba' has illegal value. |
None | clocks_proba: Invalid argument value: 'value' (expecting decimal value). |
None | Parameter 'clocks_proba' must be a positive decimal value. |
None | Parameter 'clocks_proba' must be less than or equal to 100.000. |
None | Parameter 'clocks_freq' has illegal value. |
None | clocks_freq: Parameter format incorrect (expecting a positive decimal value, optionally followed by a unit (possible values are Hz, KHz or MHz)). |
None | Parameter 'param_name' is not defined. Valid command formatting is 'smartpower_change_clock_statistics -domain_name "domain name" \ [-clocks_freq "decimal value [unit { Hz | KHz | MHz }]"] \ [-clocks_proba "decimal value"] \ [-registers_freq "decimal value [unit { Hz | KHz | MHz | % }]"] \ [-registers_proba "decimal value"] \ [-set_reset_freq "decimal value [unit { Hz | KHz | MHz | % }]"] \ [-set_reset_proba "decimal value"] \ [-primaryinputs_freq "decimal value [unit { Hz | KHz | MHz | % }]"] \ [-primaryinputs_proba "decimal value"] \ [-combinational_freq "decimal value [unit { Hz | KHz | MHz | % }]"] \ [-combinational_proba "decimal value"] '. |
Supported Families
PolarFire® |
SmartFusion® 2 |
RTG4™ |
IGLOO® 2 |
PolarFire SoC |
Example
The following example initializes all clocks with:
smartpower_change_clock_statistics -domain_name {my_domain} \
-clocks_freq {10 MHz} \
-clocks_proba {20} \
-registers_freq {10 MHz} \
-registers_proba {20} \
-set_reset_freq {10MHz} \
-set_reset_proba {20} \
-primaryinputs_freq {10 MHz} \
-primaryinputs_proba {20} \
-combinational_freq {10 MHz} \
-combinational_proba {20}