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
Parameter | Type | Description |
---|
sd_name | string | Specifies the name of the SmartDesign component. It is mandatory. |
pin_names | string | Specifies 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 Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Cannot connect top-level input port 'port_name' to top-level input port 'port_name' since they are both drivers. |
None | Required parameter 'pin_names' is missing. |
None | Required parameter 'sd_name' is missing. |
None | Parameter '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