21.4.31 sd_instantiate_component
(Ask a Question)Description
This Tcl command instantiates a Libero SmartDesign component or a core component into another SmartDesign component.
sd_instantiate_component -sd_name {smartdesign component name} \
-component_name {component module name} \
[-instance_name {instance name}]
Arguments
Parameter | Type | Description |
---|---|---|
sd_name | string | Specifies the name of the SmartDesign component in which other components will be instantiated. It is mandatory. |
component_name | string | Specifies the name of the component being instantiated in the SmartDesign component. It is mandatory. The components include SmartDesign components, core components created for different types of cores from the catalog and blocks. |
instance_name | string | Specifies the instance name of the Libero component being instantiated in the SmartDesign component. It is optional. By default, the instance name is <component_module_name>_<index> (index is an automatically generated integer starting at 0 such that the instance name is unique in the SmartDesign). |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | Parameter 'component_name' has illegal value. |
None | Parameter 'component_to_instantiate' is missing or has invalid value. |
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_instantiate_component -sd_name "sd_name" [-component_name "component_name"] [-instance_name "instance_name"]'. |
Supported Families
Supported Families |
---|
PolarFire® |
PolarFire SoC |
RTG4™ |
SmartFusion® 2 |
IGLOO® 2 |
Example
This example instantiates "sd1" component into "sd1_0."
sd_instantiate_component -sd_name {sub} \
-component_name {sd1} \
-instance_name {sd1_0}
Ths example instantiates "PF_CCC_C0" component.
sd_instantiate_component -sd_name {top} -component_name {PF_CCC_C0}