get_sample_settings(...) - get_sample_settings(...) - 2026.1 日本語 - UG1781

Power Design Manager Python スクリプト ガイド (UG1781)

Document_ID
UG1781
Release_Date
2026-06-23
Version
2026.1 日本語

説明

有効な値を含むクロック マネージャー設定テンプレートディクショナリを取得します。または、フラグが有効な場合、設定階層の完全な構造を取得し、すべての値を 0 または空文字列に設定します。

構文

get_sample_settings(template=False)

戻り値

クロック マネージャー設定のディクショナリ。

パラメーター

名前 説明
[template] 値を 0 または空文字列に設定した完全な設定ディクショナリを返すように有効にします。

デフォルト: False

# Get a ready-to-use sample clock manager settings dictionary
proj = open_project('my_design.pdm')
clock_mgr = proj.get_clock_mgr_handler()
settings = clock_mgr.get_sample_settings()
# settings == {'type': 'DPLL', 'input_clock_name': '',
#              'vco_range': 'Low',
#              'output_clocks': [{'name': '', 'freq': 100.0, ...}]}
# Get an empty settings template to see the full structure
template = clock_mgr.get_sample_settings(template=True)