Description
This Tcl command saves the changes to the design file.
smartpower_commit [-file "SmartPower settings file (.zip)"]
Arguments
| Parameter | Type | Description |
|---|
| file | string | Path 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 Type | Description |
|---|
| None | None |
Error Codes
| Error Code | Description |
|---|
| None | Parameter '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"