Skip to content

Commit ecb6c0c

Browse files
maxcapodi78MaxJPReySamuelopez-ansys
authored
Add tdr report (#4206)
* small modifications to context to support TDR plots in both 3DLayout and Circuit Transient * small modifications to context to support TDR plots in both 3DLayout and Circuit Transient * small modifications to context to support TDR plots in both 3DLayout and Circuit Transient * small modifications to context to support TDR plots in both 3DLayout and Circuit Transient * small modifications to context to support TDR plots in both 3DLayout and Circuit Transient * small modifications to context to support TDR plots in both 3DLayout and Circuit Transient * small modifications to context to support TDR plots in both 3DLayout and Circuit Transient * small modifications to context to support TDR plots in both 3DLayout and Circuit Transient * small modifications to context to support TDR plots in both 3DLayout and Circuit Transient * fixed minor bug in pdf.py * added possibility to create a group plot * added possibility to create a group plot * added possibility to create a group plot --------- Co-authored-by: maxcapodi78 <Shark78> Co-authored-by: Maxime Rey <[email protected]> Co-authored-by: Samuel Lopez <[email protected]>
1 parent 5476f08 commit ecb6c0c

File tree

6 files changed

+320
-106
lines changed

6 files changed

+320
-106
lines changed

_unittest/test_12_PostProcessing.py

+8
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,14 @@ def test_18_diff_plot(self, diff_test):
346346
new_report.differential_pairs = True
347347
assert new_report.create()
348348
assert new_report.get_solution_data()
349+
new_report2 = diff_test.post.reports_by_category.standard("TDRZ(1)")
350+
new_report2.differential_pairs = True
351+
new_report2.pulse_rise_time = 3e-12
352+
new_report2.time_windowing = 3
353+
new_report2.domain = "Time"
354+
355+
assert new_report2.create()
356+
349357
data1 = diff_test.post.get_solution_data(
350358
["S(Diff1, Diff1)"],
351359
"LinearFrequency",

_unittest_solvers/example_models/T01/compliance/general_compliance_template.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
"type": "frequency",
3131
"config": "Sparameter_Insertion_Custom.json",
3232
"traces": ["dB(S(X1_TX0,X1_RX0))", "dB(S(X1_TX1,X1_RX1))","dB(S(X1_TX2,X1_RX2))", "dB(S(X1_TX3,X1_RX3))"],
33-
"pass_fail": false
33+
"pass_fail": false,
34+
"group_plots":true
35+
3436
},
3537
{"name": "eye1",
3638
"design_name":"32GTps_circuit",

pyaedt/edb.py

+4
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,10 @@ def open_edb(self):
459459
for cell in list(self.top_circuit_cells):
460460
if cell.GetName() == self.cellname:
461461
self._active_cell = cell
462+
if self._active_cell is None:
463+
for cell in list(self.circuit_cells):
464+
if cell.GetName() == self.cellname:
465+
self._active_cell = cell
462466
# if self._active_cell is still None, set it to default cell
463467
if self._active_cell is None:
464468
self._active_cell = list(self.top_circuit_cells)[0]

0 commit comments

Comments
 (0)