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 nets and associated components. |
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:
- 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 = None)#
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 = None)#
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 = 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_below
int,float,optional Threshold of resistor value. Extended nets are searched across resistors with values lower than this threshold. Default value is 10 ohms
- inductor_below
int,float,optional Threshold of inductor value. Extended nets are searched across inductors with values lower than this threshold. Default value is 1uH
- capacitor_above
int,float,optional Threshold of capacitor value. Extended nets are searched across capacitors with values higher than this threshold. Default value is 1nF
- 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_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.
- resistor_below
- Returns:
Examples
>>> from pyedb import Edb >>> app = Edb() >>> app.nets.generate_extended_nets()