21.9.42 smartpower_set_mode_for_analysis

Description

This Tcl command sets the mode for cycle-accurate power analysis.

smartpower_set_mode_for_analysis -mode {value}

Arguments

ParameterTypeDescription
modestringSpecifies 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 TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneRequired parameter 'mode' is missing.
NoneParameter 'mode' has illegal value.
Nonemode: Invalid argument value: 'mode_name' (expecting Active, Static or Flash*Freeze).
NoneParameter '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}