EDBNetsData#
- class pyedb.dotnet.database.edb_data.nets_data.EDBNetsData(raw_net, core_app)#
Bases:
pyedb.dotnet.database.dotnet.database.NetDotNetManages EDB functionalities for a primitives. It Inherits EDB Object properties.
Examples
>>> from pyedb import Edb >>> edb = Edb(myedb, edbversion="2021.2") >>> edb_net = edb.nets.nets["GND"] >>> edb_net.name # Class Property >>> edb_net.name # EDB Object Property
Overview#
Find DC-shorted nets. |
|
Plot a net to Matplotlib 2D chart. |
|
Retrieve the smallest trace width from paths. |
Return the list of primitives that belongs to the net. |
|
Return the list of primitives that belongs to the net. |
|
Return the list of components that touch the net. |
|
Get extended net and associated components. |
Import detail#
from pyedb.dotnet.database.edb_data.nets_data import EDBNetsData
Property detail#
- property EDBNetsData.primitives#
Return the list of primitives that belongs to the net.
- Returns:
listofpyedb.dotnet.database.edb_data.primitives_data.EDBPrimitives
- property EDBNetsData.padstack_instances#
Return the list of primitives that belongs to the net.
- property EDBNetsData.components#
Return the list of components that touch the net.
- property EDBNetsData.extended_net#
Get extended net and associated components.
- Returns:
Examples
>>> from pyedb import Edb >>> app = Edb() >>> app.nets["BST_V3P3_S5"].extended_net
Attribute detail#
- EDBNetsData.net_object#
Method detail#
- EDBNetsData.find_dc_short(fix=False)#
Find DC-shorted nets.
- EDBNetsData.plot(layers=None, show_legend=True, save_plot=None, outline=None, size=(2000, 1000), show=True)#
Plot a net to Matplotlib 2D chart.
- Parameters:
- layers
str,list,optional Name of the layers to include in the plot. If None all the signal layers will be considered.
- show_legendbool,
optional If True the legend is shown in the plot. (default) If False the legend is not shown.
- save_plot
str,optional If a path is specified the plot will be saved in this location. If
save_plotis provided, theshowparameter is ignored.- outline
list,optional List of points of the outline to plot.
- size
tuple,optional Image size in pixel (width, height).
- showbool,
optional Whether to show the plot or not. Default is True.
- layers