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

Create clock manager by name and settings dictionary. Default value is applied to each missing setting in the dictionary if applicable, otherwise, if a setting is mandatory, creation fails.

Syntax

create(<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

# Create a clock manager with output clocks
proj = open_project('my_design.pdm')
clock_mgr = proj.get_clock_mgr_handler()
clock_mgr.create('dpll1', {
	'type': 'DPLL',
	'input_clock_name': 'clk1',
	'vco_range': 'Low',
	'output_clocks': [
		{'name': 'out_1', 'freq': 100.0, 'is_gated': False, 'min_scaled_freq': 0.0},
		{'name': 'out_2', 'freq': 200.0, 'is_gated': False, 'min_scaled_freq': 0.0}
	]
})
# At least 'input_clock_name' must be specified; defaults apply to other settings
clock_mgr.create('mmcm1', {'type': 'MMCM', 'input_clock_name': 'clk1'})