21.4.25 sd_delete_pin_slices

Description

This tcl command deletes SmartDesign top level port slices or instance pin slices.

Note: This command is not required to build a SmartDesign component. This command maps to an interactive user action in the SmartDesign Canvas and will not be present in the exported SmartDesign component Tcl description.
sd_delete_pin_slices -sd_name {smartdesign component name} \
                     -pin_name {port or pin name} \
                     -pin_slices {port or pin slices}

Arguments

ParameterTypeDescription

sd_name

string

Specifies the name of the SmartDesign component. It is mandatory.

pin_name

string

Specifies the name of the bus port or bus pin for which the slices must be deleted. It is mandatory.

pin_slices

string

Specifies the ranges of the port and/or pin slices to be deleted. It is mandatory.

Return TypeDescription
NoneNone

Error Codes

Error CodeDescription

None

Parameter 'pin_slices' has illegal value.

None

Required parameter 'pin_slices' is missing.

None

Parameter 'pin_name' has illegal value.

None

Required parameter 'pin_name' is missing.

None

Parameter 'sd_name' has illegal value.

None

Required parameter 'sd_name' is missing.

None

Parameter 'param_name' is not defined. Valid command formatting is

'sd_delete_pin_slices -sd_name "sd_name" -pin_name "pin_name" -pin_slices "[Ranges of pin slices]+"'.

SDCTRL05

Pin 'pin_name' does not exist.

Supported Families

Supported Families
PolarFire®
PolarFire SoC
RTG4
SmartFusion® 2
IGLOO® 2

Example

This example deletes {[17:16] [15:1] [0]} slices of "A" pin.

sd_delete_pin_slices -sd_name {top} \
                     -pin_name {A} \
                     -pin_slices {[17:16] [15:1] [0]}

See Also

  • sd_create_pin_slices