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 cff58bae7f
)
Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
This commit is contained in:
parent
85a9d9e9ec
commit
10c0bba9cc
|
@ -867,7 +867,7 @@ void KIBIS_PIN::getKuKdOneWaveform( KIBIS_MODEL& aMod
|
||||||
simul += "VmeasPD 0 x1.PD_GND0 0\n";
|
simul += "VmeasPD 0 x1.PD_GND0 0\n";
|
||||||
simul += "VmeasPU x1.PU_PWR0 3 0\n";
|
simul += "VmeasPU x1.PU_PWR0 3 0\n";
|
||||||
simul += "VmeasPC x1.PC_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() )
|
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 += "VmeasPD0 0 x1.PD_GND0 0\n";
|
||||||
simul += "VmeasPU0 x1.PU_PWR0 3 0\n";
|
simul += "VmeasPU0 x1.PU_PWR0 3 0\n";
|
||||||
simul += "VmeasPC0 x1.PC_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";
|
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 += "VmeasPD1 0 x2.PD_GND0 0\n";
|
||||||
simul += "VmeasPU1 x2.PU_PWR0 3 0\n";
|
simul += "VmeasPU1 x2.PU_PWR0 3 0\n";
|
||||||
simul += "VmeasPC1 x2.PC_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() )
|
if( aModel.HasPullup() && aModel.HasPulldown() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue