Skip to main content

ipxact

add_ip_from_ipxact(COMP_XML **kwargs)

This function imports an IP-XACT .xml file and converts it to a SoCMake HWIP.

Config.cmake files are only regenerated when the source XML is newer than the existing output. A VLNV cache in the build directory avoids process spawns on repeated runs.

Parameters

NameTypeDescription
COMP_XMLstringPath to the ipxact .xml file.

Keyword Arguments

NameTypeDescription
GENERATE_ONLYboolConfig.cmake file is written but not included.

add_ipxact_library(DIR **kwargs)

Convenience wrapper: imports all IP-XACT .xml files found under a directory.

add_ipxact_library("/path/to/ipxact" GENERATE_ONLY)

Parameters

NameTypeDescription
DIRstringRoot directory to search for .xml files recursively.

Keyword Arguments

NameTypeDescription
GENERATE_ONLYboolConfig.cmake files are written but not include()d.