21.4.9 sd_connect_pins

Description

This Tcl command connects a list of SmartDesign top level ports and/or instance pins together.

sd_connect_pins -sd_name {smartdesign component name} \
                -pin_names {port or pin or slice names}

Arguments

ParameterTypeDescription
sd_namestringSpecifies the name of the SmartDesign component. It is mandatory.
pin_namesstringSpecifies the port names, pin names and/or slice names to be connected together. It is mandatory. This command will fail if the ports, pins or slices do not exist. This command will also fail if the ports, pins and/or slices are not of the same size/range.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneCannot connect top-level input port 'port_name' to top-level input port 'port_name' since they are both drivers.
NoneRequired parameter 'pin_names' is missing.
NoneRequired parameter 'sd_name' is missing.
NoneParameter 'param_name' is not defined. Valid command formatting is 'sd_connect_pins -sd_name "sd_name" -pin_names "[pin_names]+"'.

Supported Families

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

Example

  • The following example connects "CLK" port to "CLK" pins of "MACC_PA_0:CLK" and "DFN1_0:CLK" instances:

    sd_connect_pins -sd_name {top} \
                    -pin_names {CLK MACC_PA_0:CLK DFN1_0:CLK}
  • The following example connects "MACC_PA_0:A" pin to "RAM1K20_0:A_DIN[17:0]":

    sd_connect_pins -sd_name {top} \
                    -pin_names {MACC_PA_0:A RAM1K20_0:A_DIN[17:0]}

See Also

  • sd_create_scalar_port
  • sd_connect_pin_to_port