21.3.18 configure_core

Description

This Tcl command modifies the configuration of an existing core component in the SmartDesign. This command works for core components created for different types of cores namely, Sg cores, System Builder cores and Direct cores. In the Libero SoC, choose View > Windows > Catalog. The Catalog displays a list of available cores, busses and macros. Double-click a core to open the core generator and configure it and add it to your design.

Limitations: The command does not work for SmartFusion 2 and IGLOO 2 System Builder components, SmartFusion 2 MSS component, RTG4 PCIE_SERDES_IF_INIT (RTG4 High Speed Serial Interface 1 - EPCS and XAUI - with Initialization), NPSS_SERDES_IF_INIT (RTG4 High Speed Serial Interface 2 - EPCS and XAUI - with Initialization), and RTG4FDDRC_INIT (RTG4 DDR Memory Controller with initialization) core components.

configure_core -component_name component_name -params core_parameters

Arguments

ParameterTypeDescription
component_namestringSpecifies the name of the component to be configured. It is mandatory.
paramsstringSpecifies the parameters needed to configure the core component. It is mandatory. It can either take single parameter or multiple parameters at a time. This command will fail if none of the core parameters are specified.

Error Codes

Error CodeDescription
NoneRequired parameter 'component_name' is missing.
NoneUnable to create core. A Component with that name already exists.
NoneParameter 'p' is not defined. Valid command formatting is 'configure_core -component_name "component_name" [-params "[params]+"].
NoneCannot find Spirit core configuration file for vendor:Actel library:Simulation name:<core_name> version:1.0.1.

Supported Families

Supported Families
PolarFire®
RTG4
SmartFusion® 2
IGLOO® 2

Example

The following commands modifies the configuration of "Core_UART" and "PF_CCC_C0" core components - sets cores parameters values in the SmartDesign.

configure_core -component_name {PF_CCC_C0} \
               -params "GL1_0_IS_USED:false" \
                       "GL0_0_IS_USED:true” “GL0_0_OUT_FREQ:200”}
configure_core -component_name {Core_UART} \
               -params {"BAUD_VAL_FRCTN_EN:false" \
                        "RX_FIFO:0" "RX_LEGACY_MODE:0" \
                        "TX_FIFO:1" "USE_SOFT_FIFO:1"}

See Also