Article View: comp.lsi
Article #934SPICE 2g6
From: Lien Lu
Date: Mon, 09 Nov 1987 19:45
Date: Mon, 09 Nov 1987 19:45
48 lines
2169 bytes
2169 bytes
One more bug discovered in SPICE 2g6.
Recently, we pointed out that Berkely's version of SPICE2g6 differs
from the U of Washington in calculating FACTOR. We agree with
the responses from Xerox and U of Waterloo that FACTOR should be calculated
as:
FACTOR = 0.125D0*FNARROW*TWOPI*EPISSIL/(COX*XW)
where FNARROW = DELTA is a dimensionless parameter
As a result SUXES (paramter extraction program from Stanford) should
also use the same equation to calculate FACTOR for consistency.
Further examination reveals that there is one more problem with the
calculation of VTH. Around line 2039 of the file "dctran2.f" (from U of W)
VTH is calculated as:
CDONCO=-(GAMASD*DSRGDB+DGDDVB*SARG)+FACTOR
XN=1.0D0+CFS/COX*XW*XL+CDONCO
VON=VON+VT*XN
where VON is VTH
We feel that in calculating XN, multipling XL and XW with CFS/COX is NOT
correct. Futhermore, tracing the dimension of the above lines shows an
inconsistency with the final dimension. XN should have been a dimensionless
value. From the defintion we observe that CFS = q*NFS, where
NFS according to SPICE manual has #/cm^2 as its dimension. This gives
CFS a dimension of q/cm^2. Therefore the dimension of CFS/COX is
Volt.
If we were to correct the calculation of FACTOR as suggested above,
we should also correct the XN calculation. We propose the following
changes to line 2039 and line 2040:
XN=1.0D0+CDONCO
VON=VON+VT*XN+CFS/COX
Again, SUXES should be changed to match these changes.
We invite others to comment on our suggestion.
Cheers,
Je-Hurn Shieh
Shih-Lien Lu
Ming Hsu
ARPA: sllu@mosis.edu
Technical Details
Message-ID:
<4049@venera.isi.edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!sdcrdcf!trwrb!aero!venera.isi.edu!slluShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!sdcrdcf!trwrb!aero!venera.isi.edu!sllu From: sllu@venera.isi.edu (Lien Lu) Newsgroups: comp.lsi Subject: SPICE 2g6 Message-ID: <4049@venera.isi.edu> Date: Mon, 9-Nov-87 14:45:31 EST Article-I.D.: venera.4049 Posted: Mon Nov 9 14:45:31 1987 Date-Received: Thu, 12-Nov-87 22:49:20 EST Organization: USC-Information Sciences Institute Lines: 48 Keywords: bugs, SPICE 2g6, level 2, Vth, Narrow width effect