{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw3sol - Input File*eell4 HW3 Prob.11b*Author Shafigh...

Info iconThis preview shows pages 1–21. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 10
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 12
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 14
Background image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 16
Background image of page 17

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 18
Background image of page 19

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 20
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Input File: *eell4, HW3, Prob.11b *Author: Shafigh Shirinfar, Autumn 2009 .model my4nmos nmos kp=50u Vto¥0.5 +lambda=0.0714 cox=2.3e»3 capop=0 ”Vi Vi 0 ac 1 dc 1.3156 vb vb 0 2.5 ib 0 v0 350u ri vi vg 20k r vb V0 10k mnl vo vg O O my;nmos w=25u l=l.4u_ .op .option-post brief nomod .end Output File: **** mosfets subckt element Ozmnl model 0:my_nmos region Saturati id 349.9787u ibs O. ibd —25.0021f vgs 1.3156 vds' 2.5002 vbs O. vth 500.0000m Vdsat 815.6000m vod 815.6000m beta 1.0522m gam eff 79.2159m ' gm 858.2116u 'gds 21.2034u gmb 44.6398u cdtot 0. cgtot 53.6669f cstot 53.6669f cbtot - O. cgs 53.6669f cgd 0. KCN C650 ~ (3? ,_ CJ 5 0.\ {M C?) 3 '27le Cox w—CDV " A3 2 Ab'é W- LAW. .a 13pm= ‘ASCQ ‘5‘ PS Chg“ 3PM PS: STD : WleJg‘QQ. : %\‘J\W\ g: - A? _‘ "¥.EX\O F-fLS‘S'KW g; Cgbfl 15 .43" :f7 CS‘Z) : \lmtflsv, - ' Avg COMO = fl Input File: *eell4, HW3, Prob. 1d *Author: Shafigh Shirinfar, Autumn 2009 .model my;nmos nmos kp=50u vto=0.5 +lambda=0.0714 cox=2.3e—3 capop=l +cgdo=0.5n cgso=0.5n cj=0.lm cjsw=0.5n pb=0.95 mj=0.5 pbjsw=0.95 .mjsw=0.33 +acm=3 cjgate=0 hdif=1.5u vi vi 0 ac 1 dc 1.3l56 vb vb O 2.5 ib 0 v0 350u ri vi vg 20k r vb vo 10k a mnl v0 vg 0 0 my_nmos w=25u l=l.4u .op .option post brief nomod .end Output File: **** mosfets subckt element 0:mnl model 0:my;nnbs region Saturati id 2 349.9787u ibs O. ibd —25.0021f vgs 1.3156 vds 2.5002 vbs O. vth' 500.0000m vdsat 815.6000m vod 815.6000m beta 1.0522m gam eff 79.2159m gm 858.2ll6u gds 21.2034u gmb 44.6398u cdtot 26.8311f cgtot 79.0306f cstot 89.1669f cbtot 37.1580f' cgs 66.1669f cgd 12.7684f Cdb = Cdtotal — ng = 14.1fF Input File: *eell4, HW3, Prob. 1e *Author: Shafigh Shirinfar, Autumn 2009 *Including the model file .inc /usr/class/eell4/hspice/eell4_hspice.Sp vi vi 0 ac 1 dc 1.3156 vb vb 0 2.5 ib 0 v0 350u ri vi vg 20k r vb v0 10k mnl vo V9 0 0 nmosll4 w=25u l=1.4u .op .option post brief nomod .end Output File: **** mosfets .subckt element Ozmnl model O:nmosll4. region Saturati id 349.9962u ibs 0. ibd —25.0004f vgs 1.3156 vds 2.5000 vbs O. Vth 500.0000m vdsat 815.6000m vod 815.6000m beta 1.0523m ‘ gam eff 600.0000m gm 858.2545u gds 21.2118u gmb 287.8673u cdtot 26.83l4f cgtot 79.4192f cstot 89.1669f cbtot 37.5470f cgs 66.1669f cgd 12.7683f Good agreement with part d C) 1LUW: 25.3132 mag 1Low: 20.?35 meg 10/23/09 3:24 PM C:\Documents and Settings\eecluster—463\Des...\EE114_HW3_Prob4.m_ l of 2 ==================m================================================================ %ee114 HWB, Prob 4 and HWS prob 3 %Author Shafigh Shirinfar Autumn 2009 %Required bandwidth is 400MHz wa : 2*pi*400e6; %Required gain is 6db Av = 6; %Output Load is lOOfF Cl = 100e—15; , %Minimum Length minimizes the Current consumption for a fixed bandwidth L = le—6; Vdd = 3; '%Defining the model parameters Vt : 0.5; Kpn : 50e-6; Kpp : 25e—6; Lambda 2 0.1; Cox = 2.3e—3; Cov = 0.5ee9; Ldiff = 3e-6; Cjn = 0.le—3; ij : 0.3e-3; stwn = 0.5e—9; stwp = 0.35eF9; PB 2 0.95; %Starting point for the final value of Id, once again the goal is to minimize Id Idf = le—3; 'for Vov2 : 500e—3:le—3:600ew3 ' %Evaluating Vovl from equation 1 3va1 = Vov2./(l+Lambda*Vov2) .*(10"(—1*Av_/20)); %Source drain voltage for the pmos is Vov2+Vt Vsd2 : Vov2 + Vt; 'Vdsl : Vdd — (Vov2 + Vt); %defining Alphaggm2, Alpha_gdl, Alpha_gs2, Alpha_dbl, Alpha_db2 Alphain = 0.5*(VOVZ/Vovl)A2*(1+Lambda*Vsd2}/(l+Lambda*Vdsl); Alpha_gm2 Kpp.*Vov2/L*(1+Lambda*Vsd2); Alpha_gdl : Cov*Alpha_Wl; Alpha_gs2 (2/3*L*Cox + GOV); ' %Note deI = Vdsl & Vbd2 = Vst Alpha_dbl : Alpha_Wl.*(Ldiff.*Cjn./(l.+Vdsl/PB).“0.5 + stwn./(l+Vdsl/PB}.“0.33); Alpha_db2 = (Ldiff.*ij./(l+(Vsd2)./PB).A0.5 + stwp./{l+(Vsd2)/PB).“0.33); %evaluating the width W2 = wa*Cl./(Alpha_gm2 — wa*(Alpha_g52+Alphamgdl+Alpha_dbl+Alpha_db2)); W1 =Alphale*W2; Id : Kpp/2.*W2/L.*Vov2.“2.*(l+Lambda.*Vsd2); %Storing the FINAL values if W2 > le—6 && Id < Idf Vovlf : Vovl; Vov2f = Vov2; Idf : Id; Wlf = W1; 10/23/09 3:24 PM C:\Documents and Settings\eecluster—463\Des...\EE114_HW3_Prob4.m 2 of 2 ===z====================a=========================================================== W2f : W2; nglf = Alpha_gdl.*w2: Cgs2f : Alpha_gs2.*w2; Cdblf 2 Alpha_dbl.*W2; Cdb2f : Alpha_db2.*W2; end end %Vds3 = Vovl +Vt => Ib is determined from the follOWing: ‘ 110 = Idf*{l+Lambda*(Vovl+Vt)I)/I(1+Lambda*vdsl) ...
View Full Document

{[ snackBarMessage ]}