Description
This Tcl command sets the mode of computing junction temperature.
Note: To compute the junction temperature, set the smartpower_set_thermalmode, smartpower_set_tambientand smartpower_set_cooling commands. The junction temperature will be updated when an output command is executed, such as report(Power).
smartpower_set_thermalmode [-mode {value}]
Arguments
Parameter | Type | Description |
---|
mode | string | Specifies the mode in which the junction temperature is computed. 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 range valuesspecified in the device selection.
|
Return Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Required parameter 'mode' is missing. |
None | Parameter 'mode' has illegal value. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'smartpower_set_thermalmode -mode "opcond | ambient"'. |
Supported Families
PolarFire® |
SmartFusion® 2 |
RTG4™ |
IGLOO® 2 |
PolarFire SoC |
Example
The following example sets the computing of the junction temperature to ambient mode:
smartpower_set_thermalmode -mode {ambient}