From c7c89c28a9aa88edbd31237f655b8d74e189570d Mon Sep 17 00:00:00 2001 From: dwarning Date: Tue, 21 May 2013 16:33:57 +0200 Subject: [PATCH] devices/bsim3: reposition sourceConductance block --- src/spicelib/devices/bsim3/b3temp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spicelib/devices/bsim3/b3temp.c b/src/spicelib/devices/bsim3/b3temp.c index 2f6582f01..7ab582926 100644 --- a/src/spicelib/devices/bsim3/b3temp.c +++ b/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;