21.4.4 sd_clear_pin_attributes

Description

This tcl command clears all attributes on one or more pins/ports in a SmartDesign. Pin attributes include pin inversion, mark as unused and constant value settings.

Important: This command will not work on multiple pins in release v2021.1. Support for multiple pins will be provided in the next Libero release.
sd_clear_pin_attributes -sd_name {smartdesign component name} \ -pin_names {port or pin names}

Arguments

ParameterTypeDescription
sd_namestringSpecifies the name of the SmartDesign component. It is mandatory.
pin_namesstringSpecifies the name of the port/pin for which all the attributes must be cleared. It is mandatory.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
None

Parameter 'sd_name' has illegal value.

NoneParameter 'pin_names' has illegal value.
NoneRequired parameter 'pin_names' is missing.
NoneRequired parameter 'sd_name' is missing.
NoneThe component 'design_name' doesn't exist.
NoneParameter 'param_name' is not defined. Valid command formatting is 'sd_clear_pin_attributes -sd_name "sd_name" -pin_names "pin_names"'.
SDCTRL05

Pin 'pin_name' does not exist.

Supported Families

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

Example

This example clears all attributes of the pin {RAM1K18_0:A_DOUT_CLK} in the {sd1} SmartDesign component.

sd_clear_pin_attributes -sd_name {sd1} -pin_names {RAM1K18_0:A_DOUT_CLK}

This example clears all attributes of the pin {CARRY_OUT} in the {top} SmartDesign component.

sd_clear_pin_attributes -sd_name {top} -pin_names {CARRY_OUT}

See Also

  • sd_mark_pins_unused