21.4.14 sd_create_bus_net

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”.

Note: This command is not required to build a SmartDesign component. It is not exported when you select Libero Project - 'Export Script File' or 'Export Component Description(Tcl)' on a SmartDesign component. This command is used to manually create a Tcl script and specify a new name to the net that connects two or more ports/pins.
sd_create_bus_net -sd_name {smartdesign component name} \
                  -net_name {net name} \
                  -net_range [left index range:right index range]

Arguments

ParameterTypeDescription

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 TypeDescription
NoneNone

Error Codes

Error CodeDescription

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