Description
Fill listed by names records with the same dictionary of field names to value mappings in a format {field: value, ...}.
Syntax
fill_values(<fields_dict>, [<record_names>])
Parameters
| Name | Description |
|---|---|
| <fields_dict> | Dictionary of field names to value mappings in a format {field: value, ...}. |
| [<record_names>] | List of record names. Default: All available record names |
Examples
# Apply the same field values to multiple records in a summary
proj = new_project('my_design.pdm', part='XCVC1902-VIVA1596-1LP-E-S')
summary = proj.get_power_design().get_summary('power_delivery_design')
# Fill only specific records with the same field values
summary.fill_values({'voltage':0.72},['0V70_PSLP (Digital)','0V70_PSFP (Digital)'])