21.9.24 smartpower_init_set_registers_options

Description

This Tcl command initializes the frequency and probability of all register outputs.


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

Arguments

ParameterTypeDescription
freqstringSpecifies the user input frequency (in Hz, KHz, or MHz) or the toggle rate in percentage(%). If the unit is not provided and togglerate is active, the value is handled as a toggle rate; if toggle rate is not active, the value is handled as a frequency.
probadecimalSpecifies the user input probability in percentage(%). Must be less than or equal to 100.000.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneParameter 'proba' has illegal value.
NoneParameter 'proba' must be less than or equal to 100.000.
Noneproba: Invalid argument value: 'value' (expecting decimal value).
NoneParameter 'freq' has illegal value.
NoneParameter 'param_name' is not defined. Valid command formatting is 'smartpower_init_set_registers_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 register outputs after executing "smartpower_init_do with -registers {true}":

smartpower_init_set_registers_options -freq {10 MHz} \
                                      -proba {20}