Description
This Tcl command sets the mode for cycle-accurate power analysis.
smartpower_set_mode_for_analysis -mode {value}
Arguments
| Parameter | Type | Description |
|---|
| mode | string | Specifies the mode for cycle-accurate power analysis. This parameter is mandatory. 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, IGLOO® 2).
|
| Return Type | Description |
|---|
| None | None |
Error Codes
| Error Code | Description |
|---|
| None | Required parameter 'mode' is missing. |
| None | Parameter 'mode' has illegal value. |
| None | mode: Invalid argument value: 'mode_name' (expecting Active, Static or Flash*Freeze). |
| None | Parameter 'param_name' is not defined. Valid command formatting is 'smartpower_set_mode_for_analysis -mode "Active | Static | Flash*Freeze"'. |
Supported Families
| PolarFire® |
| SmartFusion® 2 |
| RTG4™ |
| IGLOO® 2 |
| PolarFire SoC |
Example
The following example sets the mode for analysis to active:
smartpower_set_mode_for_analysis -mode {active}