edajason
Member level 3
Googled a spice model. But it doesn't work with Hspice 2003.09. It shows "difficulty in reading input" in simulation. The same circuit works with the spice model posted at mosis website.
I am posting part of the model here. what's the problem? It's 49 level and should work in Hspice.
***************************************************************
* *
* 2.5V NOMINAL Vt DEVICES LIB *
* *
***************************************************************
***************** CORNER_LIB OF TYPICAL MODEL ******************
.LIB TT
.param toxp = 5.4e-9 toxn = 5.4e-9
+dxl = 0 dxw = 0
+dvthn = 0.0 dvthp = 0.00
+cjn = 1.836615E-03 cjp= 1.833935E-03
+cjswn = 4.234822E-10 cjswp = 3.472876E-10
+cgon = 1.3E-10 cgop = 1.6E-10
+cgln = 2.1E-10 cglp = 2.1E-10
+cjgaten = 3.286035E-10 cjgatep = 2.500235E-10
+hdifn = 2.625e-07 hdifp = 2.625e-7
.lib 'mix025_1.l' MOS
.ENDL TT
**************** CORNER_LIB OF SNSP MODEL *******************
.LIB SS
.param toxp = 5.7e-9 toxn = 5.7e-9
+dxl = 2.0e-8 dxw = -3e-8
+dvthn = 0.06 dvthp = -0.05
+cjn = 1.92844575E-3 cjp= 1.92563175e-3
+cjswn = 4.4465631E-10 cjswp = 3.6465198e-10
+cgon = 1.235E-10 cgop = 1.52e-10
+cgln = 1.995E-10 cglp = 1.995E-10
+cjgaten = 3.45033675E-10 cjgatep = 2.62524675e-10
+hdifn = 2.625e-07 hdifp = 2.625e-7
.lib 'mix025_1.l' MOS
.ENDL SS
**************** CORNER_LIB OF FNFP MODEL *******************
.LIB FF
.param toxp = 5.1e-9 toxn = 5.1e-9
+dxl = -2.0e-8 dxw = 3e-8
+dvthn = -0.06 dvthp = 0.05
+cjn = 1.74478425e-3 cjp= 1.74223825e-3
+cjswn = 4.0230809e-10 cjswp = 3.2992322e-10
+cgon = 1.365e-10 cgop = 1.68e-10
+cgln = 2.205E-10 cglp = 2.205E-10
+cjgaten = 3.12173325e-10 cjgatep = 2.37522325e-10
+hdifn = 2.625e-07 hdifp = 2.625e-7
.lib 'mix025_1.l' MOS
.ENDL FF
***************************************************************
* NMOS DEVICES MODEL *
***************************************************************
.MODEL nch.1 NMOS ( LMIN = '1.2E-06-dxl'
+CALCACM = 1 SFVTFLAG = 0 VFBFLAG = 1
+LMAX = 2.1E-05 WMIN = '1.2E-06-dxw' WMAX = 1.01E-04
+LEVEL = 49 TNOM = 25 XL = '3E-08+dxl'
+NLEV = 3 AF = 0.8824 KF = 3.454E-24
+XW = '0+dxw' VERSION = 3.2 TOX = toxn
+XJ = 1E-07 NCH = 1.63E+17 LLN = 1
+LWN = 1 WLN = 1 WWN = 1
+LINT = 2E-08 WINT = 2E-08 MOBMOD = 1
+BINUNIT = 2 DWG = 0 DWB = 0
+VTH0 = '0.4767749+dvthn' LVTH0 = 3.507137E-08 WVTH0 = -1.453229E-08
+PVTH0 = -6.620086E-15 K1 = 0.4472964 LK1 = -5.39693E-08
+WK1 = -4.269873E-08 PK1 = 5.981896E-14 K2 = 0.004538423
+LK2 = 2.041006E-08 WK2 = 1.682965E-08 PK2 = -2.784819E-14
+K3 = 0 DVT0 = 0 DVT1 = 0
+DVT2 = 0 DVT0W = 0 DVT1W = 0
+DVT2W = 0 NLX = 0 W0 = 0
+K3B = 0 VSAT = 120633 LVSAT = -0.01265326
+UA = -9.218065E-10 LUA = -1.161761E-16 WUA = 1.451009E-16
+PUA = -5.566174E-23 UB = 1.81497E-18 LUB = 1.561614E-25
+WUB = -2.338524E-25 PUB = 8.58042E-33 UC = 4.365745E-11
+LUC = 8.007525E-18 WUC = -7.436576E-18 PUC = -6.149303E-24
+RDSW = 187 PRWB = 0 PRWG = 0
+WR = 1 U0 = 0.03077917 LU0 = 5.598957E-11
+WU0 = -8.158919E-11 PU0 = 1.090017E-15 A0 = 0.5252816
+LA0 = 4.042826E-08 WA0 = 1.225374E-07 PA0 = -2.063631E-13
+KETA = 0.003461425 LKETA = -9.223886E-09 WKETA = -8.366612E-11
+PKETA = 1.672486E-15 A1 = 0 A2 = 0.65
+AGS = 0.01 B0 = 0 B1 = 0
+VOFF = -0.1517445 LVOFF = 2.086556E-08 WVOFF = 6.482217E-09
+PVOFF = -7.791971E-15 NFACTOR = 1 CIT = 0.000377699
+LCIT = 7.405382E-10 WCIT = -6.34899E-10 PCIT = 7.555298E-16
+CDSC = 0 CDSCB = 0 CDSCD = 0
+ETA0 = 3.836953E-05 LETA0 = 2.324929E-10 WETA0 = 8.055062E-12
+PETA0 = -1.610206E-16 ETAB = -4.68351E-05 LETAB = -6.326623E-11
+DSUB = 0 PCLM = 0.4755805 LPCLM = 4.88145E-07
+WPCLM = -6.231367E-09 PPCLM = 1.245653E-13 PDIBLC1 = 1E-05
+PDIBLC2 = 0.0002151594 LPDIBLC2 = 5.69396E-09 PDIBLCB = 0.01
+DROUT = 0 PSCBE1 = 1.213673E+08 LPSCBE1 = 265.5531
+WPSCBE1 = -3.167115 PPSCBE1 = -1.324478E-05 PSCBE2 = 1E-06
+PVAG = 0 DELTA = 0.01 ALPHA0 = 0
+BETA0 = 20.54463 KT1 = -0.2402984 LKT1 = -1.511487E-08
+WKT1 = 1.116811E-08 PKT1 = -1.329005E-14 KT2 = -0.02232689
+LKT2 = -1.527194E-08 WKT2 = -1.12105E-08 PKT2 = 1.287179E-14
+AT = 35000 UTE = -1.688541 LUTE = 3.778586E-09
+WUTE = 1.029916E-07 PUTE = -5.895606E-14 UA1 = 9.999999E-11
+UB1 = 0 UC1 = -4.534566E-11 LUC1 = 7.638851E-17
+WUC1 = 8.059368E-17 PUC1 = -8.934457E-23 KT1L = 0
+PRT = 0 CJ = cjn MJ = 0.4708251
+PB = 0.9597901 CJSW = cjswn MJSW = 0.379613
+PBSW = 0.9597901 CJSWG = cjgaten MJSWG = 0.379613
+PBSWG = 0.9597901 TCJ = 0.0007391288 TCJSW = 0.0009081566
+TPB = 0.001293296 TPBSW = 0.001178533 JS = 2E-06
+JSW = 5E-10 CGDO = cgon CGSO = cgon
+CAPMOD = 3 NQSMOD = 0 XPART = 1
+CF = 0 TLEV = 1 TLEVC = 1
+XTI = 3 N = 1 HDIF = hdifn
+LDIF = 1.2E-07 RSH = 4.5 RS = 0
+RD = 0 ACM = 12 DLC = 3.49e-9
+DWC = 5.76e-10 CLC = 3.82E-08 CLE = 0.6972
+ACDE = 0.4 MOIN = 10 NOFF = 1.4959
+VOFFCV = -0.074 CKAPPA = 2.8769 CGDL = cgln
+CGSL = cgln CGBO = 1E-13 TOXM = 5.4E-9
+TCJSWG = 0.0009081566 TPBSWG =0.001178533 ALPHA1 = 18.2625 )
I am posting part of the model here. what's the problem? It's 49 level and should work in Hspice.
***************************************************************
* *
* 2.5V NOMINAL Vt DEVICES LIB *
* *
***************************************************************
***************** CORNER_LIB OF TYPICAL MODEL ******************
.LIB TT
.param toxp = 5.4e-9 toxn = 5.4e-9
+dxl = 0 dxw = 0
+dvthn = 0.0 dvthp = 0.00
+cjn = 1.836615E-03 cjp= 1.833935E-03
+cjswn = 4.234822E-10 cjswp = 3.472876E-10
+cgon = 1.3E-10 cgop = 1.6E-10
+cgln = 2.1E-10 cglp = 2.1E-10
+cjgaten = 3.286035E-10 cjgatep = 2.500235E-10
+hdifn = 2.625e-07 hdifp = 2.625e-7
.lib 'mix025_1.l' MOS
.ENDL TT
**************** CORNER_LIB OF SNSP MODEL *******************
.LIB SS
.param toxp = 5.7e-9 toxn = 5.7e-9
+dxl = 2.0e-8 dxw = -3e-8
+dvthn = 0.06 dvthp = -0.05
+cjn = 1.92844575E-3 cjp= 1.92563175e-3
+cjswn = 4.4465631E-10 cjswp = 3.6465198e-10
+cgon = 1.235E-10 cgop = 1.52e-10
+cgln = 1.995E-10 cglp = 1.995E-10
+cjgaten = 3.45033675E-10 cjgatep = 2.62524675e-10
+hdifn = 2.625e-07 hdifp = 2.625e-7
.lib 'mix025_1.l' MOS
.ENDL SS
**************** CORNER_LIB OF FNFP MODEL *******************
.LIB FF
.param toxp = 5.1e-9 toxn = 5.1e-9
+dxl = -2.0e-8 dxw = 3e-8
+dvthn = -0.06 dvthp = 0.05
+cjn = 1.74478425e-3 cjp= 1.74223825e-3
+cjswn = 4.0230809e-10 cjswp = 3.2992322e-10
+cgon = 1.365e-10 cgop = 1.68e-10
+cgln = 2.205E-10 cglp = 2.205E-10
+cjgaten = 3.12173325e-10 cjgatep = 2.37522325e-10
+hdifn = 2.625e-07 hdifp = 2.625e-7
.lib 'mix025_1.l' MOS
.ENDL FF
***************************************************************
* NMOS DEVICES MODEL *
***************************************************************
.MODEL nch.1 NMOS ( LMIN = '1.2E-06-dxl'
+CALCACM = 1 SFVTFLAG = 0 VFBFLAG = 1
+LMAX = 2.1E-05 WMIN = '1.2E-06-dxw' WMAX = 1.01E-04
+LEVEL = 49 TNOM = 25 XL = '3E-08+dxl'
+NLEV = 3 AF = 0.8824 KF = 3.454E-24
+XW = '0+dxw' VERSION = 3.2 TOX = toxn
+XJ = 1E-07 NCH = 1.63E+17 LLN = 1
+LWN = 1 WLN = 1 WWN = 1
+LINT = 2E-08 WINT = 2E-08 MOBMOD = 1
+BINUNIT = 2 DWG = 0 DWB = 0
+VTH0 = '0.4767749+dvthn' LVTH0 = 3.507137E-08 WVTH0 = -1.453229E-08
+PVTH0 = -6.620086E-15 K1 = 0.4472964 LK1 = -5.39693E-08
+WK1 = -4.269873E-08 PK1 = 5.981896E-14 K2 = 0.004538423
+LK2 = 2.041006E-08 WK2 = 1.682965E-08 PK2 = -2.784819E-14
+K3 = 0 DVT0 = 0 DVT1 = 0
+DVT2 = 0 DVT0W = 0 DVT1W = 0
+DVT2W = 0 NLX = 0 W0 = 0
+K3B = 0 VSAT = 120633 LVSAT = -0.01265326
+UA = -9.218065E-10 LUA = -1.161761E-16 WUA = 1.451009E-16
+PUA = -5.566174E-23 UB = 1.81497E-18 LUB = 1.561614E-25
+WUB = -2.338524E-25 PUB = 8.58042E-33 UC = 4.365745E-11
+LUC = 8.007525E-18 WUC = -7.436576E-18 PUC = -6.149303E-24
+RDSW = 187 PRWB = 0 PRWG = 0
+WR = 1 U0 = 0.03077917 LU0 = 5.598957E-11
+WU0 = -8.158919E-11 PU0 = 1.090017E-15 A0 = 0.5252816
+LA0 = 4.042826E-08 WA0 = 1.225374E-07 PA0 = -2.063631E-13
+KETA = 0.003461425 LKETA = -9.223886E-09 WKETA = -8.366612E-11
+PKETA = 1.672486E-15 A1 = 0 A2 = 0.65
+AGS = 0.01 B0 = 0 B1 = 0
+VOFF = -0.1517445 LVOFF = 2.086556E-08 WVOFF = 6.482217E-09
+PVOFF = -7.791971E-15 NFACTOR = 1 CIT = 0.000377699
+LCIT = 7.405382E-10 WCIT = -6.34899E-10 PCIT = 7.555298E-16
+CDSC = 0 CDSCB = 0 CDSCD = 0
+ETA0 = 3.836953E-05 LETA0 = 2.324929E-10 WETA0 = 8.055062E-12
+PETA0 = -1.610206E-16 ETAB = -4.68351E-05 LETAB = -6.326623E-11
+DSUB = 0 PCLM = 0.4755805 LPCLM = 4.88145E-07
+WPCLM = -6.231367E-09 PPCLM = 1.245653E-13 PDIBLC1 = 1E-05
+PDIBLC2 = 0.0002151594 LPDIBLC2 = 5.69396E-09 PDIBLCB = 0.01
+DROUT = 0 PSCBE1 = 1.213673E+08 LPSCBE1 = 265.5531
+WPSCBE1 = -3.167115 PPSCBE1 = -1.324478E-05 PSCBE2 = 1E-06
+PVAG = 0 DELTA = 0.01 ALPHA0 = 0
+BETA0 = 20.54463 KT1 = -0.2402984 LKT1 = -1.511487E-08
+WKT1 = 1.116811E-08 PKT1 = -1.329005E-14 KT2 = -0.02232689
+LKT2 = -1.527194E-08 WKT2 = -1.12105E-08 PKT2 = 1.287179E-14
+AT = 35000 UTE = -1.688541 LUTE = 3.778586E-09
+WUTE = 1.029916E-07 PUTE = -5.895606E-14 UA1 = 9.999999E-11
+UB1 = 0 UC1 = -4.534566E-11 LUC1 = 7.638851E-17
+WUC1 = 8.059368E-17 PUC1 = -8.934457E-23 KT1L = 0
+PRT = 0 CJ = cjn MJ = 0.4708251
+PB = 0.9597901 CJSW = cjswn MJSW = 0.379613
+PBSW = 0.9597901 CJSWG = cjgaten MJSWG = 0.379613
+PBSWG = 0.9597901 TCJ = 0.0007391288 TCJSW = 0.0009081566
+TPB = 0.001293296 TPBSW = 0.001178533 JS = 2E-06
+JSW = 5E-10 CGDO = cgon CGSO = cgon
+CAPMOD = 3 NQSMOD = 0 XPART = 1
+CF = 0 TLEV = 1 TLEVC = 1
+XTI = 3 N = 1 HDIF = hdifn
+LDIF = 1.2E-07 RSH = 4.5 RS = 0
+RD = 0 ACM = 12 DLC = 3.49e-9
+DWC = 5.76e-10 CLC = 3.82E-08 CLE = 0.6972
+ACDE = 0.4 MOIN = 10 NOFF = 1.4959
+VOFFCV = -0.074 CKAPPA = 2.8769 CGDL = cgln
+CGSL = cgln CGBO = 1E-13 TOXM = 5.4E-9
+TCJSWG = 0.0009081566 TPBSWG =0.001178533 ALPHA1 = 18.2625 )