devices/bsim3: reposition sourceConductance block

This commit is contained in:
dwarning 2013-05-21 16:33:57 +02:00 committed by rlar
parent 02dc233bc5
commit c7c89c28a9
1 changed files with 2 additions and 2 deletions

View File

@ -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;