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
Parameter | Type | Description |
---|
sd_name | string | Specifies the name of the SmartDesign component. It is mandatory. |
current_net_name | string | Specifies the name of the net to be renamed in the SmartDesign component. It is mandatory. |
new_net_name | string | Specifies the new name of the net in the SmartDesign. It is mandatory. |
Return Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Required parameter 'sd_name' is missing. |
None | Required parameter 'current_net_name' is missing. |
None | Required parameter 'new_net_name' is missing. |
None | Parameter 'new_net_name' has illegal value. |
None | Parameter 'current_net_name' has illegal value. |
None | Parameter '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