AI Engine Component - 2025.2 English - UG1400

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2025-11-20
Version
2025.2 English

The Vitis tool's Python APIs support creating and building AI Engine components either from scratch or with a template.

Python API Description Python API Example
create_aie_component Creates an AIE component aie_comp = client.create_aie_component(name = <comp_name>, platform = <platform>, part = <part>, template = <template>)
add_cfg_file Adds configuration file to the component status = component.add_cfg_file(cfg_file = <file>)
build Generates the AI Engine component aie_comp.build()
The following Python code creates and builds an AI Engine component in Vitis tools.
import vitis

client = vitis.create_client()
client.set_workspace(path="vitis_2025.2_ws")

comp = client.create_aie_component(name="simple_aie_application", platform = "/vitis_2025.2_ws/vck190_platform/export/vck190_platform/vck190_platform.xpfm", template = "installed_aie_examples/simple")

comp = client.get_component(name="simple_aie_application")
comp.build(target="hw")