Description
This Tcl command removes a custom mode from the current design.
smartpower_remove_custom_mode -name {deleted mode name}
Arguments
| Parameter | Type | Description | 
|---|
| name | string | Specifies the name of the custom mode to be removed. This parameter is mandatory. | 
| Return Type | Description | 
|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|
| None | Required parameter 'name' is missing. | 
| None | Parameter 'name' has illegal value. | 
| None | A custom mode with name "mode_name" does not exist. | 
| None | Parameter 'param_name' is not defined. Valid command formatting is 'smartpower_remove_custom_mode -name "mode to deleted"'. | 
Supported Families
| PolarFire® | 
| SmartFusion® 2 | 
| RTG4™ | 
| IGLOO® 2 | 
| PolarFire SoC | 
Example
This example removes a "MyCustomMode" custom mode from the current design:
smartpower_remove_custom_mode -name {MyCustomMode}