21.4.32 sd_instantiate_core

Description

This tcl command instantiates a core from the catalog directly into a SmartDesign component (Direct Instantiation)without first having to create a component for the core. The file-set related to the core is generated only when theSmartDesign in which the core is instantiated is generated. The GUI equivalent of this command is not currentlysupported in Libero. To instantiate a core in a SmartDesign component in the GUI, you have to first create acomponent for the core.

sd_instantiate_core -sd_name {smartdesign component name} \
                    -core_vlnv {vendor:library:name:verison} \
                    [-instance_name {instance name}]

Arguments

ParameterTypeDescription
sd_name

string

Specifies the name of the SmartDesign component. It is mandatory.
core_vlnvstringSpecifies the version identifier of the core being instantiated in the SmartDesign component. It is mandatory.
instance_namestringSpecifies the instance name of the core being instantiated in the SmartDesign. It is optional. By default, the instancename is <core_name>_<index> (index is an automatically generated integer starting at 0 such that the instancename is unique in the SmartDesign).
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneParameter 'instance_name' has illegal value.
NoneParameter 'core_vlnv' has illegal value.
NoneRequired parameter 'core_vlnv' is missing.
NoneParameter 'sd_name' has illegal value.
NoneRequired parameter 'sd_name' is missing.
NoneParameter 'param_name' is not defined. Valid command formatting is'sd_instantiate_core -sd_name "sd_name" -core_vlnv "core_vlnv" [-instance_name "instance_name"] [-promote_all "TRUE | FALSE"]'.

Supported Families

Supported Families
PolarFire®
PolarFire SoC
RTG4
SmartFusion® 2
IGLOO® 2

Example

This example instantiates "COREAXI4INTERCONNECT_C0_0" instance with {Actel:DirectCore:COREAXI4INTERCONNECT:2.5.100} vendor, library, name and version.

sd_instantiate_core \
        -sd_name {top} \
        -core_vlnv {Actel:DirectCore:COREAXI4INTERCONNECT:2.5.100} \
        -instance_name {COREAXI4INTERCONNECT_C0_0}