説明
名前でクロック マネージャーの設定を取得します。
構文
get_settings(<name>)
戻り値
クロック マネージャー設定のディクショナリ。
パラメーター
| 名前 | 説明 |
|---|---|
| <name> | クロック マネージャー名。 |
例
# Get the settings of an existing clock manager
proj = open_project('my_design.pdm')
clock_mgr = proj.get_clock_mgr_handler()
settings = clock_mgr.get_settings('dpll1')
# settings == {'type': 'DPLL', 'input_clock_name': 'clk1',
# 'vco_range': 'Low', 'output_clocks': [...]}
# Access individual output clock settings
for out_clk in settings['output_clocks']:
# do something with out_clk['name'], out_clk['freq']
pass