21.4.7 sd_connect_net_to_pins

Description

This tcl command connects a list of SmartDesign top level ports and/or instance pins to a net.

sd_connect_net_to_pins -sd_name {smartdesign component name} \
                       -net_name {net name} \
                       -pin_names {port or pin names}

Arguments

ParameterTypeDescription
sd_namestringSpecifies the name of the SmartDesign component. It is mandatory.
net_namestringSpecifies the name of the net to be connected to pins/ports in the SmartDesign component. It is mandatory.

pin_names

list of string

Specifies the name of the ports/pins to be connected to the net in the SmartDesign. It is mandatory.

The command will fail if:

  • The ports/pins do not exist.

  • The ports/pins and the net being connected are of different range/size.

  • There is more than one port/pin driving the net.

Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneRequired parameter 'sd_name' is missing.
NoneParameter 'sd_name' has illegal value.
NoneRequired parameter 'net_name' is missing.
NoneParameter 'net_name' has illegal value.
NoneRequired parameter 'pin_names' is missing.
SDCTRL05Pin 'pin_name' does not exist.
NoneParameter 'param_name' is not defined. Valid command formatting is 'sd_connect_net_to_pins -sd_name "sd_name" -net_name "net_name" -pin_names "[pin_names]+" '.

Supported Families

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

Example

This example connects "clk_net" net to "CLK RAM64x12_0:R_CLK" and "RAM64x12_0:W_CLK" pins:

sd_connect_net_to_pins \
              -sd_name {top} \
              -net_name {clk_net} \
              -pin_names {"CLK RAM64x12_0:R_CLK"  "RAM64x12_0:W_CLK"}