Description
Edit IP by name and settings dictionary. Only the settings specified in a dictionary are applied.
Syntax
edit(<name>, <settings_dict>)
Parameters
| Name | Description |
|---|---|
| <name> | IP name. |
| <settings_dict> | IP settings dictionary. Execute get_sample_settings(template=True) to see the full IP settings dictionary structure. |
Examples
# 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})