ExtendedNets#

class pyedb.grpc.database.net.extended_net.ExtendedNets(pedb)#

Overview#

create

Create a new Extended net.

auto_identify_signal

Get extended signal net and associated components.

auto_identify_power

Get all extended power nets and their associated components.

generate_extended_nets

Get extended nets and associated components.

items

Extended nets.

Import detail#

from pyedb.grpc.database.net.extended_net import ExtendedNets

Property detail#

property ExtendedNets.items: dict[str, ExtendedNet]#

Extended nets.

Returns:
Dict[str, ExtendedNet]

Dictionary of extended nets.

Method detail#

ExtendedNets.create(name, net)#

Create a new Extended net.

Parameters:
namestr

Name of the extended net.

netstr, list

Name of the nets to be added into this extended net.

Returns:
ExtendedNet

Created ExtendedNet object.

ExtendedNets.auto_identify_signal(resistor_below: int | float = 10, inductor_below: int | float = 1, capacitor_above: int | float = 1e-09, exception_list: list | None = None)#

Get extended signal net and associated components.

Parameters:
resistor_belowint, float, optional

Threshold for the resistor value. Search the extended net across resistors that have a value lower than the threshold.

inductor_belowint, float, optional

Threshold for the inductor value. Search the extended net across inductances that have a value lower than the threshold.

capacitor_aboveint, float, optional

Threshold for the capacitor value. Search the extended net across capacitors that have a value higher than the threshold.

exception_listlist, optional

List of components to bypass when performing threshold checks. Components in the list are considered as serial components. The default is None.

Returns:
List[ExtendedNet]

List of all extended nets.

Examples

>>> from pyedb import Edb
>>> app = Edb()
>>> app.extended_nets.auto_identify_signal()
ExtendedNets.auto_identify_power(resistor_below: int | float = 10, inductor_below: int | float = 1, capacitor_above: int | float = 1, exception_list: list | None = None)#

Get all extended power nets and their associated components.

Parameters:
resistor_belowint, float, optional

Threshold for the resistor value. Search the extended net across resistors that have a value lower than the threshold.

inductor_belowint, float, optional

Threshold for the inductor value. Search the extended net across inductances that have a value lower than the threshold.

capacitor_aboveint, float, optional

Threshold for the capacitor value. Search the extended net across capacitors that have a value higher than the threshold.

exception_listlist, optional

List of components to bypass when performing threshold checks. Components in the list are considered as serial components. The default is None.

Returns:
List[ExtendedNet]

List of all extended nets and their associated components.

Examples

>>> from pyedb import Edb
>>> app = Edb()
>>> app.extended_nets.auto_identify_power()
ExtendedNets.generate_extended_nets(resistor_below: int | float = 10, inductor_below: int | float = 1e-06, capacitor_above: int | float = 1e-09, exception_list: list | None = None, include_signal: bool = True, include_power: bool = True)#

Get extended nets and associated components.

Parameters:
resistor_belowint, float, optional

Threshold of resistor value. Extended nets are searched across resistors with values lower than this threshold. Default value is 10 ohms

inductor_belowint, float, optional

Threshold of inductor value. Extended nets are searched across inductors with values lower than this threshold. Default value is 1uH

capacitor_aboveint, float, optional

Threshold of capacitor value. Extended nets are searched across capacitors with values higher than this threshold. Default value is 1nF

exception_listlist, optional

List of components to bypass when performing threshold checks. Components in the list are considered as serial components. The default is None.

include_signalbool, optional

Whether to generate extended signal nets. The default is True.

include_powerbool, optional

Whether to generate extended power nets. The default is True.

Returns:
list[list[str]]

List of generated extended net groups.

Examples

>>> from pyedb import Edb
>>> app = Edb()
>>> app.nets.generate_extended_nets()