edit(...) - edit(...) - 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

Edit IP by name and settings dictionary. Only the settings specified in a dictionary are applied.

Syntax

edit(<name>, <settings_dict>)

Parameters

Name Description
<name> IP name.
<settings_dict> IP settings dictionary. Execute get_sample_settings(template=True) to see the full IP settings dictionary structure.

Examples

# Edit specific settings of an existing IP
proj = open_project('my_design.pdm')
handler = proj.get_ip_handler('GTM2')
handler.edit('g1', {'protocol': 'PCIe Gen5', 'clock_source': 'LCPLL', 'tx_op_swing': 850})