21.4.31 sd_instantiate_component

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

ParameterTypeDescription
sd_name

string

Specifies the name of the SmartDesign component in which other components will be instantiated. It is mandatory.
component_namestringSpecifies 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_namestringSpecifies 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 TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneParameter 'component_name' has illegal value.
NoneParameter 'component_to_instantiate' is missing or has invalid value.
NoneParameter 'sd_name' has illegal value.
NoneRequired parameter 'sd_name' is missing.
NoneParameter '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}