ExtendedNets#
- class pyedb.grpc.database.net.extended_net.ExtendedNets(pedb)#
Overview#
Create a new Extended net. |
|
Get extended signal net and associated components. |
|
Get all extended power nets and their associated components. |
|
Get extended net and associated components. |
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:
- Returns:
ExtendedNetCreated 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_below
int,float,optional Threshold for the resistor value. Search the extended net across resistors that have a value lower than the threshold.
- inductor_below
int,float,optional Threshold for the inductor value. Search the extended net across inductances that have a value lower than the threshold.
- capacitor_above
int,float,optional Threshold for the capacitor value. Search the extended net across capacitors that have a value higher than the threshold.
- exception_list
list,optional List of components to bypass when performing threshold checks. Components in the list are considered as serial components. The default is
None.
- resistor_below
- 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_below
int,float,optional Threshold for the resistor value. Search the extended net across resistors that have a value lower than the threshold.
- inductor_below
int,float,optional Threshold for the inductor value. Search the extended net across inductances that have a value lower than the threshold.
- capacitor_above
int,float,optional Threshold for the capacitor value. Search the extended net across capacitors that have a value higher than the threshold.
- exception_list
list,optional List of components to bypass when performing threshold checks. Components in the list are considered as serial components. The default is
None.
- resistor_below
- 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_below
int,float,optional Threshold of resistor value. Search extended net across resistors which has value lower than the threshold.
- inductor_below
int,float,optional Threshold of inductor value. Search extended net across inductances which has value lower than the threshold.
- capacitor_above
int,float,optional Threshold of capacitor value. Search extended net across capacitors which has value higher than the threshold.
- exception_list
list,optional List of components to bypass when performing threshold checks. Components in the list are considered as serial components. The default is
None.- include_signal
str,optional Whether to generate extended signal nets. The default is
True.- include_power
str,optional Whether to generate extended power nets. The default is
True.
- resistor_below
- Returns:
List[ExtendedNet]List of all extended nets.
Examples
>>> from pyedb import Edb >>> app = Edb() >>> app.nets.get_extended_nets()