21.4.14 sd_create_bus_net
(Ask a Question)Description
This tcl command creates a bus net of a given range in a SmartDesign component. Any net created must be connected to two or more ports/pins using the command “sd_connect_net_to_pins”.
sd_create_bus_net -sd_name {smartdesign component name} \
-net_name {net name} \
-net_range [left index range:right index range]
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 added in the SmartDesign component. It is mandatory. |
net_range | string | Specifies the range of the net added to the SmartDesign component. The range is defined by its left and right rangeindices. It is mandatory. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | Parameter 'net_range' has illegal value. |
None | Required parameter 'net_range' is missing. |
None | Parameter 'net_name' has illegal value. |
None | Required parameter 'net_name' is missing. |
None | Parameter 'sd_name' has illegal value. |
None | Required parameter 'sd_name' is missing. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'sd_create_bus_net -sd_name "sd_name" -net_name "net_name" -net_range "net_range"'. |
Supported Families
Supported Families |
---|
PolarFire® |
PolarFire SoC |
RTG4™ |
SmartFusion® 2 |
IGLOO® 2 |
Example
This example creates bus net in range [5:0] named "ab1" and connects it to the "RAM64x12_0:R_ADDR" and "a" pins.
This new net is visible in the UI only when it is connected to two or more ports/pins using the command“sd_connect_net_to_pins” as shown below.
sd_create_bus_net -sd_name {top} \
-net_name {ab1} \
-net_range {[5:0]]}
sd_connect_net_to_pins -sd_name {top} \
-net_name {ab1} \
-pin_names {a RAM64x12_0:R_ADDR}
See Also
sd_connect_net_to_pins
sd_create_bus_port