21.9.7 smartpower_commit

Description

This Tcl command saves the changes to the design file.

smartpower_commit [-file "SmartPower settings file (.zip)"]

Arguments

ParameterTypeDescription
filestringPath to the *.zip where power analysis details will be saved. You can specify a relative or absolute path. This parameter is optional. If the argument is not specified "smartpower.swp" file is created under <project path>/designer/<component name> directory.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneParameter 'param_name' is not defined. Valid command formatting is 'smartpower_commit [-file "SmartPower settings file (.zip)"]'.

Supported Families

PolarFire®
SmartFusion® 2
RTG4™
IGLOO® 2
PolarFire SoC

Example

The following example saves changes, power analysis details in the "/prj/designer/top/sp_details.zip":

smartpower_commit -file "./sp_details.zip"