21.9.56 smartpower_temperature_opcond_set_mode_specific

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

ParameterTypeDescription
opmodestringSpecifies the operating mode. The acceptable values for this argument are the following:
  • Active - The operating mode is set to Active.
  • Static - The operating mode is set to Static.
  • Flash*Freeze - The operating mode is set to Flash*Freeze(RTG4™, SmartFusion® 2 and IGLOO® 2).
thermal_modestringSpecifies the mode in which the junction temperature is computed. This parameter is optional. The acceptable values for this argument are the following:
  • ambient - The junction temperature will be iteratively computed with total static power.
  • opcond - The junction temperature will be given as one of the operating condition rangevalues specified in the device selection.
bestdecimalSpecifies the best temperature (in degrees Celsius) for the selected mode. This parameter is optional.
typicaldecimalSpecifies the typical temperature (in degrees Celsius) for the selected mode. This parameter is optional.
worstdecimalSpecifies the worst temperature (in degrees Celsius) for the selected mode. This parameter is optional.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneParameter 'worst' has illegal value.
NoneParameter 'typical' has illegal value.
Nonetypical: Invalid argument value: 'value' (expecting decimal value).
NoneParameter 'best' has illegal value.
Nonebest: Invalid argument value: 'best_value' (expecting decimal value).
NoneParameter 'thermal_mode' has illegal value.
Nonethermal_mode: Invalid argument value: 'value' (expecting opcond or ambient).
NoneRequired parameter 'opmode' is missing.
NoneParameter 'opmode' has illegal value.
Noneopmode: Invalid argument value: 'value' (expecting Active or Static).
NoneInvalid temperature sequence for 'Active' mode. The value for best cannot exceed typical and typical cannot exceed worst.
NoneParameter '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}

See Also