154 #define MOSNDCOEFFS 30 164 #define capbs2 MOSdCoeffs[0] 165 #define capbs3 MOSdCoeffs[1] 166 #define capbd2 MOSdCoeffs[2] 167 #define capbd3 MOSdCoeffs[3] 168 #define gbs2 MOSdCoeffs[4] 169 #define gbs3 MOSdCoeffs[5] 170 #define gbd2 MOSdCoeffs[6] 171 #define gbd3 MOSdCoeffs[7] 172 #define capgb2 MOSdCoeffs[8] 173 #define capgb3 MOSdCoeffs[9] 174 #define cdr_x2 MOSdCoeffs[10] 175 #define cdr_y2 MOSdCoeffs[11] 176 #define cdr_z2 MOSdCoeffs[12] 177 #define cdr_xy MOSdCoeffs[13] 178 #define cdr_yz MOSdCoeffs[14] 179 #define cdr_xz MOSdCoeffs[15] 180 #define cdr_x3 MOSdCoeffs[16] 181 #define cdr_y3 MOSdCoeffs[17] 182 #define cdr_z3 MOSdCoeffs[18] 183 #define cdr_x2z MOSdCoeffs[19] 184 #define cdr_x2y MOSdCoeffs[20] 185 #define cdr_y2z MOSdCoeffs[21] 186 #define cdr_xy2 MOSdCoeffs[22] 187 #define cdr_xz2 MOSdCoeffs[23] 188 #define cdr_yz2 MOSdCoeffs[24] 189 #define cdr_xyz MOSdCoeffs[25] 190 #define capgs2 MOSdCoeffs[26] 191 #define capgs3 MOSdCoeffs[27] 192 #define capgd2 MOSdCoeffs[28] 193 #define capgd3 MOSdCoeffs[29] 236 #define MOSvbd MOSstates 237 #define MOSvbs MOSstates + 1 238 #define MOSvgs MOSstates + 2 239 #define MOSvds MOSstates + 3 242 #define MOScapgs MOSstates + 4 243 #define MOSqgs MOSstates + 5 244 #define MOScqgs MOSstates + 6 246 #define MOScapgd MOSstates + 7 247 #define MOSqgd MOSstates + 8 248 #define MOScqgd MOSstates + 9 250 #define MOScapgb MOSstates + 10 251 #define MOSqgb MOSstates + 11 252 #define MOScqgb MOSstates + 12 255 #define MOSqbd MOSstates + 13 256 #define MOScqbd MOSstates + 14 258 #define MOSqbs MOSstates + 15 259 #define MOScqbs MOSstates + 16 261 #define MOSnumStates 17 444 #define MOS_IC_VDS 11 445 #define MOS_IC_VGS 12 446 #define MOS_IC_VBS 13 454 #define MOS_DNODEPRIME 21 455 #define MOS_SNODEPRIME 22 456 #define MOS_DRAINCONDUCT 23 457 #define MOS_SOURCECONDUCT 24 460 #define MOS_DRAINVCRIT 27 461 #define MOS_SOURCEVCRIT 28 472 #define MOS_CAPZEROBIASBD 39 473 #define MOS_CAPZEROBIASBDSW 40 474 #define MOS_CAPZEROBIASBS 41 475 #define MOS_CAPZEROBIASBSSW 42 497 #define MOS_DRAINRESIST 64 498 #define MOS_SOURCERESIST 65 501 #define MOS_MOD_TYPE 100 502 #define MOS_MOD_LEVEL 101 503 #define MOS_MOD_TNOM 102 504 #define MOS_MOD_VTO 103 505 #define MOS_MOD_KP 104 506 #define MOS_MOD_GAMMA 105 507 #define MOS_MOD_PHI 106 508 #define MOS_MOD_RD 107 509 #define MOS_MOD_RS 108 510 #define MOS_MOD_CBD 109 511 #define MOS_MOD_CBS 110 512 #define MOS_MOD_IS 111 513 #define MOS_MOD_PB 112 514 #define MOS_MOD_CGSO 113 515 #define MOS_MOD_CGDO 114 516 #define MOS_MOD_CGBO 115 517 #define MOS_MOD_CJ 116 518 #define MOS_MOD_MJ 117 519 #define MOS_MOD_CJSW 118 520 #define MOS_MOD_MJSW 119 521 #define MOS_MOD_JS 120 522 #define MOS_MOD_TOX 121 523 #define MOS_MOD_LD 122 524 #define MOS_MOD_RSH 123 525 #define MOS_MOD_U0 124 526 #define MOS_MOD_FC 125 527 #define MOS_MOD_NSS 126 528 #define MOS_MOD_NSUB 127 529 #define MOS_MOD_TPG 128 530 #define MOS_MOD_NMOS 129 531 #define MOS_MOD_PMOS 130 532 #define MOS_MOD_KF 131 533 #define MOS_MOD_AF 132 534 #define MOS_MOD_LAMBDA 133 535 #define MOS_MOD_UEXP 134 536 #define MOS_MOD_NEFF 135 537 #define MOS_MOD_UCRIT 136 538 #define MOS_MOD_NFS 137 539 #define MOS_MOD_DELTA 138 540 #define MOS_MOD_VMAX 139 541 #define MOS_MOD_XJ 140 542 #define MOS_MOD_ETA 141 543 #define MOS_MOD_THETA 142 544 #define MOS_MOD_ALPHA 143 545 #define MOS_MOD_KAPPA 144 546 #define MOS_MOD_XD 145 547 #define MOS_DELTA 146 548 #define MOS_MOD_KV 147 549 #define MOS_MOD_NV 148 550 #define MOS_MOD_KC 149 551 #define MOS_MOD_NC 150 552 #define MOS_MOD_GAMMA1 151 553 #define MOS_MOD_SIGMA 152 554 #define MOS_MOD_LAMDA0 153 555 #define MOS_MOD_LAMDA1 154 557 #define MOS_MOD_A1 155 558 #define MOS_MOD_A2 156 559 #define MOS_MOD_K1 157 560 #define MOS_MOD_K2 158 561 #define MOS_MOD_K3 159 562 #define MOS_MOD_K4 160 563 #define MOS_MOD_PCLM 161 564 #define MOS_MOD_EM 162 651 #define SARGS(arg,bot,side,sarg,sargsw) { \ 653 { if(bot==.5) sarg=sargsw=1/sqrt(arg); \ 654 else sarg=sargsw=exp(-bot*log(arg)); } \ 656 { if(bot==.5) sarg=1/sqrt(arg); \ 657 else sarg=exp(-bot*log(arg)); \ 658 if(side==.5) sargsw=1/sqrt(arg); \ 659 else sargsw=exp(-side*log(arg)); } \
double MOSsourceResistance
struct sMOSmodel * MOSnextModel
unsigned MOSsheetResistanceGiven
double MOSgateBulkOverlapCap
MOSinstance * MOSinstances
double MOSbulkJctPotential
unsigned MOSsourceAreaGiven
unsigned MOScritFieldExpGiven
struct sMOSinstance MOSinstance
unsigned MOSoxideThicknessGiven
unsigned MOSdrainAreaGiven
double MOSsurfaceStateDensity
double MOStransconductance
unsigned MOSbulkCapFactorGiven
double MOSbulkJctBotGradingCoeff
double MOSsourcePerimeter
struct sMOSmodel MOSmodel
unsigned MOSsubstrateDopingGiven
unsigned MOSsurfaceMobilityGiven
unsigned MOSsurfaceStateDensityGiven
double MOSbulkJctSideGradingCoeff
double MOSgateSourceOverlapCap
unsigned MOSdrainSquaresGiven
unsigned MOSdrainPerimeterGiven
unsigned MOSbulkJctSideGradingCoeffGiven
unsigned MOStransconductanceGiven
unsigned MOSgateDrainOverlapCapFactorGiven
double MOSdrainResistance
unsigned MOSfwdCapDepCoeffGiven
unsigned MOSgateBulkOverlapCapFactorGiven
double MOSjctSatCurDensity
unsigned MOSmaxDriftVelGiven
unsigned MOSjctSatCurGiven
unsigned MOSgateTypeGiven
unsigned MOSdrainResistanceGiven
double MOSsubstrateDoping
double MOSsideWallCapFactor
unsigned MOSchannelChargeGiven
unsigned MOSnarrowFactorGiven
unsigned MOSsideWallCapFactorGiven
unsigned MOSdNodePrimeSet
double MOSfastSurfaceStateDensity
struct sMOSmodel * MOSmodPtr
unsigned MOSsourcePerimeterGiven
double MOSgateSourceOverlapCapFactor
double MOSgateDrainOverlapCap
unsigned MOSsourceSquaresGiven
unsigned MOSjunctionDepthGiven
double MOSsourceConductance
double MOSsheetResistance
unsigned MOSgateSourceOverlapCapFactorGiven
unsigned MOSsourceResistanceGiven
double MOSeffectiveLength
unsigned MOSfastSurfaceStateDensityGiven
double MOSnVar[NSTATVARS][MOSNSRCS]
unsigned MOSbulkJctPotentialGiven
double MOSdCoeffs[MOSNDCOEFFS]
double MOSgateBulkOverlapCapFactor
double MOSsurfaceMobility
double MOSgateDrainOverlapCapFactor
unsigned MOSsNodePrimeSet
unsigned MOScritFieldGiven
unsigned MOSbulkJctBotGradingCoeffGiven
double MOStTransconductance
struct sMOSinstance * MOSnextInstance
unsigned MOSjctSatCurDensityGiven
double MOSdrainConductance