Browse Source

devices/bsim3: reposition sourceConductance block

pre-master-46
dwarning 13 years ago
committed by rlar
parent
commit
c7c89c28a9
  1. 4
      src/spicelib/devices/bsim3/b3temp.c

4
src/spicelib/devices/bsim3/b3temp.c

@ -808,14 +808,14 @@ int Size_Not_Found;
/* process source/drain series resistance */
here->BSIM3drainConductance = model->BSIM3sheetResistance
* here->BSIM3drainSquares;
here->BSIM3sourceConductance = model->BSIM3sheetResistance
* here->BSIM3sourceSquares;
if (here->BSIM3drainConductance > 0.0)
here->BSIM3drainConductance = 1.0
/ here->BSIM3drainConductance;
else
here->BSIM3drainConductance = 0.0;
here->BSIM3sourceConductance = model->BSIM3sheetResistance
* here->BSIM3sourceSquares;
if (here->BSIM3sourceConductance > 0.0)
here->BSIM3sourceConductance = 1.0
/ here->BSIM3sourceConductance;

Loading…
Cancel
Save