pyedb 0.38.0__py3-none-any.whl → 0.39.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pyedb might be problematic. Click here for more details.
- pyedb/__init__.py +1 -1
- pyedb/common/nets.py +53 -139
- pyedb/configuration/cfg_components.py +1 -1
- pyedb/configuration/cfg_general.py +4 -2
- pyedb/configuration/cfg_modeler.py +1 -1
- pyedb/configuration/cfg_package_definition.py +1 -1
- pyedb/configuration/cfg_padstacks.py +1 -1
- pyedb/configuration/cfg_ports_sources.py +56 -23
- pyedb/configuration/configuration.py +18 -1
- pyedb/dotnet/{application → database}/Variables.py +21 -21
- pyedb/dotnet/{edb_core → database}/cell/connectable.py +5 -5
- pyedb/dotnet/{edb_core → database}/cell/hierarchy/component.py +11 -11
- pyedb/dotnet/{edb_core → database}/cell/hierarchy/hierarchy_obj.py +1 -1
- pyedb/dotnet/{edb_core → database}/cell/hierarchy/model.py +1 -1
- pyedb/dotnet/{edb_core → database}/cell/layout.py +17 -17
- pyedb/dotnet/{edb_core → database}/cell/layout_obj.py +3 -3
- pyedb/dotnet/{edb_core → database}/cell/primitive/bondwire.py +1 -1
- pyedb/dotnet/{edb_core → database}/cell/primitive/path.py +4 -4
- pyedb/dotnet/{edb_core → database}/cell/primitive/primitive.py +14 -14
- pyedb/dotnet/{edb_core → database}/cell/terminal/bundle_terminal.py +2 -2
- pyedb/dotnet/{edb_core → database}/cell/terminal/edge_terminal.py +4 -4
- pyedb/dotnet/{edb_core → database}/cell/terminal/padstack_instance_terminal.py +2 -2
- pyedb/dotnet/{edb_core → database}/cell/terminal/pingroup_terminal.py +2 -2
- pyedb/dotnet/{edb_core → database}/cell/terminal/point_terminal.py +2 -2
- pyedb/dotnet/{edb_core → database}/cell/terminal/terminal.py +11 -11
- pyedb/dotnet/{edb_core → database}/cell/voltage_regulator.py +2 -2
- pyedb/dotnet/{edb_core → database}/components.py +101 -124
- pyedb/dotnet/{edb_core → database}/definition/component_def.py +5 -5
- pyedb/dotnet/{edb_core → database}/definition/component_model.py +1 -1
- pyedb/dotnet/{edb_core → database}/definition/definition_obj.py +1 -1
- pyedb/dotnet/{edb_core → database}/definition/definitions.py +2 -2
- pyedb/dotnet/{edb_core → database}/definition/package_def.py +4 -4
- pyedb/dotnet/{edb_core → database}/dotnet/database.py +8 -8
- pyedb/dotnet/{edb_core → database}/dotnet/primitive.py +9 -9
- pyedb/dotnet/{edb_core → database}/edb_data/control_file.py +12 -12
- pyedb/dotnet/{edb_core → database}/edb_data/hfss_extent_info.py +7 -7
- pyedb/dotnet/{edb_core → database}/edb_data/nets_data.py +10 -13
- pyedb/dotnet/{edb_core → database}/edb_data/padstacks_data.py +16 -16
- pyedb/dotnet/{edb_core → database}/edb_data/ports.py +4 -4
- pyedb/dotnet/{edb_core → database}/edb_data/primitives_data.py +5 -5
- pyedb/dotnet/{edb_core → database}/edb_data/raptor_x_simulation_setup_data.py +4 -4
- pyedb/dotnet/{edb_core → database}/edb_data/simulation_configuration.py +10 -10
- pyedb/dotnet/{edb_core → database}/edb_data/sources.py +4 -4
- pyedb/dotnet/{edb_core → database}/edb_data/variables.py +1 -1
- pyedb/dotnet/{edb_core → database}/geometry/polygon_data.py +4 -4
- pyedb/dotnet/{edb_core → database}/hfss.py +8 -8
- pyedb/dotnet/{edb_core → database}/layout_obj_instance.py +1 -1
- pyedb/dotnet/{edb_core → database}/layout_validation.py +2 -2
- pyedb/dotnet/{edb_core → database}/materials.py +23 -8
- pyedb/dotnet/{edb_core → database}/modeler.py +27 -27
- pyedb/dotnet/{edb_core → database}/net_class.py +8 -8
- pyedb/dotnet/{edb_core → database}/nets.py +12 -12
- pyedb/dotnet/{edb_core → database}/padstack.py +15 -15
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/mesh_operation.py +1 -1
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/settings.py +3 -3
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/sim_setup_info.py +2 -2
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/simulation_settings.py +1 -1
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/siw_dc_ir_settings.py +1 -1
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/sweep_data.py +1 -1
- pyedb/dotnet/{edb_core → database}/siwave.py +10 -10
- pyedb/dotnet/{edb_core → database}/stackup.py +12 -12
- pyedb/dotnet/{edb_core → database}/utilities/hfss_simulation_setup.py +15 -15
- pyedb/dotnet/{edb_core → database}/utilities/obj_base.py +1 -1
- pyedb/dotnet/{edb_core → database}/utilities/simulation_setup.py +3 -3
- pyedb/dotnet/{edb_core → database}/utilities/siwave_simulation_setup.py +6 -6
- pyedb/dotnet/edb.py +117 -112
- pyedb/generic/design_types.py +26 -19
- pyedb/generic/general_methods.py +1 -1
- pyedb/generic/plot.py +0 -2
- pyedb/grpc/database/__init__.py +1 -0
- pyedb/grpc/database/components.py +2354 -0
- pyedb/grpc/database/control_file.py +1277 -0
- pyedb/grpc/database/definition/component_def.py +218 -0
- pyedb/grpc/database/definition/component_model.py +39 -0
- pyedb/grpc/database/definition/component_pin.py +32 -0
- pyedb/grpc/database/definition/materials.py +1207 -0
- pyedb/grpc/database/definition/n_port_component_model.py +34 -0
- pyedb/grpc/database/definition/package_def.py +227 -0
- pyedb/grpc/database/definition/padstack_def.py +842 -0
- pyedb/grpc/database/definitions.py +70 -0
- pyedb/grpc/database/general.py +43 -0
- pyedb/grpc/database/geometry/__init__.py +0 -0
- pyedb/grpc/database/geometry/arc_data.py +93 -0
- pyedb/grpc/database/geometry/point_3d_data.py +79 -0
- pyedb/grpc/database/geometry/point_data.py +30 -0
- pyedb/grpc/database/geometry/polygon_data.py +133 -0
- pyedb/grpc/database/hfss.py +1279 -0
- pyedb/grpc/database/hierarchy/__init__.py +0 -0
- pyedb/grpc/database/hierarchy/component.py +1301 -0
- pyedb/grpc/database/hierarchy/model.py +31 -0
- pyedb/grpc/database/hierarchy/netlist_model.py +30 -0
- pyedb/grpc/database/hierarchy/pin_pair_model.py +128 -0
- pyedb/grpc/database/hierarchy/pingroup.py +245 -0
- pyedb/grpc/database/hierarchy/s_parameter_model.py +33 -0
- pyedb/grpc/database/hierarchy/spice_model.py +48 -0
- pyedb/grpc/database/layers/__init__.py +0 -0
- pyedb/grpc/database/layers/layer.py +57 -0
- pyedb/grpc/database/layers/stackup_layer.py +410 -0
- pyedb/grpc/database/layout/__init__.py +0 -0
- pyedb/grpc/database/layout/cell.py +30 -0
- pyedb/grpc/database/layout/layout.py +196 -0
- pyedb/grpc/database/layout/voltage_regulator.py +149 -0
- pyedb/grpc/database/layout_validation.py +319 -0
- pyedb/grpc/database/modeler.py +1468 -0
- pyedb/grpc/database/net/__init__.py +0 -0
- pyedb/grpc/database/net/differential_pair.py +138 -0
- pyedb/grpc/database/net/extended_net.py +340 -0
- pyedb/grpc/database/net/net.py +198 -0
- pyedb/grpc/database/net/net_class.py +93 -0
- pyedb/grpc/database/nets.py +633 -0
- pyedb/grpc/database/padstacks.py +1500 -0
- pyedb/grpc/database/ports/__init__.py +0 -0
- pyedb/grpc/database/ports/ports.py +396 -0
- pyedb/grpc/database/primitive/__init__.py +3 -0
- pyedb/grpc/database/primitive/bondwire.py +181 -0
- pyedb/grpc/database/primitive/circle.py +75 -0
- pyedb/grpc/database/primitive/padstack_instance.py +1116 -0
- pyedb/grpc/database/primitive/path.py +346 -0
- pyedb/grpc/database/primitive/polygon.py +276 -0
- pyedb/grpc/database/primitive/primitive.py +739 -0
- pyedb/grpc/database/primitive/rectangle.py +146 -0
- pyedb/grpc/database/simulation_setup/__init__.py +0 -0
- pyedb/grpc/database/simulation_setup/adaptive_frequency.py +33 -0
- pyedb/grpc/database/simulation_setup/hfss_advanced_meshing_settings.py +32 -0
- pyedb/grpc/database/simulation_setup/hfss_advanced_settings.py +59 -0
- pyedb/grpc/database/simulation_setup/hfss_dcr_settings.py +35 -0
- pyedb/grpc/database/simulation_setup/hfss_general_settings.py +61 -0
- pyedb/grpc/database/simulation_setup/hfss_settings_options.py +78 -0
- pyedb/grpc/database/simulation_setup/hfss_simulation_settings.py +118 -0
- pyedb/grpc/database/simulation_setup/hfss_simulation_setup.py +355 -0
- pyedb/grpc/database/simulation_setup/hfss_solver_settings.py +34 -0
- pyedb/grpc/database/simulation_setup/mesh_operation.py +34 -0
- pyedb/grpc/database/simulation_setup/raptor_x_advanced_settings.py +34 -0
- pyedb/grpc/database/simulation_setup/raptor_x_general_settings.py +33 -0
- pyedb/grpc/database/simulation_setup/raptor_x_simulation_settings.py +64 -0
- pyedb/grpc/database/simulation_setup/raptor_x_simulation_setup.py +125 -0
- pyedb/grpc/database/simulation_setup/siwave_dcir_simulation_setup.py +34 -0
- pyedb/grpc/database/simulation_setup/siwave_simulation_setup.py +119 -0
- pyedb/grpc/database/simulation_setup/sweep_data.py +32 -0
- pyedb/grpc/database/siwave.py +1023 -0
- pyedb/grpc/database/source_excitations.py +2572 -0
- pyedb/grpc/database/stackup.py +2574 -0
- pyedb/grpc/database/terminal/__init__.py +0 -0
- pyedb/grpc/database/terminal/bundle_terminal.py +218 -0
- pyedb/grpc/database/terminal/edge_terminal.py +51 -0
- pyedb/grpc/database/terminal/padstack_instance_terminal.py +171 -0
- pyedb/grpc/database/terminal/pingroup_terminal.py +162 -0
- pyedb/grpc/database/terminal/point_terminal.py +99 -0
- pyedb/grpc/database/terminal/terminal.py +470 -0
- pyedb/grpc/database/utility/__init__.py +3 -0
- pyedb/grpc/database/utility/constants.py +25 -0
- pyedb/grpc/database/utility/heat_sink.py +124 -0
- pyedb/grpc/database/utility/hfss_extent_info.py +448 -0
- pyedb/grpc/database/utility/layout_statistics.py +277 -0
- pyedb/grpc/database/utility/rlc.py +80 -0
- pyedb/grpc/database/utility/simulation_configuration.py +3305 -0
- pyedb/grpc/database/utility/sources.py +388 -0
- pyedb/grpc/database/utility/sweep_data_distribution.py +83 -0
- pyedb/grpc/database/utility/xml_control_file.py +1277 -0
- pyedb/grpc/edb.py +4152 -0
- pyedb/grpc/edb_init.py +481 -0
- pyedb/grpc/rpc_session.py +177 -0
- pyedb/ipc2581/ecad/cad_data/assembly_drawing.py +3 -2
- pyedb/ipc2581/ecad/cad_data/feature.py +4 -3
- pyedb/ipc2581/ecad/cad_data/layer_feature.py +32 -20
- pyedb/ipc2581/ecad/cad_data/outline.py +3 -2
- pyedb/ipc2581/ecad/cad_data/package.py +4 -3
- pyedb/ipc2581/ecad/cad_data/path.py +82 -31
- pyedb/ipc2581/ecad/cad_data/polygon.py +122 -60
- pyedb/ipc2581/ecad/cad_data/profile.py +13 -12
- pyedb/ipc2581/ecad/cad_data/step.py +53 -21
- pyedb/ipc2581/ipc2581.py +47 -49
- pyedb/modeler/geometry_operators.py +1 -1
- {pyedb-0.38.0.dist-info → pyedb-0.39.1.dist-info}/METADATA +5 -2
- pyedb-0.39.1.dist-info/RECORD +288 -0
- pyedb-0.38.0.dist-info/RECORD +0 -195
- /pyedb/dotnet/{edb_core → database}/__init__.py +0 -0
- /pyedb/dotnet/{application → database/cell}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/cell → database/cell/hierarchy}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/hierarchy/netlist_model.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/hierarchy/pin_pair_model.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/hierarchy/s_parameter_model.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/hierarchy/spice_model.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/primitive/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/cell/hierarchy → database/cell/terminal}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/cell/terminal → database/definition}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/definition → database/dotnet}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/dotnet → database/edb_data}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/edb_data/design_options.py +0 -0
- /pyedb/dotnet/{edb_core → database}/edb_data/edbvalue.py +0 -0
- /pyedb/dotnet/{edb_core → database}/edb_data/layer_data.py +0 -0
- /pyedb/dotnet/{edb_core → database}/edb_data/utilities.py +0 -0
- /pyedb/dotnet/{edb_core → database}/general.py +0 -0
- /pyedb/dotnet/{edb_core/edb_data → database/geometry}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/geometry/point_data.py +0 -0
- /pyedb/dotnet/{edb_core → database}/sim_setup_data/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/sim_setup_data/data/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/sim_setup_data/data/adaptive_frequency_data.py +0 -0
- /pyedb/dotnet/{edb_core/geometry → database/sim_setup_data/io}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/sim_setup_data/io/siwave.py +0 -0
- /pyedb/dotnet/{edb_core → database}/utilities/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/utilities/heatsink.py +0 -0
- /pyedb/{dotnet/edb_core/sim_setup_data/io → grpc/database/definition}/__init__.py +0 -0
- {pyedb-0.38.0.dist-info → pyedb-0.39.1.dist-info}/LICENSE +0 -0
- {pyedb-0.38.0.dist-info → pyedb-0.39.1.dist-info}/WHEEL +0 -0
|
@@ -368,7 +368,7 @@ class VariableManager(object):
|
|
|
368
368
|
This class provides access to all variables or a subset of the
|
|
369
369
|
variables. Manipulation of the numerical or string definitions of
|
|
370
370
|
variable values is provided in the
|
|
371
|
-
:class:`pyedb.dotnet.
|
|
371
|
+
:class:`pyedb.dotnet.database.Variables.Variable` class.
|
|
372
372
|
|
|
373
373
|
Parameters
|
|
374
374
|
----------
|
|
@@ -410,7 +410,7 @@ class VariableManager(object):
|
|
|
410
410
|
|
|
411
411
|
See Also
|
|
412
412
|
--------
|
|
413
|
-
pyedb.dotnet.
|
|
413
|
+
pyedb.dotnet.database.Variables.Variable
|
|
414
414
|
|
|
415
415
|
Examples
|
|
416
416
|
--------
|
|
@@ -434,23 +434,23 @@ class VariableManager(object):
|
|
|
434
434
|
Get a dictionary of all project and design variables.
|
|
435
435
|
|
|
436
436
|
>>> v.variables
|
|
437
|
-
{'Var1': <pyedb.dotnet.
|
|
438
|
-
'Var2': <pyedb.dotnet.
|
|
439
|
-
'Var3': <pyedb.dotnet.
|
|
440
|
-
'$PrjVar1': <pyedb.dotnet.
|
|
437
|
+
{'Var1': <pyedb.dotnet.database.Variables.Variable at 0x2661f34c448>,
|
|
438
|
+
'Var2': <pyedb.dotnet.database.Variables.Variable at 0x2661f34c308>,
|
|
439
|
+
'Var3': <pyedb.dotnet.database.Variables.Expression at 0x2661f34cb48>,
|
|
440
|
+
'$PrjVar1': <pyedb.dotnet.database.Variables.Expression at 0x2661f34cc48>}
|
|
441
441
|
|
|
442
442
|
Get a dictionary of only the design variables.
|
|
443
443
|
|
|
444
444
|
>>> v.design_variables
|
|
445
|
-
{'Var1': <pyedb.dotnet.
|
|
446
|
-
'Var2': <pyedb.dotnet.
|
|
447
|
-
'Var3': <pyedb.dotnet.
|
|
445
|
+
{'Var1': <pyedb.dotnet.database.Variables.Variable at 0x2661f339508>,
|
|
446
|
+
'Var2': <pyedb.dotnet.database.Variables.Variable at 0x2661f3415c8>,
|
|
447
|
+
'Var3': <pyedb.dotnet.database.Variables.Expression at 0x2661f341808>}
|
|
448
448
|
|
|
449
449
|
Get a dictionary of only the independent design variables.
|
|
450
450
|
|
|
451
451
|
>>> v.independent_design_variables
|
|
452
|
-
{'Var1': <pyedb.dotnet.
|
|
453
|
-
'Var2': <pyedb.dotnet.
|
|
452
|
+
{'Var1': <pyedb.dotnet.database.Variables.Variable at 0x2661f335d08>,
|
|
453
|
+
'Var2': <pyedb.dotnet.database.Variables.Variable at 0x2661f3557c8>}
|
|
454
454
|
|
|
455
455
|
"""
|
|
456
456
|
|
|
@@ -1287,7 +1287,7 @@ class Variable(object):
|
|
|
1287
1287
|
Examples
|
|
1288
1288
|
--------
|
|
1289
1289
|
|
|
1290
|
-
>>> from pyedb.dotnet.
|
|
1290
|
+
>>> from pyedb.dotnet.database.Variables import Variable
|
|
1291
1291
|
|
|
1292
1292
|
Define a variable using a string value consistent with the AEDT properties.
|
|
1293
1293
|
|
|
@@ -1719,7 +1719,7 @@ class Variable(object):
|
|
|
1719
1719
|
|
|
1720
1720
|
Examples
|
|
1721
1721
|
--------
|
|
1722
|
-
>>> from pyedb.dotnet.
|
|
1722
|
+
>>> from pyedb.dotnet.database.Variables import Variable
|
|
1723
1723
|
|
|
1724
1724
|
>>> v = Variable("10W")
|
|
1725
1725
|
>>> assert v.numeric_value == 10
|
|
@@ -1752,7 +1752,7 @@ class Variable(object):
|
|
|
1752
1752
|
|
|
1753
1753
|
Examples
|
|
1754
1754
|
--------
|
|
1755
|
-
>>> from pyedb.dotnet.
|
|
1755
|
+
>>> from pyedb.dotnet.database.Variables import Variable
|
|
1756
1756
|
|
|
1757
1757
|
>>> v = Variable("10W")
|
|
1758
1758
|
>>> assert v.format("f") == '10.000000W'
|
|
@@ -1777,7 +1777,7 @@ class Variable(object):
|
|
|
1777
1777
|
|
|
1778
1778
|
Examples
|
|
1779
1779
|
--------
|
|
1780
|
-
>>> from pyedb.dotnet.
|
|
1780
|
+
>>> from pyedb.dotnet.database.Variables import Variable
|
|
1781
1781
|
|
|
1782
1782
|
Multiply ``'Length1'`` by unitless ``'None'``` to obtain ``'Length'``.
|
|
1783
1783
|
A numerical value is also considered to be unitless.
|
|
@@ -1827,7 +1827,7 @@ class Variable(object):
|
|
|
1827
1827
|
|
|
1828
1828
|
Parameters
|
|
1829
1829
|
----------
|
|
1830
|
-
other : class:`pyedb.dotnet.
|
|
1830
|
+
other : class:`pyedb.dotnet.database.Variables.Variable`
|
|
1831
1831
|
Object to be multiplied.
|
|
1832
1832
|
|
|
1833
1833
|
Returns
|
|
@@ -1837,7 +1837,7 @@ class Variable(object):
|
|
|
1837
1837
|
|
|
1838
1838
|
Examples
|
|
1839
1839
|
--------
|
|
1840
|
-
>>> from pyedb.dotnet.
|
|
1840
|
+
>>> from pyedb.dotnet.database.Variables import Variable
|
|
1841
1841
|
>>> import ansys.aedt.core.generic.constants
|
|
1842
1842
|
>>> v1 = Variable("3mA")
|
|
1843
1843
|
>>> v2 = Variable("10A")
|
|
@@ -1867,7 +1867,7 @@ class Variable(object):
|
|
|
1867
1867
|
|
|
1868
1868
|
Parameters
|
|
1869
1869
|
----------
|
|
1870
|
-
other : class:`pyedb.dotnet.
|
|
1870
|
+
other : class:`pyedb.dotnet.database.Variables.Variable`
|
|
1871
1871
|
Object to be subtracted.
|
|
1872
1872
|
|
|
1873
1873
|
Returns
|
|
@@ -1879,7 +1879,7 @@ class Variable(object):
|
|
|
1879
1879
|
--------
|
|
1880
1880
|
|
|
1881
1881
|
>>> import ansys.aedt.core.generic.constants
|
|
1882
|
-
>>> from pyedb.dotnet.
|
|
1882
|
+
>>> from pyedb.dotnet.database.Variables import Variable
|
|
1883
1883
|
>>> v3 = Variable("3mA")
|
|
1884
1884
|
>>> v4 = Variable("10A")
|
|
1885
1885
|
>>> result_2 = v3 - v4
|
|
@@ -1923,7 +1923,7 @@ class Variable(object):
|
|
|
1923
1923
|
Divide a variable with units ``"W"`` by a variable with units ``"V"`` and automatically
|
|
1924
1924
|
resolve the new units to ``"A"``.
|
|
1925
1925
|
|
|
1926
|
-
>>> from pyedb.dotnet.
|
|
1926
|
+
>>> from pyedb.dotnet.database.Variables import Variable
|
|
1927
1927
|
>>> import ansys.aedt.core.generic.constants
|
|
1928
1928
|
>>> v1 = Variable("10W")
|
|
1929
1929
|
>>> v2 = Variable("40V")
|
|
@@ -1967,7 +1967,7 @@ class Variable(object):
|
|
|
1967
1967
|
the result is in ``"Hz"``.
|
|
1968
1968
|
|
|
1969
1969
|
>>> import ansys.aedt.core.generic.constants
|
|
1970
|
-
>>> from pyedb.dotnet.
|
|
1970
|
+
>>> from pyedb.dotnet.database.Variables import Variable
|
|
1971
1971
|
>>> v = Variable("1s")
|
|
1972
1972
|
>>> result = 3.0 / v
|
|
1973
1973
|
>>> assert result.numeric_value == 3.0
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.layout_obj import LayoutObj
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class Connectable(LayoutObj):
|
|
@@ -35,9 +35,9 @@ class Connectable(LayoutObj):
|
|
|
35
35
|
|
|
36
36
|
Returns
|
|
37
37
|
-------
|
|
38
|
-
:class:`pyedb.dotnet.
|
|
38
|
+
:class:`pyedb.dotnet.database.edb_data.nets_data.EDBNetsData`
|
|
39
39
|
"""
|
|
40
|
-
from pyedb.dotnet.
|
|
40
|
+
from pyedb.dotnet.database.edb_data.nets_data import EDBNetsData
|
|
41
41
|
|
|
42
42
|
return EDBNetsData(self._edb_object.GetNet(), self._pedb)
|
|
43
43
|
|
|
@@ -74,9 +74,9 @@ class Connectable(LayoutObj):
|
|
|
74
74
|
|
|
75
75
|
Returns
|
|
76
76
|
-------
|
|
77
|
-
:class:`dotnet.
|
|
77
|
+
:class:`dotnet.database.edb_data.nets_data.EDBComponent`
|
|
78
78
|
"""
|
|
79
|
-
from pyedb.dotnet.
|
|
79
|
+
from pyedb.dotnet.database.cell.hierarchy.component import EDBComponent
|
|
80
80
|
|
|
81
81
|
edb_comp = self._edb_object.GetComponent()
|
|
82
82
|
if edb_comp.IsNull():
|
|
@@ -25,14 +25,14 @@ import re
|
|
|
25
25
|
from typing import Optional
|
|
26
26
|
import warnings
|
|
27
27
|
|
|
28
|
-
from pyedb.dotnet.
|
|
29
|
-
from pyedb.dotnet.
|
|
30
|
-
from pyedb.dotnet.
|
|
31
|
-
from pyedb.dotnet.
|
|
32
|
-
from pyedb.dotnet.
|
|
33
|
-
from pyedb.dotnet.
|
|
34
|
-
from pyedb.dotnet.
|
|
35
|
-
from pyedb.dotnet.
|
|
28
|
+
from pyedb.dotnet.database.cell.hierarchy.hierarchy_obj import Group
|
|
29
|
+
from pyedb.dotnet.database.cell.hierarchy.model import PinPairModel, SPICEModel
|
|
30
|
+
from pyedb.dotnet.database.cell.hierarchy.netlist_model import NetlistModel
|
|
31
|
+
from pyedb.dotnet.database.cell.hierarchy.pin_pair_model import PinPair
|
|
32
|
+
from pyedb.dotnet.database.cell.hierarchy.s_parameter_model import SparamModel
|
|
33
|
+
from pyedb.dotnet.database.cell.hierarchy.spice_model import SpiceModel
|
|
34
|
+
from pyedb.dotnet.database.definition.package_def import PackageDef
|
|
35
|
+
from pyedb.dotnet.database.edb_data.padstacks_data import EDBPadstackInstance
|
|
36
36
|
|
|
37
37
|
try:
|
|
38
38
|
import numpy as np
|
|
@@ -49,7 +49,7 @@ class EDBComponent(Group):
|
|
|
49
49
|
|
|
50
50
|
Parameters
|
|
51
51
|
----------
|
|
52
|
-
parent : :class:`pyedb.dotnet.
|
|
52
|
+
parent : :class:`pyedb.dotnet.database.components.Components`
|
|
53
53
|
Components object.
|
|
54
54
|
component : object
|
|
55
55
|
Edb Component Object
|
|
@@ -170,7 +170,7 @@ class EDBComponent(Group):
|
|
|
170
170
|
self._pedb.definitions.add_package_def(name, component_part_name=component_part_name)
|
|
171
171
|
self.package_def = name
|
|
172
172
|
|
|
173
|
-
from pyedb.dotnet.
|
|
173
|
+
from pyedb.dotnet.database.dotnet.database import PolygonDataDotNet
|
|
174
174
|
|
|
175
175
|
polygon = PolygonDataDotNet(self._pedb).create_from_bbox(self.component_instance.GetBBox())
|
|
176
176
|
self.package_def._edb_object.SetExteriorBoundary(polygon)
|
|
@@ -641,7 +641,7 @@ class EDBComponent(Group):
|
|
|
641
641
|
|
|
642
642
|
Returns
|
|
643
643
|
-------
|
|
644
|
-
dic[str, :class:`dotnet.
|
|
644
|
+
dic[str, :class:`dotnet.database.edb_data.definitions.EDBPadstackInstance`]
|
|
645
645
|
Dictionary of EDBPadstackInstance Components.
|
|
646
646
|
"""
|
|
647
647
|
pins = {}
|
|
@@ -25,33 +25,33 @@ This module contains these classes: `EdbLayout` and `Shape`.
|
|
|
25
25
|
"""
|
|
26
26
|
from typing import Union
|
|
27
27
|
|
|
28
|
-
from pyedb.dotnet.
|
|
29
|
-
from pyedb.dotnet.
|
|
30
|
-
from pyedb.dotnet.
|
|
31
|
-
from pyedb.dotnet.
|
|
32
|
-
from pyedb.dotnet.
|
|
33
|
-
from pyedb.dotnet.
|
|
28
|
+
from pyedb.dotnet.database.cell.hierarchy.component import EDBComponent
|
|
29
|
+
from pyedb.dotnet.database.cell.primitive.bondwire import Bondwire
|
|
30
|
+
from pyedb.dotnet.database.cell.primitive.path import Path
|
|
31
|
+
from pyedb.dotnet.database.cell.terminal.bundle_terminal import BundleTerminal
|
|
32
|
+
from pyedb.dotnet.database.cell.terminal.edge_terminal import EdgeTerminal
|
|
33
|
+
from pyedb.dotnet.database.cell.terminal.padstack_instance_terminal import (
|
|
34
34
|
PadstackInstanceTerminal,
|
|
35
35
|
)
|
|
36
|
-
from pyedb.dotnet.
|
|
37
|
-
from pyedb.dotnet.
|
|
38
|
-
from pyedb.dotnet.
|
|
39
|
-
from pyedb.dotnet.
|
|
36
|
+
from pyedb.dotnet.database.cell.terminal.pingroup_terminal import PinGroupTerminal
|
|
37
|
+
from pyedb.dotnet.database.cell.terminal.point_terminal import PointTerminal
|
|
38
|
+
from pyedb.dotnet.database.cell.voltage_regulator import VoltageRegulator
|
|
39
|
+
from pyedb.dotnet.database.edb_data.nets_data import (
|
|
40
40
|
EDBDifferentialPairData,
|
|
41
41
|
EDBExtendedNetData,
|
|
42
42
|
EDBNetClassData,
|
|
43
43
|
EDBNetsData,
|
|
44
44
|
)
|
|
45
|
-
from pyedb.dotnet.
|
|
46
|
-
from pyedb.dotnet.
|
|
45
|
+
from pyedb.dotnet.database.edb_data.padstacks_data import EDBPadstackInstance
|
|
46
|
+
from pyedb.dotnet.database.edb_data.primitives_data import (
|
|
47
47
|
EdbCircle,
|
|
48
48
|
EdbPolygon,
|
|
49
49
|
EdbRectangle,
|
|
50
50
|
EdbText,
|
|
51
51
|
)
|
|
52
|
-
from pyedb.dotnet.
|
|
53
|
-
from pyedb.dotnet.
|
|
54
|
-
from pyedb.dotnet.
|
|
52
|
+
from pyedb.dotnet.database.edb_data.sources import PinGroup
|
|
53
|
+
from pyedb.dotnet.database.general import convert_py_list_to_net_list
|
|
54
|
+
from pyedb.dotnet.database.utilities.obj_base import ObjBase
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
def primitive_cast(pedb, edb_object):
|
|
@@ -178,7 +178,7 @@ class Layout(ObjBase):
|
|
|
178
178
|
|
|
179
179
|
Returns
|
|
180
180
|
-------
|
|
181
|
-
Terminal dictionary : Dict[str, pyedb.dotnet.
|
|
181
|
+
Terminal dictionary : Dict[str, pyedb.dotnet.database.edb_data.terminals.Terminal]
|
|
182
182
|
"""
|
|
183
183
|
temp = []
|
|
184
184
|
for i in list(self._edb_object.Terminals):
|
|
@@ -228,7 +228,7 @@ class Layout(ObjBase):
|
|
|
228
228
|
|
|
229
229
|
Returns
|
|
230
230
|
-------
|
|
231
|
-
list of :class:`dotnet.
|
|
231
|
+
list of :class:`dotnet.database.dotnet.primitive.PrimitiveDotNet` cast objects.
|
|
232
232
|
"""
|
|
233
233
|
return [primitive_cast(self._pedb, p) for p in self._edb_object.Primitives if p]
|
|
234
234
|
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
24
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.layout_obj_instance import LayoutObjInstance
|
|
24
|
+
from pyedb.dotnet.database.utilities.obj_base import ObjBase
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class LayoutObj(ObjBase):
|
|
@@ -42,7 +42,7 @@ class LayoutObj(ObjBase):
|
|
|
42
42
|
|
|
43
43
|
@property
|
|
44
44
|
def _layout_obj_instance(self):
|
|
45
|
-
"""Returns :class:`dotnet.
|
|
45
|
+
"""Returns :class:`dotnet.database.edb_data.connectable.LayoutObjInstance`."""
|
|
46
46
|
obj = self._pedb.layout_instance.GetLayoutObjInstance(self._edb_object, None)
|
|
47
47
|
return LayoutObjInstance(self._pedb, obj)
|
|
48
48
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.primitive.primitive import Primitive
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class Bondwire(Primitive):
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
import math
|
|
23
23
|
|
|
24
|
-
from pyedb.dotnet.
|
|
25
|
-
from pyedb.dotnet.
|
|
26
|
-
from pyedb.dotnet.
|
|
24
|
+
from pyedb.dotnet.database.cell.primitive.primitive import Primitive
|
|
25
|
+
from pyedb.dotnet.database.general import convert_py_list_to_net_list
|
|
26
|
+
from pyedb.dotnet.database.geometry.point_data import PointData
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
class Path(Primitive):
|
|
@@ -203,7 +203,7 @@ class Path(Primitive):
|
|
|
203
203
|
|
|
204
204
|
Returns
|
|
205
205
|
-------
|
|
206
|
-
:class:`dotnet.
|
|
206
|
+
:class:`dotnet.database.edb_data.sources.ExcitationPorts`
|
|
207
207
|
|
|
208
208
|
Examples
|
|
209
209
|
--------
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
import re
|
|
23
23
|
|
|
24
|
-
from pyedb.dotnet.
|
|
25
|
-
from pyedb.dotnet.
|
|
26
|
-
from pyedb.dotnet.
|
|
24
|
+
from pyedb.dotnet.database.cell.connectable import Connectable
|
|
25
|
+
from pyedb.dotnet.database.general import convert_py_list_to_net_list
|
|
26
|
+
from pyedb.dotnet.database.geometry.polygon_data import PolygonData
|
|
27
27
|
from pyedb.misc.utilities import compute_arc_points
|
|
28
28
|
from pyedb.modeler.geometry_operators import GeometryOperators
|
|
29
29
|
|
|
@@ -268,7 +268,7 @@ class Primitive(Connectable):
|
|
|
268
268
|
|
|
269
269
|
Returns
|
|
270
270
|
-------
|
|
271
|
-
bool, :class:`dotnet.
|
|
271
|
+
bool, :class:`dotnet.database.edb_data.primitives.EDBPrimitives`
|
|
272
272
|
Polygon when successful, ``False`` when failed.
|
|
273
273
|
|
|
274
274
|
"""
|
|
@@ -285,7 +285,7 @@ class Primitive(Connectable):
|
|
|
285
285
|
|
|
286
286
|
Parameters
|
|
287
287
|
----------
|
|
288
|
-
primitive : :class:`pyaeedt.
|
|
288
|
+
primitive : :class:`pyaeedt.database.edb_data.primitives_data.EDBPrimitives` or `PolygonData`
|
|
289
289
|
|
|
290
290
|
Returns
|
|
291
291
|
-------
|
|
@@ -309,7 +309,7 @@ class Primitive(Connectable):
|
|
|
309
309
|
|
|
310
310
|
Parameters
|
|
311
311
|
----------
|
|
312
|
-
primitive : :class:`pyaeedt.
|
|
312
|
+
primitive : :class:`pyaeedt.database.edb_data.primitives_data.EDBPrimitives` or `PolygonData`
|
|
313
313
|
|
|
314
314
|
Returns
|
|
315
315
|
-------
|
|
@@ -355,11 +355,11 @@ class Primitive(Connectable):
|
|
|
355
355
|
|
|
356
356
|
Parameters
|
|
357
357
|
----------
|
|
358
|
-
primitives : :class:`dotnet.
|
|
358
|
+
primitives : :class:`dotnet.database.edb_data.EDBPrimitives` or EDB PolygonData or EDB Primitive or list
|
|
359
359
|
|
|
360
360
|
Returns
|
|
361
361
|
-------
|
|
362
|
-
List of :class:`dotnet.
|
|
362
|
+
List of :class:`dotnet.database.edb_data.EDBPrimitives`
|
|
363
363
|
"""
|
|
364
364
|
poly = self.primitive_object.GetPolygonData()
|
|
365
365
|
if not isinstance(primitives, list):
|
|
@@ -405,11 +405,11 @@ class Primitive(Connectable):
|
|
|
405
405
|
|
|
406
406
|
Parameters
|
|
407
407
|
----------
|
|
408
|
-
primitives : :class:`dotnet.
|
|
408
|
+
primitives : :class:`dotnet.database.edb_data.EDBPrimitives` or EDB PolygonData or EDB Primitive or list
|
|
409
409
|
|
|
410
410
|
Returns
|
|
411
411
|
-------
|
|
412
|
-
List of :class:`dotnet.
|
|
412
|
+
List of :class:`dotnet.database.edb_data.EDBPrimitives`
|
|
413
413
|
"""
|
|
414
414
|
poly = self._edb_object.GetPolygonData()
|
|
415
415
|
if not isinstance(primitives, list):
|
|
@@ -476,11 +476,11 @@ class Primitive(Connectable):
|
|
|
476
476
|
|
|
477
477
|
Parameters
|
|
478
478
|
----------
|
|
479
|
-
primitives : :class:`dotnet.
|
|
479
|
+
primitives : :class:`dotnet.database.edb_data.EDBPrimitives` or EDB PolygonData or EDB Primitive or list
|
|
480
480
|
|
|
481
481
|
Returns
|
|
482
482
|
-------
|
|
483
|
-
List of :class:`dotnet.
|
|
483
|
+
List of :class:`dotnet.database.edb_data.EDBPrimitives`
|
|
484
484
|
"""
|
|
485
485
|
poly = self._edb_object.GetPolygonData()
|
|
486
486
|
if not isinstance(primitives, list):
|
|
@@ -601,7 +601,7 @@ class Primitive(Connectable):
|
|
|
601
601
|
|
|
602
602
|
@property
|
|
603
603
|
def polygon_data(self):
|
|
604
|
-
""":class:`pyedb.dotnet.
|
|
604
|
+
""":class:`pyedb.dotnet.database.dotnet.database.PolygonDataDotNet`: Outer contour of the Polygon object."""
|
|
605
605
|
return PolygonData(self._pedb, self._edb_object.GetPolygonData())
|
|
606
606
|
|
|
607
607
|
def add_void(self, point_list):
|
|
@@ -609,7 +609,7 @@ class Primitive(Connectable):
|
|
|
609
609
|
|
|
610
610
|
Parameters
|
|
611
611
|
----------
|
|
612
|
-
point_list : list or :class:`pyedb.dotnet.
|
|
612
|
+
point_list : list or :class:`pyedb.dotnet.database.edb_data.primitives_data.EDBPrimitives` \
|
|
613
613
|
or EDB Primitive Object. Point list in the format of `[[x1,y1], [x2,y2],..,[xn,yn]]`.
|
|
614
614
|
|
|
615
615
|
Returns
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
24
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.terminal.edge_terminal import EdgeTerminal
|
|
24
|
+
from pyedb.dotnet.database.cell.terminal.terminal import Terminal
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class BundleTerminal(Terminal):
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
24
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.terminal.terminal import Terminal
|
|
24
|
+
from pyedb.dotnet.database.general import convert_py_list_to_net_list
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class EdgeTerminal(Terminal):
|
|
@@ -33,12 +33,12 @@ class EdgeTerminal(Terminal):
|
|
|
33
33
|
|
|
34
34
|
Parameters
|
|
35
35
|
----------
|
|
36
|
-
port : :class:`dotnet.
|
|
36
|
+
port : :class:`dotnet.database.ports.WavePort`, :class:`dotnet.database.ports.GapPort`, list, optional
|
|
37
37
|
Ports to be added.
|
|
38
38
|
|
|
39
39
|
Returns
|
|
40
40
|
-------
|
|
41
|
-
:class:`dotnet.
|
|
41
|
+
:class:`dotnet.database.ports.BundleWavePort`
|
|
42
42
|
|
|
43
43
|
"""
|
|
44
44
|
if not isinstance(port, (list, tuple)):
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
24
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.terminal.terminal import Terminal
|
|
24
|
+
from pyedb.dotnet.database.edb_data.padstacks_data import EDBPadstackInstance
|
|
25
25
|
from pyedb.generic.general_methods import generate_unique_name
|
|
26
26
|
|
|
27
27
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.terminal.terminal import Terminal
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class PinGroupTerminal(Terminal):
|
|
@@ -45,7 +45,7 @@ class PinGroupTerminal(Terminal):
|
|
|
45
45
|
|
|
46
46
|
Returns
|
|
47
47
|
-------
|
|
48
|
-
:class:`pyedb.dotnet.
|
|
48
|
+
:class:`pyedb.dotnet.database.edb_data.terminals.PinGroupTerminal`
|
|
49
49
|
"""
|
|
50
50
|
net_obj = self._pedb.layout.find_net_by_name(net_name)
|
|
51
51
|
term = self._pedb.edb_api.cell.terminal.PinGroupTerminal.Create(
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.terminal.terminal import Terminal
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class PointTerminal(Terminal):
|
|
@@ -48,7 +48,7 @@ class PointTerminal(Terminal):
|
|
|
48
48
|
|
|
49
49
|
Returns
|
|
50
50
|
-------
|
|
51
|
-
:class:`pyedb.dotnet.
|
|
51
|
+
:class:`pyedb.dotnet.database.edb_data.terminals.PointTerminal`
|
|
52
52
|
"""
|
|
53
53
|
terminal = self._pedb.edb_api.cell.terminal.PointTerminal.Create(
|
|
54
54
|
self._pedb.active_layout,
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
import re
|
|
24
24
|
|
|
25
|
-
from pyedb.dotnet.
|
|
26
|
-
from pyedb.dotnet.
|
|
27
|
-
from pyedb.dotnet.
|
|
25
|
+
from pyedb.dotnet.database.cell.connectable import Connectable
|
|
26
|
+
from pyedb.dotnet.database.edb_data.padstacks_data import EDBPadstackInstance
|
|
27
|
+
from pyedb.dotnet.database.edb_data.primitives_data import cast
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class Terminal(Connectable):
|
|
@@ -230,8 +230,8 @@ class Terminal(Connectable):
|
|
|
230
230
|
|
|
231
231
|
Returns
|
|
232
232
|
-------
|
|
233
|
-
:class:`dotnet.
|
|
234
|
-
:class:`pyedb.dotnet.
|
|
233
|
+
:class:`dotnet.database.edb_data.padstacks_data.EDBPadstackInstance` or
|
|
234
|
+
:class:`pyedb.dotnet.database.edb_data.primitives_data.EDBPrimitives`
|
|
235
235
|
"""
|
|
236
236
|
if not self._reference_object:
|
|
237
237
|
term = self._edb_object
|
|
@@ -274,7 +274,7 @@ class Terminal(Connectable):
|
|
|
274
274
|
|
|
275
275
|
Returns
|
|
276
276
|
-------
|
|
277
|
-
:class:`dotnet.
|
|
277
|
+
:class:`dotnet.database.edb_data.padstack_data.EDBPadstackInstance`
|
|
278
278
|
"""
|
|
279
279
|
|
|
280
280
|
if self._edb_object.GetIsCircuitPort():
|
|
@@ -296,7 +296,7 @@ class Terminal(Connectable):
|
|
|
296
296
|
|
|
297
297
|
Returns
|
|
298
298
|
-------
|
|
299
|
-
:class:`dotnet.
|
|
299
|
+
:class:`dotnet.database.edb_data.padstack_data.EDBPadstackInstance`
|
|
300
300
|
"""
|
|
301
301
|
|
|
302
302
|
refTerm = self._edb_object.GetReferenceTerminal()
|
|
@@ -327,7 +327,7 @@ class Terminal(Connectable):
|
|
|
327
327
|
|
|
328
328
|
Returns
|
|
329
329
|
-------
|
|
330
|
-
:class:`pyedb.dotnet.
|
|
330
|
+
:class:`pyedb.dotnet.database.edb_data.primitives_data.EDBPrimitives`
|
|
331
331
|
"""
|
|
332
332
|
|
|
333
333
|
ref_layer = self._edb_object.GetReferenceLayer()
|
|
@@ -349,8 +349,8 @@ class Terminal(Connectable):
|
|
|
349
349
|
|
|
350
350
|
Returns
|
|
351
351
|
-------
|
|
352
|
-
:class:`dotnet.
|
|
353
|
-
:class:`pyedb.dotnet.
|
|
352
|
+
:class:`dotnet.database.edb_data.padstacks_data.EDBPadstackInstance` or
|
|
353
|
+
:class:`pyedb.dotnet.database.edb_data.primitives_data.EDBPrimitives`
|
|
354
354
|
"""
|
|
355
355
|
|
|
356
356
|
ref_term = self._edb_object.GetReferenceTerminal() # return value is type terminal
|
|
@@ -384,7 +384,7 @@ class Terminal(Connectable):
|
|
|
384
384
|
|
|
385
385
|
Returns
|
|
386
386
|
-------
|
|
387
|
-
:class:`pyedb.dotnet.
|
|
387
|
+
:class:`pyedb.dotnet.database.edb_data.padstacks_data.EDBPadstackInstance`
|
|
388
388
|
"""
|
|
389
389
|
comp_inst = self._edb_object.GetComponent()
|
|
390
390
|
pins = self._pedb.components.get_pin_from_component(comp_inst.GetName())
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
24
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.connectable import Connectable
|
|
24
|
+
from pyedb.dotnet.database.edb_data.padstacks_data import EDBPadstackInstance
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class VoltageRegulator(Connectable):
|