Browse Source

reply commit e5c162f1: dc sweep fails after transient sim

pre-master-46
dwarning 7 months ago
parent
commit
82bf2169b1
  1. 4
      src/spicelib/devices/bsim4/b4ld.c

4
src/spicelib/devices/bsim4/b4ld.c

@ -4604,6 +4604,10 @@ line755:
if (!ChargeComputationNeeded) if (!ChargeComputationNeeded)
goto line850; goto line850;
/* no integration, if dc sweep, but keep evaluating capacitances */
if (ckt->CKTmode & MODEDCTRANCURVE)
goto line850;
if (ckt->CKTmode & MODEINITTRAN) if (ckt->CKTmode & MODEINITTRAN)
{ *(ckt->CKTstate1 + here->BSIM4qb) = { *(ckt->CKTstate1 + here->BSIM4qb) =
*(ckt->CKTstate0 + here->BSIM4qb); *(ckt->CKTstate0 + here->BSIM4qb);

Loading…
Cancel
Save