21.3.57 import_component

Description

This Tcl command imports a component *.cxf file into the Libero project. After import, the *.cxf file is placed in the <project_folder>/component/work/<component_name> folder.

Note: Only the *.cxf file format is supported for component import.
import_component -file <path_to_component.cxf> 

Arguments

ParameterTypeDescription
filestringThe -file argument specifies the location of the component *.cxf file to import. Both absolute and relative paths are supported.

Error Codes

Error Code

Description

None

Could not find the specified core file.

None

Required parameter 'file' is missing.

None

Parameter 'param_name' is not defined.

Supported Families

Supported Families
PolarFire®
RTG4
SmartFusion® 2
IGLOO® 2

Example

The following example imports a component my_mult.cxf file into the Libero project.

import_component -file {D:/test/my_design/my_mult.cxf}

See Also