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 net and associated components.

items

Extended nets.

Import detail#

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

Property detail#

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

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) list[ExtendedNet]#

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) list#

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 = 1, capacitor_above: int | float = 1, exception_list: list = None, include_signal: bool = True, include_power: bool = True) list[ExtendedNet]#

Get extended net and associated components.

Parameters:
resistor_belowint, float, optional

Threshold of resistor value. Search extended net across resistors which has value lower than the threshold.

inductor_belowint, float, optional

Threshold of inductor value. Search extended net across inductances which has value lower than the threshold.

capacitor_aboveint, float, optional

Threshold of capacitor value. Search extended net across capacitors which has 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.

include_signalstr, optional

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

include_powerstr, optional

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

Returns:
List[ExtendedNet]

List of all extended nets.

Examples

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