Skip to content

Instantly share code, notes, and snippets.

@promach

promach/mosfet_018.lib

Last active Apr 14, 2019
Embed
What would you like to do?
* modified for use with LTSpice; DM 8/19/2008
*
* 0.18u CMOS process
*
* NMOS transistor model name: NM
* PMOS transistor model name: PM
*-----------------------------------------------------------------------
.subckt NM D G S B
+params: W=10u L=1u
M1 D G S B NM L={L} W={W} AS={1.1u*W} PS={2.2u+W} AD={1.1u*W} PD={2.2u+W}
.ends
* ----------------------------------------------------------------------
* NMOS transistor model
* ----------------------------------------------------------------------
.MODEL NM NMOS LEVEL=49
* ----------------------------------------------------------------------
************************* SIMULATION PARAMETERS ************************
* ----------------------------------------------------------------------
* format : LTspice
* model : MOS BSIM3v3
* ----------------------------------------------------------------------
* TYPICAL MEAN CONDITION
* ----------------------------------------------------------------------
+VERSION = 3.1 TNOM = 27 TOX = 4.1E-9
+XJ = 1E-7 NCH = 2.3549E17 VTH0 = 0.354505
+K1 = 0.5733393 K2 = 3.177172E-3 K3 = 27.3563303
+K3B = -10 W0 = 2.341477E-5 NLX = 1.906617E-7
+DVT0W = 0 DVT1W = 0 DVT2W = 0
+DVT0 = 1.6751718 DVT1 = 0.4282625 DVT2 = 0.036004
+U0 = 327.3736992 UA = -4.52726E-11 UB = 4.46532E-19
+UC = -4.74051E-11 VSAT = 8.785346E4 A0 = 1.6897405
+AGS = 0.2908676 B0 = -8.224961E-9 B1 = -1E-7
+KETA = 0.021238 A1 = 8.00349E-4 A2 = 1
+RDSW = 105 PRWG = 0.5 PRWB = -0.2
+WR = 1 WINT = 5e-9 LINT = 2.351737E-8
+DWG = 1.610448E-9
+DWB = -5.108595E-9 VOFF = -0.0652968 NFACTOR = 2.4901845
+CIT = 0 CDSC = 2.4E-4 CDSCD = 0
+CDSCB = 0 ETA0 = 0.0231564 ETAB = -0.058499
+DSUB = 0.9467118 PCLM = 0.8512348 PDIBLC1 = 0.0929526
+PDIBLC2 = 0.01 PDIBLCB = -0.1 DROUT = 0.5224026
+PSCBE1 = 7.979323E10 PSCBE2 = 1.522921E-9 PVAG = 0.01
+DELTA = 0.01 RSH = 6.8 MOBMOD = 1
+PRT = 0 UTE = -1.5 KT1 = -0.11
+KT1L = 0 KT2 = 0.022 UA1 = 4.31E-9
+UB1 = -7.61E-18 UC1 = -5.6E-11 AT = 3.3E4
+WL = 0 WLN = 1 WW = 0
+WWN = 1 WWL = 0 LL = 0
+LLN = 1 LW = 0 LWN = 1
+LWL = 0 CAPMOD = 2 XPART = 0.5
+CGDO = 7.7E-10 CGSO = 7.7E-10 CGBO = 1E-12
+CJ = 1.010083E-3 PB = 0.7344298 MJ = 0.3565066
+CJSW = 2.441707E-10 PBSW = 0.8005503 MJSW = 0.1327842
+CJSWG = 3.3E-10 PBSWG = 0.8005503 MJSWG = 0.1327842
+CF = 0 PVTH0 = 1.307195E-3 PRDSW = -5
+PK2 = -1.022757E-3 WKETA = -4.466285E-4 LKETA = -9.715157E-3
+PU0 = 12.2704847 PUA = 4.421816E-11 PUB = 0
+PVSAT = 1.707461E3 PETA0 = 1E-4 PKETA = 2.348777E-3
*-----------------------------------------------------------------------
.subckt PM D G S B
+params: W=10u L=1u
M1 D G S B PM L={L} W={W} AS={1.1u*W} PS={2.2u+W} AD={1.1u*W} PD={2.2u+W}
.ends
* ----------------------------------------------------------------------
* PMOS transistor model
* ----------------------------------------------------------------------
.MODEL PM PMOS LEVEL=49
* ----------------------------------------------------------------------
************************* SIMULATION PARAMETERS ************************
* ----------------------------------------------------------------------
* format : LTSPICE
* model : MOS BSIM3v3
* ----------------------------------------------------------------------
* TYPICAL MEAN CONDITION
* ----------------------------------------------------------------------
+VERSION = 3.1 TNOM = 27 TOX = 4.1E-9
+XJ = 1E-7 NCH = 4.1589E17 VTH0 = -0.4120614
+K1 = 0.5590154 K2 = 0.0353896 K3 = 0
+K3B = 7.3774572 W0 = 1E-6 NLX = 1.103367E-7
+DVT0W = 0 DVT1W = 0 DVT2W = 0
+DVT0 = 0.4301522 DVT1 = 0.2156888 DVT2 = 0.1
+U0 = 128.7704538 UA = 1.908676E-9 UB = 1.686179E-21
+UC = -9.31329E-11 VSAT = 1.658944E5 A0 = 1.6076505
+AGS = 0.3740519 B0 = 1.711294E-6 B1 = 4.946873E-6
+KETA = 0.0210951 A1 = 0.0244939 A2 = 1
+RDSW = 127.0442882 PRWG = 0.5 PRWB = -0.5
+WR = 1 WINT = 5.928484E-10 LINT = 3.468805E-8
+DWG = -2.453074E-8
+DWB = 6.408778E-9 VOFF = -0.0974174 NFACTOR = 1.9740447
+CIT = 0 CDSC = 2.4E-4 CDSCD = 0
+CDSCB = 0 ETA0 = 0.1847491 ETAB = -0.2531172
+DSUB = 1.5 PCLM = 4.8842961 PDIBLC1 = 0.0156227
+PDIBLC2 = 0.1 PDIBLCB = -1E-3 DROUT = 0
+PSCBE1 = 1.733878E9 PSCBE2 = 5.002842E-10 PVAG = 15
+DELTA = 0.01 RSH = 7.7 MOBMOD = 1
+PRT = 0 UTE = -1.5 KT1 = -0.11
+KT1L = 0 KT2 = 0.022 UA1 = 4.31E-9
+UB1 = -7.61E-18 UC1 = -5.6E-11 AT = 3.3E4
+WL = 0 WLN = 1 WW = 0
+WWN = 1 WWL = 0 LL = 0
+LLN = 1 LW = 0 LWN = 1
+LWL = 0 CAPMOD = 2 XPART = 0.5
+CGDO = 7.11E-10 CGSO = 7.11E-10 CGBO = 1E-12
+CJ = 1.179334E-3 PB = 0.8545261 MJ = 0.4117753
+CJSW = 2.215877E-10 PBSW = 0.6162997 MJSW = 0.2678074
+CJSWG = 4.22E-10 PBSWG = 0.6162997 MJSWG = 0.2678074
+CF = 0 PVTH0 = 2.283319E-3 PRDSW = 5.6431992
+PK2 = 2.813503E-3 WKETA = 2.438158E-3 LKETA = -0.0116078
+PU0 = -2.2514581 PUA = -7.62392E-11 PUB = 4.502298E-24
+PVSAT = -50 PETA0 = 1E-4 PKETA = -1.047892E-4
* ----------------------------------------------------------------------

