21.9.56 smartpower_temperature_opcond_set_mode_specific
(Ask a Question)Description
This Tcl command sets the temperature for SmartPower mode-specific operating conditions.
smartpower_temperature_opcond_set_mode_specific \
-opmode "Active | Static" \
[-thermal_mode "opcond | ambient"] \
[-best "decimal value"] \
[-typical "decimal value"] \
[-worst "decimal value"]Arguments
| Parameter | Type | Description |
|---|---|---|
| opmode | string | Specifies the operating mode. The acceptable values for this argument are the following:
|
| thermal_mode | string | Specifies the mode in which the junction temperature is computed. This parameter is optional. The acceptable values for this argument are the following:
|
| best | decimal | Specifies the best temperature (in degrees Celsius) for the selected mode. This parameter is optional. |
| typical | decimal | Specifies the typical temperature (in degrees Celsius) for the selected mode. This parameter is optional. |
| worst | decimal | Specifies the worst temperature (in degrees Celsius) for the selected mode. This parameter is optional. |
| Return Type | Description |
|---|---|
| None | None |
Error Codes
| Error Code | Description |
|---|---|
| None | Parameter 'worst' has illegal value. |
| None | Parameter 'typical' has illegal value. |
| None | typical: Invalid argument value: 'value' (expecting decimal value). |
| None | Parameter 'best' has illegal value. |
| None | best: Invalid argument value: 'best_value' (expecting decimal value). |
| None | Parameter 'thermal_mode' has illegal value. |
| None | thermal_mode: Invalid argument value: 'value' (expecting opcond or ambient). |
| None | Required parameter 'opmode' is missing. |
| None | Parameter 'opmode' has illegal value. |
| None | opmode: Invalid argument value: 'value' (expecting Active or Static). |
| None | Invalid temperature sequence for 'Active' mode. The value for best cannot exceed typical and typical cannot exceed worst. |
| None | Parameter 'param_name' is not defined. Valid command formatting is 'smartpower_temperature_opcond_set_mode_specific -opmode "Active | Static" [-thermal_mode "opcond | ambient"] [-best "decimal value"] [-typical "decimal value"] [-worst "decimal value"]'. |
Supported Families
| PolarFire® |
| SmartFusion® 2 |
| RTG4™ |
| IGLOO® 2 |
| PolarFire SoC |
Example
This example sets the temperature for mode-specific operating conditions for mode1:
smartpower_temperature_opcond_set_mode_specific \
-opmode {Active} \
-thermal_mode {ambient} \
-best {20} \
-typical {30} \
-worst {60}