Skip to content

Commit f37f0eb

Browse files
maxcapodi78pyansys-ci-botSamuelopez-ansys
authored
FIX: Fixed IBIS differential buffer creation (#5947)
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Co-authored-by: Samuel Lopez <85613111+Samuelopez-ansys@users.noreply.github.com>
1 parent bc3a16a commit f37f0eb

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

doc/changelog.d/5947.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed IBIS differential buffer creation

src/ansys/aedt/core/generic/ibis_reader.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -897,11 +897,14 @@ def import_model_in_aedt(self):
897897
for comp_value in self._ibis_model.components.values():
898898
arg_component = [f"NAME:{comp_value.name}"]
899899
for pin in comp_value.pins.values():
900+
flag = True
901+
if not isinstance(pin, DifferentialPin):
902+
flag = False
900903
arg_component.append(f"{pin.short_name}:=")
901904
if pin.model not in model_selector_names:
902-
arg_component.append([False, False])
905+
arg_component.append([flag, flag])
903906
else:
904-
arg_component.append([True, False])
907+
arg_component.append([True, flag])
905908
if hasattr(pin, "negative_pin"):
906909
arg_component.append(f"{pin.short_name}:=")
907910
arg_component.append([True, True])
@@ -1329,7 +1332,7 @@ def import_model_in_aedt(self):
13291332
model_selector_names
13301333
and self._ibis_model.components[component].pins[pin].model not in model_selector_names
13311334
):
1332-
arg_component.append([False, flag])
1335+
arg_component.append([flag, flag])
13331336
else:
13341337
arg_component.append([True, flag])
13351338
if hasattr(pin, "negative_pin"):

0 commit comments

Comments
 (0)