Version 4 SHEET 1 1044 680 WIRE -720 -112 -1024 -112 WIRE -672 -112 -720 -112 WIRE -400 -112 -672 -112 WIRE -352 -112 -400 -112 WIRE 32 -112 -352 -112 WIRE 80 -112 32 -112 WIRE 256 -112 80 -112 WIRE 304 -112 256 -112 WIRE 496 -112 304 -112 WIRE 672 -112 496 -112 WIRE 720 -112 672 -112 WIRE 960 -112 720 -112 WIRE -720 -80 -720 -112 WIRE -400 -80 -400 -112 WIRE 80 -80 80 -112 WIRE 256 -80 256 -112 WIRE 672 -80 672 -112 WIRE -672 -32 -672 -112 WIRE -672 -32 -720 -32 WIRE -352 -32 -352 -112 WIRE -352 -32 -400 -32 WIRE 32 -32 32 -112 WIRE 80 -32 32 -32 WIRE 304 -32 304 -112 WIRE 304 -32 256 -32 WIRE 720 -32 720 -112 WIRE 720 -32 672 -32 WIRE -768 0 -784 0 WIRE -448 0 -464 0 WIRE -784 32 -784 0 WIRE -784 32 -880 32 WIRE -464 32 -464 0 WIRE -464 32 -784 32 WIRE 128 32 128 0 WIRE 128 32 -464 32 WIRE 208 32 208 0 WIRE 208 32 128 32 WIRE 624 32 624 0 WIRE 624 32 208 32 WIRE -880 64 -880 32 WIRE -720 64 -720 16 WIRE -400 64 -400 16 WIRE -400 64 -480 64 WIRE -320 64 -400 64 WIRE 496 64 496 -112 WIRE 560 64 496 64 WIRE 496 96 496 64 WIRE 960 96 960 -112 WIRE 1008 96 960 96 WIRE -480 112 -480 64 WIRE -432 112 -480 112 WIRE -320 112 -320 64 WIRE -320 112 -368 112 WIRE 560 144 560 64 WIRE 560 144 496 144 WIRE 960 144 960 96 WIRE -432 160 -432 112 WIRE -432 160 -480 160 WIRE -368 160 -368 112 WIRE -320 160 -368 160 WIRE 80 160 80 16 WIRE 176 160 80 160 WIRE -880 176 -880 144 WIRE -720 176 -720 144 WIRE 256 176 256 16 WIRE 384 176 256 176 WIRE 448 176 384 176 WIRE -528 192 -576 192 WIRE -240 192 -272 192 WIRE 144 192 -128 192 WIRE 1008 192 1008 96 WIRE 1008 192 960 192 WIRE -576 224 -576 192 WIRE -240 224 -240 192 WIRE 80 224 80 160 WIRE 256 224 256 176 WIRE 384 224 384 176 WIRE 864 224 384 224 WIRE 912 224 864 224 WIRE 864 256 864 224 WIRE 80 272 32 272 WIRE 304 272 256 272 WIRE 144 304 144 192 WIRE 144 304 128 304 WIRE 208 304 144 304 WIRE 384 304 384 224 WIRE 560 304 384 304 WIRE 672 304 672 16 WIRE 672 304 624 304 WIRE -1024 320 -1024 -112 WIRE -576 336 -576 304 WIRE -240 336 -240 304 WIRE 32 352 32 272 WIRE 304 352 304 272 WIRE 864 352 864 320 WIRE 960 352 960 240 WIRE 960 352 864 352 WIRE -320 384 -320 208 WIRE 256 384 256 320 WIRE 256 384 -320 384 WIRE 496 384 496 192 WIRE 592 384 496 384 WIRE 672 400 672 304 WIRE 832 400 672 400 WIRE -480 416 -480 208 WIRE 80 416 80 320 WIRE 80 416 -480 416 WIRE -1024 432 -1024 400 WIRE 80 432 80 416 WIRE 256 432 256 384 WIRE 496 432 496 384 WIRE 672 432 672 400 WIRE 960 432 960 352 WIRE -128 464 -128 192 WIRE 80 480 32 480 WIRE 304 480 256 480 WIRE 496 480 448 480 WIRE 720 480 672 480 WIRE 1008 480 960 480 WIRE 176 512 176 160 WIRE 176 512 128 512 WIRE 208 512 176 512 WIRE 592 512 592 384 WIRE 592 512 544 512 WIRE 624 512 592 512 WIRE 832 512 832 400 WIRE 912 512 832 512 WIRE 32 560 32 480 WIRE 80 560 80 528 WIRE 80 560 32 560 WIRE 256 560 256 528 WIRE 304 560 304 480 WIRE 304 560 256 560 WIRE 448 560 448 480 WIRE 496 560 496 528 WIRE 496 560 448 560 WIRE 672 560 672 528 WIRE 720 560 720 480 WIRE 720 560 672 560 WIRE 960 560 960 528 WIRE 1008 560 1008 480 WIRE 1008 560 960 560 WIRE -128 576 -128 544 WIRE 32 576 32 560 WIRE 256 576 256 560 WIRE 448 576 448 560 WIRE 672 576 672 560 WIRE 960 576 960 560 FLAG 32 352 0 FLAG 304 352 0 FLAG 32 576 0 FLAG 256 576 0 FLAG -720 176 0 FLAG -240 336 0 FLAG -576 336 0 FLAG -880 176 0 FLAG -1024 432 0 FLAG 448 576 0 FLAG 672 576 0 FLAG 960 576 0 FLAG -128 576 0 SYMBOL nmos4 208 224 R0 SYMATTR InstName M1 SYMATTR Value NM SYMBOL pmos4 -528 112 R0 SYMATTR InstName M2 SYMATTR Value PM SYMBOL pmos4 -272 112 M0 SYMATTR InstName M3 SYMATTR Value PM SYMBOL nmos4 128 224 M0 SYMATTR InstName M4 SYMATTR Value NM SYMBOL nmos4 208 432 R0 SYMATTR InstName M5 SYMATTR Value NM SYMBOL nmos4 128 432 M0 SYMATTR InstName M6 SYMATTR Value NM SYMBOL pmos4 128 -80 M0 SYMATTR InstName M7 SYMATTR Value PM SYMBOL pmos4 208 -80 R0 SYMATTR InstName M8 SYMATTR Value PM SYMBOL pmos4 -448 -80 R0 SYMATTR InstName M9 SYMATTR Value PM SYMBOL pmos4 -768 -80 R0 SYMATTR InstName M10 SYMATTR Value PM SYMBOL current -720 64 M0 SYMATTR InstName Ib1 SYMBOL voltage -240 208 R0 WINDOW 123 24 124 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName Vin+ SYMATTR Value SINE(1m 0.25m 1.1g) SYMATTR Value2 AC 1 SYMBOL voltage -576 208 M0 WINDOW 123 24 124 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName Vin- SYMATTR Value SINE(1m -0.25m 1.1g) SYMATTR Value2 AC 1 SYMBOL voltage -880 48 M0 SYMATTR InstName Vb1 SYMATTR Value 1.8V SYMBOL voltage -1024 304 M0 SYMATTR InstName Vdd SYMATTR Value 2.5V SYMBOL nmos4 624 432 R0 SYMATTR InstName M11 SYMATTR Value NM SYMBOL nmos4 544 432 M0 SYMATTR InstName M12 SYMATTR Value NM SYMBOL pmos4 448 96 R0 SYMATTR InstName M13 SYMATTR Value PM SYMBOL cap 624 288 R90 WINDOW 0 0 32 VBottom 2 WINDOW 3 32 32 VTop 2 SYMATTR InstName C1 SYMBOL pmos4 912 144 R0 SYMATTR InstName M14 SYMATTR Value PM SYMBOL cap 848 256 R0 SYMATTR InstName C2 SYMBOL pmos4 624 -80 R0 SYMATTR InstName M15 SYMATTR Value PM SYMBOL nmos4 912 432 R0 SYMATTR InstName M16 SYMATTR Value NM SYMBOL voltage -128 448 M0 SYMATTR InstName Vb2 SYMATTR Value 1.1V TEXT -992 -192 Left 2 !.lib mosfet_018.lib

[Transient Analysis]
{
Npanes: 3
Active Pane: 2
{
traces: 1 {524290,0,"V(in+)"}
X: ('n',0,0,2e-009,2e-008)
Y[0]: ('m',2,0.00075,5e-005,0.00125)
Y[1]: ('_',0,1e+308,0,-1e+308)
Volts: ('m',0,0,2,0.00075,5e-005,0.00125)
Log: 0 0 0
GridStyle: 1
},
{
traces: 1 {524291,0,"V(in-)"}
X: ('n',0,0,2e-009,2e-008)
Y[0]: ('m',2,0.00075,5e-005,0.00125)
Y[1]: ('_',0,1e+308,0,-1e+308)
Volts: ('m',0,0,2,0.00075,5e-005,0.00125)
Log: 0 0 0
GridStyle: 1
},
{
traces: 1 {524292,0,"V(out)"}
X: ('n',0,0,2e-009,2e-008)
Y[0]: (' ',6,2.49997,5e-006,2.50003)
Y[1]: ('_',0,1e+308,0,-1e+308)
Volts: (' ',0,0,6,2.49997,5e-006,2.50003)
Log: 0 0 0
GridStyle: 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment