EMCRuleCheckerSettings#
- class pyedb.misc.siw_feature_config.emc_rule_checker_settings.EMCRuleCheckerSettings#
Manages EMI scanner settings.
Overview#
Read settings from a json file. |
|
Write settings to a file in xml format. |
|
Write settings to a file in json format. |
|
Read settings from a json file. |
|
Assign tags to a net. |
|
Assign tags to a component. |
Import detail#
from pyedb.misc.siw_feature_config.emc_rule_checker_settings import EMCRuleCheckerSettings
Attribute detail#
- EMCRuleCheckerSettings.version = '1.0'#
- EMCRuleCheckerSettings.encoding = 'UTF-8'#
- EMCRuleCheckerSettings.standalone = 'no'#
- EMCRuleCheckerSettings.tag_library#
- EMCRuleCheckerSettings.net_tags#
- EMCRuleCheckerSettings.component_tags#
Method detail#
- EMCRuleCheckerSettings.read_xml(fpath)#
Read settings from a json file.
- Parameters:
- fpath: str
Path to file.
- EMCRuleCheckerSettings.write_xml(fpath)#
Write settings to a file in xml format.
- Parameters:
- fpath: str, Path
Path to file.
- EMCRuleCheckerSettings.write_json(fpath)#
Write settings to a file in json format.
- Parameters:
- fpath: str
Path to file.
- EMCRuleCheckerSettings.read_json(fpath)#
Read settings from a json file.
- Parameters:
- fpath: str
Path to file.
- EMCRuleCheckerSettings.add_net(name, is_bus=False, is_clock=False, is_critical=False, net_type='Single-Ended', diff_mate_name='')#
Assign tags to a net.
- Parameters:
- is_bus: str, int
Whether the net is a bus.
- is_clock: str, int
Whether the net is a clock.
- is_critical: str
Whether the net is critical.
- name: str
Name of the net.
- net_type: str
Type of the net.
- diff_mate_name: str, optional
differential mate name.
- EMCRuleCheckerSettings.add_component(comp_name, comp_value, device_name, is_clock_driver, is_high_speed, is_ic, is_oscillator, x_loc, y_loc, cap_type=None)#
Assign tags to a component.
- Parameters:
- comp_name: str
Name of the component.
- comp_value: str
Value of the component.
- device_name: str
Name of the device.
- is_clock_driver: str
Whether the component is a clock driver.
- is_high_speed: str
Whether the component is a high speed.
- is_ic: str
Whether the component is a IC.
- is_oscillator: str
Whether the component is an oscillator.
- x_loc: str
X coordinate.
- y_loc: str
Y coordinate
- cap_type: str, optional
Type of the capacitor. The default is
"None". Options are"Decoupling","Stitching".