From 10c0bba9cc03be1e4441b5a1be87a15ade81a1c7 Mon Sep 17 00:00:00 2001 From: dsa-t Date: Mon, 29 Apr 2024 20:24:58 +0000 Subject: [PATCH] Fix internal simulation errors when using some IBIS models. Usage of GC_PWR0 looked like a copy/paste. Fixes https://gitlab.com/kicad/code/kicad/-/issues/17701 (cherry picked from commit cff58bae7fb7ecb8ae6b0929b868b79e96179275) Co-authored-by: Alex Shvartzkop --- eeschema/sim/kibis/kibis.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eeschema/sim/kibis/kibis.cpp b/eeschema/sim/kibis/kibis.cpp index 34473289c1..7d85201a35 100644 --- a/eeschema/sim/kibis/kibis.cpp +++ b/eeschema/sim/kibis/kibis.cpp @@ -867,7 +867,7 @@ void KIBIS_PIN::getKuKdOneWaveform( KIBIS_MODEL& aMod simul += "VmeasPD 0 x1.PD_GND0 0\n"; simul += "VmeasPU x1.PU_PWR0 3 0\n"; simul += "VmeasPC x1.PC_PWR0 3 0\n"; - simul += "VmeasGC 0 x1.GC_PWR0 0\n"; + simul += "VmeasGC 0 x1.GC_GND0 0\n"; if( aModel.HasPullup() && aModel.HasPulldown() ) { @@ -1039,7 +1039,7 @@ void KIBIS_PIN::getKuKdTwoWaveforms( KIBIS_MODEL& aMo simul += "VmeasPD0 0 x1.PD_GND0 0\n"; simul += "VmeasPU0 x1.PU_PWR0 3 0\n"; simul += "VmeasPC0 x1.PC_PWR0 3 0\n"; - simul += "VmeasGC0 0 x1.GC_PWR0 0\n"; + simul += "VmeasGC0 0 x1.GC_GND0 0\n"; simul += "\n x2 3 0 7 DRIVER1 \n"; @@ -1060,7 +1060,7 @@ void KIBIS_PIN::getKuKdTwoWaveforms( KIBIS_MODEL& aMo simul += "VmeasPD1 0 x2.PD_GND0 0\n"; simul += "VmeasPU1 x2.PU_PWR0 3 0\n"; simul += "VmeasPC1 x2.PC_PWR0 3 0\n"; - simul += "VmeasGC1 0 x2.GC_PWR0 0\n"; + simul += "VmeasGC1 0 x2.GC_GND0 0\n"; if( aModel.HasPullup() && aModel.HasPulldown() ) {