EdbExtendedNets#

class pyedb.dotnet.database.net_class.EdbExtendedNets(p_edb)#

Bases: EdbCommon, object

Manages EDB methods for managing nets accessible from the Edb.extended_nets property.

Examples

>>> from pyedb import Edb
>>> edbapp = Edb("myaedbfolder", edbversion="2021.2")
>>> edb_nets = edbapp.extended_nets

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.

items

Extended nets.

Import detail#

from pyedb.dotnet.database.net_class import EdbExtendedNets

Property detail#

property EdbExtendedNets.items#

Extended nets.

Returns:
dict[str, pyedb.dotnet.database.edb_data.nets_data.EDBExtendedNetsData]

Dictionary of extended nets.

Method detail#

EdbExtendedNets.create(name: str, net: str | list) pyedb.dotnet.database.edb_data.nets_data.EDBExtendedNetData#

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:
pyedb.dotnet.database.edb_data.nets_data.EDBExtendedNetsData
EdbExtendedNets.auto_identify_signal(resistor_below: int | float = 10, inductor_below: int | float = 1, capacitor_above: int | float = 1e-09, exception_list: list = None) list#

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

List of all extended nets.

Examples

>>> from pyedb import Edb
>>> app = Edb()
>>> app.extended_nets.auto_identify_signal()
EdbExtendedNets.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

List of all extended nets and their associated components.

Examples

>>> from pyedb import Edb
>>> app = Edb()
>>> app.extended_nets.auto_identify_power()