Description
This Tcl command sets the cooling style to one of the predefined types or custom value.
Note: To compute the junction temperature, set the following three commands:"smartpower_set_thermalmode, smartpower_set_tambient and smartpower_set_cooling. The junction temperature will be updated when an output command is executed, such as report(Power). Parameter 'teta' is ignored when style is set to custom.
smartpower_set_cooling -style "case_cooling | still_air | 1.0_mps | 2.5_mps | custom" [-teta "positive decimal value"]
Arguments
| Parameter | Type | Description | 
|---|
| style | string | Specifies the cooling style to custom value or to one of the predefined types with a default thermal resistance value. The acceptable values for this argument are the following: - 1.0_mps - Predefined cooling style.
 - 2.5_mps - Predefined cooling style.
 - case_cooling - Predefined cooling style.
 - still_air - Predefined cooling style.
 - custom - Cooling style defined by user input.
 
  | 
| teta | decimal | Specifies the thermal resistance in "C/W". This argument is only available when style is set to Custom. | 
| Return Type | Description | 
|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|
| None | Required parameter 'style' is missing. | 
| None | Parameter 'style' has illegal value. | 
| None | style: Invalid argument value: 'value' (expecting case_cooling, still_air, 1.0_mps, 2.5_mps or custom). | 
| None | teta: Invalid argument value: 'decimal value' (expecting decimal value). | 
| None | Parameter 'teta' must be a positive decimal value. | 
| None | Parameter 'teta' has illegal value. | 
| None | Parameter 'teta' is required when style is set to custom. | 
| None | Parameter 'param_name' is not defined. Valid command formatting is 'smartpower_set_cooling -style "case_cooling | still_air | 1.0_mps | 2.5_mps | custom" [-teta "decimal value"]'. | 
Supported Families
| PolarFire® | 
| SmartFusion® 2 | 
| RTG4™ | 
| IGLOO® 2 | 
| PolarFire SoC | 
Example
This example sets the cooling style to still air:
smartpower_set_cooling -style {still_air}