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 clock manager by name and settings dictionary. Only the settings specified in a dictionary are applied.

Syntax

edit(<name>, <settings_dict>)

Parameters

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

Examples

# Edit output clocks of an existing clock manager
proj = open_project('my_design.pdm')
clock_mgr = proj.get_clock_mgr_handler()
clock_mgr.edit('dpll1', {
	'output_clocks': [{'name': 'out_1', 'freq': 150.0}]
})
# Edit VCO range setting
clock_mgr.edit('dpll1', {'vco_range': 'Medium'})
# Empty dictionary has no effect
clock_mgr.edit('dpll1', {})