21.4.7 sd_connect_net_to_pins
(Ask a Question)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
| Parameter | Type | Description | 
|---|---|---|
| sd_name | string | Specifies the name of the SmartDesign component. It is mandatory. | 
| net_name | string | Specifies 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: 
  | 
| Return Type | Description | 
|---|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|---|
| None | Required parameter 'sd_name' is missing. | 
| None | Parameter 'sd_name' has illegal value. | 
| None | Required parameter 'net_name' is missing. | 
| None | Parameter 'net_name' has illegal value. | 
| None | Required parameter 'pin_names' is missing. | 
| SDCTRL05 | Pin 'pin_name' does not exist. | 
| None | Parameter '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"}