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

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

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

説明

名前および設定ディクショナリを指定して IP を編集します。ディクショナリで指定された設定のみが適用されます。

構文

edit(<name>, <settings_dict>)

パラメーター

名前 説明
<name> IP の名前。
<settings_dict> IP 設定ディクショナリ。get_sample_settings(template=True) を実行して、IP 設定ディクショナリの完全な構造を確認します。

# 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})