Skip to content

Commit

Permalink
Add tdr report (#4206)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Feb 9, 2024
1 parent 5476f08 commit ecb6c0c
Show file tree
Hide file tree
Showing 6 changed files with 320 additions and 106 deletions.
8 changes: 8 additions & 0 deletions _unittest/test_12_PostProcessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,14 @@ def test_18_diff_plot(self, diff_test):
new_report.differential_pairs = True
assert new_report.create()
assert new_report.get_solution_data()
new_report2 = diff_test.post.reports_by_category.standard("TDRZ(1)")
new_report2.differential_pairs = True
new_report2.pulse_rise_time = 3e-12
new_report2.time_windowing = 3
new_report2.domain = "Time"

assert new_report2.create()

data1 = diff_test.post.get_solution_data(
["S(Diff1, Diff1)"],
"LinearFrequency",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"type": "frequency",
"config": "Sparameter_Insertion_Custom.json",
"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))"],
"pass_fail": false
"pass_fail": false,
"group_plots":true

},
{"name": "eye1",
"design_name":"32GTps_circuit",
Expand Down
4 changes: 4 additions & 0 deletions pyaedt/edb.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,10 @@ def open_edb(self):
for cell in list(self.top_circuit_cells):
if cell.GetName() == self.cellname:
self._active_cell = cell
if self._active_cell is None:
for cell in list(self.circuit_cells):
if cell.GetName() == self.cellname:
self._active_cell = cell
# if self._active_cell is still None, set it to default cell
if self._active_cell is None:
self._active_cell = list(self.top_circuit_cells)[0]
Expand Down
Loading

0 comments on commit ecb6c0c

Please sign in to comment.