ControlFile#

class pyedb.grpc.database.control_file.ControlFile(xml_input: str | None = None, technology: str | None = None, layer_map: str | None = None)#

Main class for EDB control file creation and management.

Parameters:
xml_inputstr, optional

Path to existing XML file to parse.

tecnhologystr, optional

Path to technology file to convert.

layer_mapstr, optional

Path to layer map file.

Overview#

parse_technology

Parse a technology file and convert to XML control file.

parse_layer_map

Parse a layer map file and update stackup.

parse_xml

Parse an XML control file and populate the object.

write_xml

Write control file to XML.

Import detail#

from pyedb.grpc.database.control_file import ControlFile

Attribute detail#

ControlFile.stackup#
ControlFile.boundaries#
ControlFile.remove_holes = False#
ControlFile.remove_holes_area_minimum = 30#
ControlFile.remove_holes_units = 'um'#
ControlFile.setups#
ControlFile.components#
ControlFile.import_options#

Method detail#

ControlFile.parse_technology(tecnhology: str, edbversion: str | None = None) bool#

Parse a technology file and convert to XML control file.

Parameters:
tecnhologystr

Path to technology file.

edbversionstr, optional

EDB version to use for conversion.

Returns:
bool

True if successful, False otherwise.

ControlFile.parse_layer_map(layer_map: str) bool#

Parse a layer map file and update stackup.

Parameters:
layer_mapstr

Path to layer map file.

Returns:
bool

True if successful, False otherwise.

ControlFile.parse_xml(xml_input: str) bool#

Parse an XML control file and populate the object.

Parameters:
xml_inputstr

Path to XML control file.

Returns:
bool

True if successful, False otherwise.

ControlFile.write_xml(xml_output)#

Write control file to XML.

Parameters:
xml_outputstr

Output XML file path.

Returns:
bool

True if file created successfully, False otherwise.