21.4.26 sd_delete_ports

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

ParameterTypeDescription
sd_namestringSpecifies the name of the SmartDesign component. It is mandatory.
port_namesstringSpecifies the name of the port to be deleted. It is mandatory.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NonePort 'port_name' doesn't exist.
NoneRequired parameter 'port_names' is missing.
NoneRequired parameter 'sd_name' is missing.
NoneParameter '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}