21.4.12 sd_create_bif_net
(Ask a Question)Description
This tcl command creates a bus interface (BIF) net 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_bif_net -sd_name {smartdesign component name} \
-net_name {net name}
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. The command will fail if there is an already existing net with the same name. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
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 | Cannot add net "bus_net" because a net with the same name already exists. |
None | Cannot connect the two bus interface pins 'BIF_1' and 'instance:BIF_1' because they are not compatible. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'sd_create_bif_net -sd_name "sd_name" -net_name "net_name"'. |
Supported Families
Supported Families |
---|
PolarFire® |
PolarFire SoC |
RTG4™ |
SmartFusion® 2 |
IGLOO® 2 |
Example
This command creates BIF net named "bifnet1" in the "TOP" SmartDesign component.
sd_create_bif_net -sd_name {TOP} -net_name {bifnet1}
See Also
- sd_connect_net_to_pins