Description
This Tcl command deletes one or more ports from the SmartDesign component.
Note: This command will not work on multiple ports. if -port_names argument specified multiple times, then it takes the value of the last argument. This command is not required to build a SmartDesign component. It maps to an interactive user action in the SmartDesign Canvas and will not be present in the exported SmartDesign component Tcl description.
sd_delete_ports -sd_name {smartdesign component name} \
-port_names {port names}
Arguments
| Parameter | Type | Description |
|---|
| sd_name | string | Specifies the name of the SmartDesign component. It is mandatory. |
| port_names | string | Specifies the name of the port to be deleted. It is mandatory. |
| Return Type | Description |
|---|
| None | None |
Error Codes
| Error Code | Description |
|---|
| None | Port 'port_name' doesn't exist. |
| None | Required parameter 'port_names' is missing. |
| None | Required parameter 'sd_name' is missing. |
| None | Parameter 'param_name' is not defined. Valid command formatting is 'sd_delete_ports -sd_name "sd_name" -port_names "port_names"'. |
Supported Families
| Supported Families |
|---|
| PolarFire® |
| PolarFire SoC |
| RTG4™ |
| SmartFusion® 2 |
| IGLOO® 2 |
Example
The following command deletes "REF_CLK_0" port from Top design:
sd_delete_ports -sd_name {Top} -port_names {REF_CLK_0}