pyedb 0.50.0__py3-none-any.whl → 0.51.2__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/configuration/cfg_ports_sources.py +79 -239
- pyedb/configuration/configuration.py +27 -0
- pyedb/dotnet/clr_module.py +9 -3
- pyedb/dotnet/database/cell/hierarchy/component.py +3 -3
- pyedb/dotnet/database/cell/layout.py +10 -1
- pyedb/dotnet/database/dotnet/database.py +0 -2
- pyedb/dotnet/database/edb_data/padstacks_data.py +13 -0
- pyedb/dotnet/database/layout_validation.py +17 -13
- pyedb/dotnet/database/modeler.py +0 -1
- pyedb/dotnet/edb.py +7 -1
- pyedb/generic/design_types.py +183 -62
- pyedb/grpc/database/components.py +604 -652
- pyedb/grpc/database/control_file.py +597 -155
- pyedb/grpc/database/definition/component_def.py +17 -14
- pyedb/grpc/database/definition/materials.py +27 -27
- pyedb/grpc/database/definition/package_def.py +8 -8
- pyedb/grpc/database/definition/padstack_def.py +31 -33
- pyedb/grpc/database/definitions.py +36 -2
- pyedb/grpc/database/geometry/arc_data.py +5 -5
- pyedb/grpc/database/geometry/point_3d_data.py +3 -3
- pyedb/grpc/database/geometry/polygon_data.py +5 -5
- pyedb/grpc/database/hfss.py +412 -395
- pyedb/grpc/database/hierarchy/component.py +67 -58
- pyedb/grpc/database/hierarchy/pin_pair_model.py +6 -6
- pyedb/grpc/database/hierarchy/pingroup.py +13 -11
- pyedb/grpc/database/hierarchy/s_parameter_model.py +1 -1
- pyedb/grpc/database/hierarchy/spice_model.py +1 -1
- pyedb/grpc/database/layers/layer.py +2 -2
- pyedb/grpc/database/layers/stackup_layer.py +26 -23
- pyedb/grpc/database/layout/layout.py +12 -12
- pyedb/grpc/database/layout/voltage_regulator.py +8 -8
- pyedb/grpc/database/layout_validation.py +58 -7
- pyedb/grpc/database/modeler.py +248 -245
- pyedb/grpc/database/net/differential_pair.py +4 -4
- pyedb/grpc/database/net/extended_net.py +7 -8
- pyedb/grpc/database/net/net.py +57 -46
- pyedb/grpc/database/nets.py +362 -116
- pyedb/grpc/database/padstacks.py +259 -178
- pyedb/grpc/database/ports/ports.py +23 -17
- pyedb/grpc/database/primitive/padstack_instance.py +45 -30
- pyedb/grpc/database/primitive/path.py +6 -6
- pyedb/grpc/database/primitive/polygon.py +9 -9
- pyedb/grpc/database/primitive/primitive.py +21 -21
- pyedb/grpc/database/primitive/rectangle.py +1 -1
- pyedb/grpc/database/simulation_setup/hfss_advanced_settings.py +1 -1
- pyedb/grpc/database/simulation_setup/hfss_general_settings.py +1 -1
- pyedb/grpc/database/simulation_setup/hfss_settings_options.py +1 -1
- pyedb/grpc/database/simulation_setup/hfss_simulation_settings.py +6 -6
- pyedb/grpc/database/simulation_setup/hfss_simulation_setup.py +2 -2
- pyedb/grpc/database/simulation_setup/raptor_x_simulation_settings.py +2 -2
- pyedb/grpc/database/simulation_setup/raptor_x_simulation_setup.py +1 -1
- pyedb/grpc/database/simulation_setup/siwave_simulation_setup.py +3 -3
- pyedb/grpc/database/siwave.py +226 -214
- pyedb/grpc/database/source_excitations.py +307 -40
- pyedb/grpc/database/stackup.py +461 -283
- pyedb/grpc/database/terminal/bundle_terminal.py +12 -12
- pyedb/grpc/database/terminal/edge_terminal.py +6 -5
- pyedb/grpc/database/terminal/padstack_instance_terminal.py +13 -13
- pyedb/grpc/database/terminal/pingroup_terminal.py +12 -12
- pyedb/grpc/database/terminal/point_terminal.py +6 -6
- pyedb/grpc/database/terminal/terminal.py +26 -26
- pyedb/grpc/database/utility/heat_sink.py +5 -5
- pyedb/grpc/database/utility/hfss_extent_info.py +21 -21
- pyedb/grpc/database/utility/layout_statistics.py +13 -13
- pyedb/grpc/database/utility/rlc.py +3 -3
- pyedb/grpc/database/utility/sources.py +1 -1
- pyedb/grpc/database/utility/sweep_data_distribution.py +1 -1
- pyedb/grpc/edb.py +542 -739
- pyedb/grpc/edb_init.py +50 -3
- {pyedb-0.50.0.dist-info → pyedb-0.51.2.dist-info}/METADATA +1 -1
- {pyedb-0.50.0.dist-info → pyedb-0.51.2.dist-info}/RECORD +74 -75
- pyedb/grpc/database/utility/simulation_configuration.py +0 -3305
- {pyedb-0.50.0.dist-info → pyedb-0.51.2.dist-info}/LICENSE +0 -0
- {pyedb-0.50.0.dist-info → pyedb-0.51.2.dist-info}/WHEEL +0 -0
|
@@ -60,7 +60,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
60
60
|
return self._pedb.active_cell.hfss_extent_info
|
|
61
61
|
|
|
62
62
|
@property
|
|
63
|
-
def air_box_horizontal_extent_enabled(self):
|
|
63
|
+
def air_box_horizontal_extent_enabled(self) -> bool:
|
|
64
64
|
"""Whether horizontal extent is enabled for the airbox.
|
|
65
65
|
|
|
66
66
|
Returns
|
|
@@ -77,7 +77,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
77
77
|
self._update_hfss_extent_info(hfss_extent)
|
|
78
78
|
|
|
79
79
|
@property
|
|
80
|
-
def air_box_horizontal_extent(self):
|
|
80
|
+
def air_box_horizontal_extent(self) -> float:
|
|
81
81
|
"""Size of horizontal extent for the air box.
|
|
82
82
|
|
|
83
83
|
Returns
|
|
@@ -94,7 +94,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
94
94
|
self._update_hfss_extent_info(hfss_extent)
|
|
95
95
|
|
|
96
96
|
@property
|
|
97
|
-
def air_box_positive_vertical_extent_enabled(self):
|
|
97
|
+
def air_box_positive_vertical_extent_enabled(self) -> bool:
|
|
98
98
|
"""Whether positive vertical extent is enabled for the air box.
|
|
99
99
|
|
|
100
100
|
Returns
|
|
@@ -111,7 +111,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
111
111
|
self._update_hfss_extent_info(hfss_exent)
|
|
112
112
|
|
|
113
113
|
@property
|
|
114
|
-
def air_box_positive_vertical_extent(self):
|
|
114
|
+
def air_box_positive_vertical_extent(self) -> float:
|
|
115
115
|
"""Negative vertical extent for the air box.
|
|
116
116
|
|
|
117
117
|
Returns
|
|
@@ -129,7 +129,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
129
129
|
self._update_hfss_extent_info(hfss_extent)
|
|
130
130
|
|
|
131
131
|
@property
|
|
132
|
-
def air_box_negative_vertical_extent_enabled(self):
|
|
132
|
+
def air_box_negative_vertical_extent_enabled(self) -> bool:
|
|
133
133
|
"""Whether negative vertical extent is enabled for the air box.
|
|
134
134
|
|
|
135
135
|
Returns
|
|
@@ -146,7 +146,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
146
146
|
self._update_hfss_extent_info(hfss_extent)
|
|
147
147
|
|
|
148
148
|
@property
|
|
149
|
-
def air_box_negative_vertical_extent(self):
|
|
149
|
+
def air_box_negative_vertical_extent(self) -> float:
|
|
150
150
|
"""Negative vertical extent for the airbox.
|
|
151
151
|
|
|
152
152
|
Returns
|
|
@@ -164,7 +164,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
164
164
|
self._update_hfss_extent_info(hfss_extent)
|
|
165
165
|
|
|
166
166
|
@property
|
|
167
|
-
def base_polygon(self):
|
|
167
|
+
def base_polygon(self) -> any:
|
|
168
168
|
"""Base polygon.
|
|
169
169
|
|
|
170
170
|
Returns
|
|
@@ -180,7 +180,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
180
180
|
self._update_hfss_extent_info(hfss_extent)
|
|
181
181
|
|
|
182
182
|
@property
|
|
183
|
-
def dielectric_base_polygon(self):
|
|
183
|
+
def dielectric_base_polygon(self) -> any:
|
|
184
184
|
"""Dielectric base polygon.
|
|
185
185
|
|
|
186
186
|
Returns
|
|
@@ -196,7 +196,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
196
196
|
self._update_hfss_extent_info(hfss_extent)
|
|
197
197
|
|
|
198
198
|
@property
|
|
199
|
-
def dielectric_extent_size_enabled(self):
|
|
199
|
+
def dielectric_extent_size_enabled(self) -> bool:
|
|
200
200
|
"""Whether dielectric extent size is enabled.
|
|
201
201
|
|
|
202
202
|
Returns
|
|
@@ -212,7 +212,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
212
212
|
self._update_hfss_extent_info(hfss_extent)
|
|
213
213
|
|
|
214
214
|
@property
|
|
215
|
-
def dielectric_extent_size(self):
|
|
215
|
+
def dielectric_extent_size(self) -> float:
|
|
216
216
|
"""Dielectric extent size.
|
|
217
217
|
|
|
218
218
|
Returns
|
|
@@ -229,7 +229,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
229
229
|
self._update_hfss_extent_info(hfss_extent)
|
|
230
230
|
|
|
231
231
|
@property
|
|
232
|
-
def dielectric_extent_type(self):
|
|
232
|
+
def dielectric_extent_type(self) -> str:
|
|
233
233
|
"""Dielectric extent type.
|
|
234
234
|
|
|
235
235
|
Returns
|
|
@@ -247,7 +247,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
247
247
|
self._update_hfss_extent_info(hfss_extent)
|
|
248
248
|
|
|
249
249
|
@property
|
|
250
|
-
def extent_type(self):
|
|
250
|
+
def extent_type(self) -> str:
|
|
251
251
|
"""Extent type.
|
|
252
252
|
|
|
253
253
|
Returns
|
|
@@ -275,7 +275,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
275
275
|
self._update_hfss_extent_info(hfss_extent)
|
|
276
276
|
|
|
277
277
|
@property
|
|
278
|
-
def honor_user_dielectric(self):
|
|
278
|
+
def honor_user_dielectric(self) -> bool:
|
|
279
279
|
"""Honor user dielectric.
|
|
280
280
|
|
|
281
281
|
Returns
|
|
@@ -291,7 +291,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
291
291
|
self._update_hfss_extent_info(hfss_extent)
|
|
292
292
|
|
|
293
293
|
@property
|
|
294
|
-
def is_pml_visible(self):
|
|
294
|
+
def is_pml_visible(self) -> bool:
|
|
295
295
|
"""Whether visibility of the PML is enabled.
|
|
296
296
|
|
|
297
297
|
Returns
|
|
@@ -308,7 +308,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
308
308
|
self._update_hfss_extent_info(hfss_extent)
|
|
309
309
|
|
|
310
310
|
@property
|
|
311
|
-
def open_region_type(self):
|
|
311
|
+
def open_region_type(self) -> str:
|
|
312
312
|
"""Open region type.
|
|
313
313
|
|
|
314
314
|
Returns
|
|
@@ -325,7 +325,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
325
325
|
self._update_hfss_extent_info(hfss_extent)
|
|
326
326
|
|
|
327
327
|
@property
|
|
328
|
-
def operating_freq(self):
|
|
328
|
+
def operating_freq(self) -> float:
|
|
329
329
|
"""PML Operating frequency.
|
|
330
330
|
|
|
331
331
|
Returns
|
|
@@ -343,7 +343,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
343
343
|
self._update_hfss_extent_info(hfss_extent)
|
|
344
344
|
|
|
345
345
|
@property
|
|
346
|
-
def pml_radiation_factor(self):
|
|
346
|
+
def pml_radiation_factor(self) -> float:
|
|
347
347
|
"""PML Radiation level to calculate the thickness of boundary.
|
|
348
348
|
|
|
349
349
|
Returns
|
|
@@ -361,7 +361,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
361
361
|
self._update_hfss_extent_info(hfss_extent)
|
|
362
362
|
|
|
363
363
|
@property
|
|
364
|
-
def sync_air_box_vertical_extent(self):
|
|
364
|
+
def sync_air_box_vertical_extent(self) -> bool:
|
|
365
365
|
"""Vertical extent of the sync air box.
|
|
366
366
|
|
|
367
367
|
Returns
|
|
@@ -379,7 +379,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
379
379
|
self._update_hfss_extent_info(hfss_extent)
|
|
380
380
|
|
|
381
381
|
@property
|
|
382
|
-
def truncate_air_box_at_ground(self):
|
|
382
|
+
def truncate_air_box_at_ground(self) -> bool:
|
|
383
383
|
"""Truncate air box at ground.
|
|
384
384
|
|
|
385
385
|
Returns
|
|
@@ -397,7 +397,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
397
397
|
self._update_hfss_extent_info(hfss_extent)
|
|
398
398
|
|
|
399
399
|
@property
|
|
400
|
-
def use_open_region(self):
|
|
400
|
+
def use_open_region(self) -> bool:
|
|
401
401
|
"""Whether using an open region is enabled.
|
|
402
402
|
|
|
403
403
|
Returns
|
|
@@ -415,7 +415,7 @@ class HfssExtentInfo(GrpcHfssExtentInfo):
|
|
|
415
415
|
self._update_hfss_extent_info(hfss_extent)
|
|
416
416
|
|
|
417
417
|
@property
|
|
418
|
-
def use_xy_data_extent_for_vertical_expansion(self):
|
|
418
|
+
def use_xy_data_extent_for_vertical_expansion(self) -> bool:
|
|
419
419
|
"""Whether using the xy data extent for vertical expansion is enabled.
|
|
420
420
|
|
|
421
421
|
Returns
|
|
@@ -59,7 +59,7 @@ class LayoutStatistics(object):
|
|
|
59
59
|
self._nb_resistors = 0
|
|
60
60
|
|
|
61
61
|
@property
|
|
62
|
-
def num_layers(self):
|
|
62
|
+
def num_layers(self) -> int:
|
|
63
63
|
"""Layer number.
|
|
64
64
|
|
|
65
65
|
Returns
|
|
@@ -76,7 +76,7 @@ class LayoutStatistics(object):
|
|
|
76
76
|
self._nb_layer = value
|
|
77
77
|
|
|
78
78
|
@property
|
|
79
|
-
def stackup_thickness(self):
|
|
79
|
+
def stackup_thickness(self) -> float:
|
|
80
80
|
"""Stackup total thickness.
|
|
81
81
|
|
|
82
82
|
Returns
|
|
@@ -94,7 +94,7 @@ class LayoutStatistics(object):
|
|
|
94
94
|
self._stackup_thickness = value
|
|
95
95
|
|
|
96
96
|
@property
|
|
97
|
-
def num_vias(self):
|
|
97
|
+
def num_vias(self) -> int:
|
|
98
98
|
"""Via number.
|
|
99
99
|
|
|
100
100
|
Returns
|
|
@@ -111,7 +111,7 @@ class LayoutStatistics(object):
|
|
|
111
111
|
self._nb_vias = value
|
|
112
112
|
|
|
113
113
|
@property
|
|
114
|
-
def occupying_ratio(self):
|
|
114
|
+
def occupying_ratio(self) -> float:
|
|
115
115
|
"""Occupying ratio.
|
|
116
116
|
|
|
117
117
|
Returns
|
|
@@ -129,7 +129,7 @@ class LayoutStatistics(object):
|
|
|
129
129
|
self._occupying_ratio = value
|
|
130
130
|
|
|
131
131
|
@property
|
|
132
|
-
def occupying_surface(self):
|
|
132
|
+
def occupying_surface(self) -> bool:
|
|
133
133
|
"""Occupying surface.
|
|
134
134
|
|
|
135
135
|
Returns
|
|
@@ -146,7 +146,7 @@ class LayoutStatistics(object):
|
|
|
146
146
|
self._occupying_surface = value
|
|
147
147
|
|
|
148
148
|
@property
|
|
149
|
-
def layout_size(self):
|
|
149
|
+
def layout_size(self) -> list[float]:
|
|
150
150
|
"""Layout size.
|
|
151
151
|
|
|
152
152
|
Returns
|
|
@@ -158,7 +158,7 @@ class LayoutStatistics(object):
|
|
|
158
158
|
return self._layout_size
|
|
159
159
|
|
|
160
160
|
@property
|
|
161
|
-
def num_polygons(self):
|
|
161
|
+
def num_polygons(self) -> int:
|
|
162
162
|
"""Polygon number.
|
|
163
163
|
|
|
164
164
|
Returns
|
|
@@ -175,7 +175,7 @@ class LayoutStatistics(object):
|
|
|
175
175
|
self._nb_polygons = value
|
|
176
176
|
|
|
177
177
|
@property
|
|
178
|
-
def num_traces(self):
|
|
178
|
+
def num_traces(self) -> int:
|
|
179
179
|
"""Trace number.
|
|
180
180
|
|
|
181
181
|
Returns
|
|
@@ -192,7 +192,7 @@ class LayoutStatistics(object):
|
|
|
192
192
|
self._nb_traces = value
|
|
193
193
|
|
|
194
194
|
@property
|
|
195
|
-
def num_nets(self):
|
|
195
|
+
def num_nets(self) -> int:
|
|
196
196
|
"""Net number.
|
|
197
197
|
|
|
198
198
|
Returns
|
|
@@ -209,7 +209,7 @@ class LayoutStatistics(object):
|
|
|
209
209
|
self._nb_nets = value
|
|
210
210
|
|
|
211
211
|
@property
|
|
212
|
-
def num_discrete_components(self):
|
|
212
|
+
def num_discrete_components(self) -> int:
|
|
213
213
|
"""Discrete component number.
|
|
214
214
|
|
|
215
215
|
Returns
|
|
@@ -226,7 +226,7 @@ class LayoutStatistics(object):
|
|
|
226
226
|
self._nb_discrete_components = value
|
|
227
227
|
|
|
228
228
|
@property
|
|
229
|
-
def num_inductors(self):
|
|
229
|
+
def num_inductors(self) -> int:
|
|
230
230
|
"""Inductor number.
|
|
231
231
|
|
|
232
232
|
Returns
|
|
@@ -243,7 +243,7 @@ class LayoutStatistics(object):
|
|
|
243
243
|
self._nb_inductors = value
|
|
244
244
|
|
|
245
245
|
@property
|
|
246
|
-
def num_capacitors(self):
|
|
246
|
+
def num_capacitors(self) -> int:
|
|
247
247
|
"""Capacitor number.
|
|
248
248
|
|
|
249
249
|
Returns
|
|
@@ -260,7 +260,7 @@ class LayoutStatistics(object):
|
|
|
260
260
|
self._nb_capacitors = value
|
|
261
261
|
|
|
262
262
|
@property
|
|
263
|
-
def num_resistors(self):
|
|
263
|
+
def num_resistors(self) -> int:
|
|
264
264
|
"""Resistor number.
|
|
265
265
|
|
|
266
266
|
Returns
|
|
@@ -32,7 +32,7 @@ class Rlc(GrpcRlc):
|
|
|
32
32
|
self._edb_object = edb_object
|
|
33
33
|
|
|
34
34
|
@property
|
|
35
|
-
def r(self):
|
|
35
|
+
def r(self) -> float:
|
|
36
36
|
"""R value.
|
|
37
37
|
|
|
38
38
|
Returns
|
|
@@ -48,7 +48,7 @@ class Rlc(GrpcRlc):
|
|
|
48
48
|
self.r = GrpcValue(value)
|
|
49
49
|
|
|
50
50
|
@property
|
|
51
|
-
def l(self):
|
|
51
|
+
def l(self) -> float:
|
|
52
52
|
"""L value.
|
|
53
53
|
|
|
54
54
|
Returns
|
|
@@ -64,7 +64,7 @@ class Rlc(GrpcRlc):
|
|
|
64
64
|
self.l = GrpcValue(value)
|
|
65
65
|
|
|
66
66
|
@property
|
|
67
|
-
def c(self):
|
|
67
|
+
def c(self) -> float:
|
|
68
68
|
"""C value.
|
|
69
69
|
|
|
70
70
|
Returns
|