#include "spice.h"
#include <stdio.h>
#include "diodefs.h"
#include "const.h"
#include "util.h"
#include "sperror.h"
Go to the source code of this file.
Definition at line 19 of file diotemp.c.
48 "%s: grading coefficient too large, limited to 0.9",
56 "%s: activation energy too small, limited to 0.1",
64 "%s: coefficient Fc too large, limited to 0.95",
82 double egfet1,arg1,fact1,pbfact1,pbo,gmaold;
83 double fact2,pbfact,arg,egfet,gmanew;
96 pbfact= -2*vt*(1.5*log(fact2) +
CHARGE*arg);
102 pbfact1 = -2 * vtnom*(1.5*log(fact1) +
CHARGE*arg1);
143 "%%s: breakdown current increased to %g to resolve\n\ 144 incompatability with specified saturation current",cbv);
155 for (iter = 0; iter < 25; iter++) {
161 if (
FABS(xcbv-cbv) <= tol)
break;
167 "%%s: unable to match forward and reverse diode regions: bv = %g, ibv = %g",
double DIOactivationEnergy
unsigned DIObreakdownVoltageGiven
struct sDIOinstance * DIOnextInstance
double DIOdepletionCapCoeff
double DIObreakdownVoltage
DIOinstance * DIOinstances
double DIOsaturationCurrentExp
struct sDIOmodel * DIOnextModel
double DIObreakdownCurrent