import_xpe(...) - import_xpe(...) - 2026.1 English - UG1781

Python Scripting Guide for PDM Tool (UG1781)

Document_ID
UG1781
Release_Date
2026-06-23
Version
2026.1 English
Revision

Description

Import an .xpe file from Report Power, XPE, NoC compiler, or AIE compiler into the project.

Syntax

import_xpe(<xpe_file>, append=False)

Parameters

Name Description
<xpe_file> Path to the .xpe file to import.
[append] Enables append mode for import if True, otherwise, overwrites existing data.

Default: False

Examples

# Import an .xpe file into the current project (overwrite mode)
proj = new_project('my_design.pdm')
proj.import_xpe('baseline.xpe')
# Import an .xpe file in append mode (merge with existing data)
proj.import_xpe('additional.xpe', append=True)
# Import NoC or AIE XML formats
proj.import_xpe('noc_data.xpe')