21.4.40 sd_rename_net

Description

This Tcl command renames a net in a SmartDesign component.

sd_rename_net -sd_name {smartdesign component name} \
              -current_net_name {current net name} \
              -new_net_name {new net name}

Arguments

ParameterTypeDescription
sd_namestringSpecifies the name of the SmartDesign component. It is mandatory.
current_net_namestringSpecifies the name of the net to be renamed in the SmartDesign component. It is mandatory.
new_net_namestringSpecifies the new name of the net in the SmartDesign. It is mandatory.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneRequired parameter 'sd_name' is missing.
NoneRequired parameter 'current_net_name' is missing.
NoneRequired parameter 'new_net_name' is missing.
NoneParameter 'new_net_name' has illegal value.
NoneParameter 'current_net_name' has illegal value.
NoneParameter 'param_name' is not defined. Valid command formatting is 'sd_rename_net -sd_name "sd_name" -current_net_name "current_net_name" -new_net_name "new_net_name"'.

Supported Families

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

Example

This command renames "clk_net" net name to "clk_rclk_wclk" in the "top" design:

sd_rename_net -sd_name {top} \
              -current_net_name {clk_net} \
              -new_net_name {clk_rclk_wclk}

This command renames "USER_RESETN" to "reset_input" in the "PCIe_EP_Demo" design:

sd_rename_net -sd_name {PCIe_EP_Demo} \
              -current_net_name {USER_RESETN} \
              -new_net_name {reset_input}

See Also

  • sd_create_scalar_net
  • sd_delete_nets