.SUBCKT XP133C 4 1 2 *Gate-->1 Drain-->4 Src-->2 .param Ascale= 7.22 ***Ascale used to scale the active area of the mosfet.It could be any positive data M1 3 5 9 9 PMOS W={ Ascale* 0.9375 } L= 0.00000068 M2 9 5 9 3 NMOS W={ Ascale* 0.9375 } L= 0.00000063 Ld 4 7 0.1n Ls 9 2 0.1n Lg 1 8 0.3n R1 7 3 RTEMP { 0.042 / Ascale } RG 8 5 2 CGS 5 9 { 25.648E-11 * Ascale } DBD 3 9 DBD ************************************************************************************************************** .MODEL PMOS PMOS (LEVEL = 3 + TOX = 6.00E-08 + NSUB = 3E+16 + VTO= -3.5 + THETA = 0 + kp= 2.88E-05 + TPG=1 ) ************************************************************************************************************** .MODEL NMOS NMOS (LEVEL = 3 + TOX = 6E-08 + NSUB = 6E+16 +TPG=-1 ) ************************************************************************************************************** .MODEL DBD D (CJO={ Ascale * 1.52E-10 } + VJ= 0.7 + M= 0.5 + RS= {0.007/ Ascale } + IS= {AScale* 2.126E-13 } + TT= 8.00E-09 + BV= 34 + IBV= 2.50E-04 ) ************************************************************************************************************** .MODEL RTEMP RES (TC1=3E-3) ************************************************************************************************************** *if there is no SKY the following lines with * can not be removed *if there is a SKY diode romove the * from the each line of the following paragraph (not including this line) * DSKY 3 9 DSKY * .MODEL DSKY D (CJO= 0 * + IS= {AScale* 0.138504 } XTI=-7 * + TT= 1.00E-10 * + BV= 0 * + IBV= 0 ) .ENDS