CMOS Inverter: DC Analysis

2y ago
119 Views
9 Downloads
509.31 KB
32 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Joao Adcock
Transcription

CMOS Inverter: DC Analysis Analyze DC Characteristics of CMOS Gatesby studying an Inverter DC Analysis– DC value of a signal in static conditions DC Analysis of CMOS Inverter–––––Vin, input voltageVout, output voltagesingle power supply, VDDGround referencefind Vout f(Vin) Voltage Transfer Characteristic (VTC)– plot of Vout as a function of Vin– vary Vin from 0 to VDD (and in reverse!)– find Vout at each value of VinECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.11

Inverter Voltage Transfer Characteristics Output High Voltage, VOH– maximum output voltage occurs when input is low (Vin 0V) pMOS is ON, nMOS is OFF pMOS pulls Vout to VDD– VOH VDD Output Low Voltage, VOL– minimum output voltage occurs when input is high (Vin VDD) pMOS is OFF, nMOS is ON nMOS pulls Vout to Ground– VOL 0 V Logic Swing– Max swing of output signal VL VOH - VOL VL VDDECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.22

Inverter Voltage Transfer Characteristics Gate Voltage, f(Vin)–VDSn Vout, VSDp VDD-Vout VSGpTransition Region (between VOH and VOL)– Vin low Vin Vtn – Mn in Cutoff, OFFVGSn– Mp in Triode, Vout pulled to VDD– VGSn Vin, VSGp VDD-Vin Drain Voltage, f(Vout) Vin Vtn Vout– Mn in Saturation, strong current– Mp in Triode, VSG & current reducing– Vout decreases via current through Mn– Vin Vout (mid point) ½ VDD– Mn and Mp both in Saturation– maximum current at Vin Vout– Vin highVin VILinput logic LOW Vin Vout, Vin VDD - Vtp – Mn in Triode, Mp in Saturation Vin VDD - Vtp – Mn in Triode, Mp in CutoffVin VIHinput logic HIGHECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.33

Noise Margin Input Low Voltage, VIL– Vin such that Vin VIL logic 0– point ‘a’ on the plot where slope, Vin 1 Vout Input High Voltage, VIH– Vin such that Vin VIH logic 1– point ‘b’ on the plot where slope -1 Voltage Noise Margins– measure of how stable inputs are with respect to signal interference– VNMH VOH - VIH– VNML VIL - VOL VDD - VIH VIL– desire large VNMH and VNML for best noise immunityECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.44

Switching Threshold Switching threshold point on VTC where Vout Vin– also called midpoint voltage, VM– here, Vin Vout VM Calculating VM– at VM, both nMOS and pMOS in Saturation– in an inverter, IDn IDp, always!– solve equation for VMI Dn βn2μ nCOX W2L(VGSn Vtn ) 2 βn2(VGSn Vtn ) 2 – express in terms of VM(VM Vtn ) 2 βp2(VDD VM Vtp ) 2– solve for VMVM 1 2(VSGp Vtp ) 2 I Dpβn(V Vtn ) VDD VM Vtpβp M VDD Vtp VtnβpβnβpβnβpECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.55

Effect of Transistor Size on VTC Recallβ n k 'nWLβn βp W k 'n L n W k'p L pVDD Vtp VtnVM 1 If nMOS and pMOS are same size– (W/L)n (W/L)p– Coxn Coxp (always) If W μn L pβ , then n 1μp W βp L nβn βpβnβpβnβp W L n μ n 2or 3μp W μ pCoxp L pμ nCoxn since L normally min. size for all tx,can get betas equal by making Wp larger than Wn Effect on switching threshold– if βn βp and Vtn Vtp , VM VDD/2, exactly in the middle Effect on noise margin– if βn βp, VIH and VIL both close to VM and noise margin is goodECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.66

Example Given– k’n 140uA/V2, Vtn 0.7V, VDD 3V– k’p 60uA/V2, Vtp -0.7V Find– a) tx size ratio so that VM 1.5V– b) VM if tx are same sizetransition pushed loweras beta ratio increasesECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.77

CMOS Inverter: Transient Analysis Analyze Transient Characteristics ofCMOS Gates by studying an Inverter Transient Analysis– signal value as a function of time Transient Analysis of CMOS Inverter––––Vin(t), input voltage, function of timeVout(t), output voltage, function of timeVDD and Ground, DC (not function of time)find Vout(t) f(Vin(t)) Transient Parameters– output signal rise and fall time– propagation delayECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.88

Transient Response Response to step change in input– delays in output due to parasitic R & C Inverter RC Model– Resistances– Rn 1/[βn(VDD-Vtn)]– Rp 1/[βn(VDD- Vtp )] VoutCL -– Output Cap. (only output is important) CDn (nMOS drain capacitance)– CDn ½ Cox Wn L Cj ADnbot Cjsw PDnsw– CDp ½ Cox Wp L Cj ADpbot Cjsw PDpsw CDp (pMOS drain capacitance) Load capacitance, due to gates attached at the output– CL 3 Cin 3 (CGn CGp), 3 is a “typical” load Total Output Capacitance– Cout CDn CDp CLterm “fan-out” describes# gates attached at outputECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.99

Fall Time Fall Time, tf– time for output to fall from ‘1’ to ‘0’– derivation: VVi Cout out out tRn initial condition, Vout(0) VDDtime constant solutiontVout (t ) VDD e τnτn RnCout V t τ n ln DD Vout – definition tf is time to fall from90% value [V1,tx] to 10% value [V0,ty] V V t τ n ln DD ln DD 0.9VDD 0.1VDD tf 2.2 τnECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.1010

Rise Time Rise Time, tr– time for output to rise from ‘0’ to ‘1’ Vout VDD Vout– derivation:i Cout tRp initial condition, Vout(0) 0V solutiontime constant t τp Vout (t ) VDD 1 e τp RpCout – definition tf is time to rise from10% value [V0,tu] to 90% value [V1,tv] tr 2.2 τp Maximum Signal Frequency– fmax 1/(tr tf) faster than this and the output can’t settleECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.1111

Propagation Delay Propagation Delay, tp– measures speed of output reaction to input change½ (tpf tpr) Fall propagation delay, tpf– tp – time for output to fall by 50% reference to input switch Rise propagation delay, tpr– time for output to rise by 50% reference to input switch Ideal expression (if input is step change)– tpf ln(2) τn– tpr ln(2) τp Total Propagation Delay– tp 0.35(τn τp)Propagation delay measurement:- from time input reaches 50% value- to time output reaches 50% valueAdd rise and fall propagation delays for total valueECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.1212

Switching Speed -Resistance Rise & Fall Timeτn RnCout– tf 2.2 τn, tr 2.2 τp, Propagation DelayRn 1/[βn(VDD-Vtn)]– tp 0.35(τn τp)Cout CDn CDp CL– delay τn τp– τn τp Cout (Rn Rp) Define delay in terms ofdesign parameters– Rn Rp (VDD-Vt)(βn βp)– Rn Rp βn βpβn βp(VDD-Vt) if Vt Vtn Vtp β μCox (W/L)Rp 1/[βp(VDD- Vtp )] In Generalβn βp(VDD-Vt)2τp RpCoutBeta MatchedRn Rp if βn βp β,2 2Lβ (VDD-Vt) μCox W (VDD-Vt)Width MatchedRn Rp if Wn Wp W,and L Ln LpL (μn μp)(μn μp) Cox W (VDD-Vt)To decrease R’s, L, W, VDD, ( μp, Cox )ECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.1313

Switching Speed -Capacitance From Resistance we have– L, W, VDD, ( μp, Cox )Cout CDn CDp CLif L Ln Lp– but VDD increases power– W increases CoutestimateCL 3 (CGn CGp) 3 Cox (WnL WpL)CDn ½ Cox Wn L Cj ADnbot Cjsw PDnsw CoutCDp ½ Cox Wp L Cj ADpbot Cjsw PDpsw– Cout ½ Cox L (Wn Wp) Cj 2L(Wn Wp) 3 Cox L (Wn Wp) 2L assuming junction area W 2L neglecting sidewall capacitance– Cout L (Wn Wp) [3½ Cox 2 Cj]– Cout L (Wn Wp)WLTo decrease Cout, L, W, ( Cj, Cox ) Delay Cout(Rn Rp) L WLW VDD L2VDDDecreasing L (reducing feature size) is best way to improve speed!ECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.1414

Switching Speed -Local Modification Previous analysis applies to the overall design– shows that reducing feature size is critical for higher speed– general result useful for creating cell libraries How do you improve speed within a specific gate?– increasing W in one gate will not increase CG of the load gates Cout CDn CDp CL increasing W in one logic gate will increase CDn/p but not CL– CL depends on the size of the tx gates at the output– as long as they keep minimum W, CL will be constant– thus, increasing W is a good way to improve the speed within alocal point– But, increasing W increases chip area needed, which is bad fast circuits need more chip area (chip “real estate”) Increasing VDD is not a good choice because it increasespower consumptionECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.1515

CMOS Power Consumption P PDC Pdyn– PDC: DC (static) term– Pdyn: dynamic (signal changing) termPav PDC– P IDD VDD IDD DC current from power supply ideally, IDD 0 in CMOS: ideally only current during switching action leakage currents cause IDD 0, define quiescent leakage current,IDDQ (due largely to leakage at substrate junctions)– PDC IDDQ VDD Pdyn, power required to switch the state of a gate – charge transferred during transition, Qe Cout VDD– assume each gate must transfer this charge 1x/clock cycle– P average VDD Qe f Cout VDD2 f, f frequency of signal changePower increases with Cout and2frequency, and strongly withTotal Power, P IDDQ VDD Cout VDD fVDD (second order).ECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.1616

Multi-Input Gate Signal Transitions In multi-input gates multiple signal transitions produceoutput changes What signal transitions need to be analyzed?– for a general N-input gate with M0 low output states and M1 highoutput states # high-to-low output transitions M0 M1 # low-to-high output transitions M1 M0 total transitions to be characterized 2 M0 M1 example: NAND has M0 1, M1 3– don’t test/characterize cases without output transitions Worst-case delay is the slowest of all possible cases– worst-case high-to-low– worst-case low-to-high– often different input transitions for each of these casesECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.1717

Series/Parallel Equivalent Circuits Scale both W and L– no effective change in W/L– increases gate capacitanceβ μCox (W/L)inputs must be at same value/voltage Series Transistors– increases effective Leffectiveβ ½β Parallel Transistors– increases effective Weffectiveβ 2βECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.1818

NAND: DC Analysis Multiple Inputs Multiple Transitions Multiple VTCs– VTC varies with transition transition from 0,0 to 1,1 pushed right of others why?– VM varies with transition assume all tx have same L VM VA VB Vout– can merge transistors at this point if WpA WpB and WnA WnB– series nMOS, βn ½ βn– parallel pMOS, βp 2 βp– can now calculate the NAND VMECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.1919

NAND Switching Point Calculate VM for NAND– 0,0 to 1,1 transition all tx change states (on, off) in other transitions, only 2 change– VM VA VB Vout– set IDn IDp, solve for VMVM 1VDD Vtp Vtn21 12βnβpβnβpseries nMOS meansmore resistance tooutput falling,shifts VTC to right– denominator reduced more VTC shifts right For NAND with N inputsVDD Vtp VtnVM 11 N1Nβnβpβnβpto balance this effectand set VM to VDD/2,can increase β byincreasing Wnbut, since μn μp, VM VDD/2when Wn WpECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.2020

NOR: DC Analysis Similar Analysis to NAND Critical Transition– 0,0 to 1,1– when all transistors change VM for NOR2 critical transition– if WpA WpB and WnA WnB parallel nMOS, βn 2 βn series pMOS, βp ½ βpVDD Vtp 2VtnVM 1 2βnβpfor NOR2βnβpVDD Vtp NVtnVM 1 Nβnβpβnβpfor NOR-N– series pMOS resistance means slower rise– VTC shifted to the left– to set VM to VDD/2, increase Wp this will increase βpECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.2121

NAND: Transient Analysis NAND RC Circuit– R: standard channel resistance– C: Cout CL CDn 2CDp Rise Time, tr– Worst case charge circuit 1 pMOS ON– tr 2.2 τp τp Rp Cout– best case charge circuit 2 pMOS ON, Rp Rp/2 Fall Time, tf– Discharge Circuit 2 series nMOS, Rn 2Rn must account for internal cap, Cx– tf 2.2 τn τn Cout (2 Rn ) Cx RnECE 410, Prof. F. Salem/Prof. A. Mason notes updateCx CSn CDnLecture Notes 7.2222

NOR: Transient Analysis NAND RC Circuit– R: standard channel resistance– C: Cout CL 2CDn CDp Fall Time, tf– Worst case discharge circuit 1 nMOS ON– tf 2.2 τn τn Rn Cout– best case discharge circuit 2 nMOS ON, Rn Rn/2 Rise Time, tr– Charge Circuit 2 series pMOS, Rp 2Rp must account for internal cap, CyCy CSp CDp– tr 2.2 τp τp Cout (2 Rp ) Cy RpECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.2323

NAND/NOR Performance Inverter: symmetry (VM VDD/2), βn βp– (W/L)p μn/μp (W/L)n Match INV performance with NAND– pMOS, βP βp, same as inverter– nMOS, βN 2βn, to balance for 2 series nMOS Match INV performance with NOR– pMOS, βP 2 βp, to balance for 2 series pMOS– nMOS, βN βn, same as inverter NAND and NOR will stillbe slower due to larger Coutβ is adjusted bychanging transistorsize (width) This can be extended to3, 4, N input NAND/NORgatesECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.2424

NAND/NOR Transient Summary Critical Delay Path– paths through series transistors will be slower– more series transistors means worse delays Tx Sizing Considerations– increase W in series transistors– balance βn/βp for each cell Worst Case Transition– when all series transistor go from OFF to ON– and all internal caps have to be charged (NOR) discharged (NAND)ECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.2525

Performance Considerations Speed based on βn, βp and parasitic caps DC performance (VM, noise) based on βn/βp Design for speed not necessarily provide good DCperformance Generally set tx size to optimize speed and then test DCcharacteristics to ensure adequate noise immunity Review Inverter: Our performance reference point– for symmetry (VM VDD/2), βn βp which requires (W/L)p μn/μp (W/L)n Use inverter as reference point for more complex gates Apply slowest arriving inputs to series node closest tooutputoutputslower– let faster signals begin to charge/dischargenodes closer to VDD and GroundECE 410, Prof. F. Salem/Prof. A. Mason notes updatesignalfastersignalpower supplyLecture Notes 7.2626

Timing in Complex Logic Gates Critical delay path is due to series-connected transistors Example: f x (y z)– assume all tx are same size Fall time critical delay– worst case, x ON, and y or z ON– tf 2.2 τn τn Rn Cn 2 Rn Cout– Cout 2CDp CDn CL– Cn 2CDn CSn Rise time critical delay– worst case, y and z ON, x OFF– tr 2.2 τp τp Rp Cp 2 Rp Cout– Cout 2CDp CDn CL– Cp CDp CSpsize vs. tx speed considerations Wnx Rn but Cout and Cn Wny Cn but Rn Wpz Rp but Cout and Cp Wpx no effect on critical pathECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.2727

Sizing in Complex Logic Gates Improving speed within a single logic gate An Example: f (a b c d) x nMOS– discharge through 3 series nMOS– set βN 3βn pMOS– charge through 2 series pMOS– set βP 2βp– but, Mxp is alone so βP1 βp but setting βP1 2βp might make layout easier These large transistors will increase capacitance andlayout area and may only give a small increase in speed Advanced logic structures are best way to improve speedECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.2828

Timing in Multi-Gate Circuits What is the worst-case delay in multi-gate circuits?ABCDAB0 00 00 0F– too many transitions to test manually Critical PathCD0 00 11 0F0011 0 0 0 01 1 0 0 1C C D B 1 1 1 1 1– longest delay through a circuit block– largest sum of delays, from input to output– intuitive analysis: signal that passes through most gates not always true. can be slower path through fewer gatesABCDFpath through most gatescritical path if delay atD input is very slowECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.2929

Power in Multi-Input Logic Gates Inverter Power Consumption– P PDC Pdyn VDDIDDQ CoutV2DDf assumes gates switches output state once per clock cycle, f Multi-Input Gates– same DC component as inverter, PDC VDDIDDQ– for dynamic power, need to estimate “activity” of thegate, how often will the output be switchingNOR NAND– Pdyn aCoutV2DDf, a activity coefficient– estimate activity from truth table a p0p1– p0 prob. output is at 0– p1 prob. of transition to 1ECE 410, Prof. F. Salem/Prof. A. Mason notes updatep0 0.75p1 0.25a 3/16p0 0.25p1 0.75a 3/16Lecture Notes 7.3030

Timing Analysis of Transmission Gates TG parallel nMOS and pMOS RC Model– in general, only one tx active at same time nMOS pulls output low pMOS pushes output high– RTG max (Rn, Rp)– Cin CSn CDp if output at higher voltage than input– larger W will decrease R but increase Cin Note: no connections to VDD-Ground. Input signal, Vin,must drive TG output; TG just adds extra delayECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.3131

Pass Transistor Single nMOS or pMOS tx Often used in place of TGs– less area and wiring– can’t pull to both VDD and Ground– typically use nMOS for better speed Rise and Fall Times– τn Rn Cout– tf 2.94 τn– tr 18 τnyyIDΦ 1time x 0y 1 0IDtimeΦ 1 much slower than fall timex 1y 0 1 nMOS can’t pull output to VDD– rise time suffers from threshold loss in nMOSECE 410, Prof. F. Salem/Prof. A. Mason notes updateLecture Notes 7.3232

ECE 410, Prof. F. Salem/Prof. A. Mason notes update Lecture Notes 7.1 CMOS Inverter: DC Analysis Analyze DC Characteristics of CMOS Gates by studying an Inverter s i sy l a An DC – DC value of a signal in static conditions DC Analysis of CMOS Inverter – Vin, input vo

Related Documents:

Switches the inverter ON or OFF, resets the inverter 5.2 Inverter Status LED's 5.2.1 Inverter Switched Off 5.2.2 Inverter Switched ON 5.2.3 Overload "STATUS LED" Blinking indicates that the inverter is switched off. "STATUS LED" steady ON and the other LEDS rotating in a clockwise direction indicates that the inverter is switched on a

SOI CMOS technology has been used to integrate analog circuits. In this section, SOI CMOS op amp is discussed. Then, the performance comparison of op amps using bulk and SOI CMOS technologies is presented. 3.1 Analysis on SOI CMOS Op amp Figure 5 shows an SOI CMOS single stage op amp with a symmetrical topology. This circuit has a good .

CMOS Digital Circuits Types of Digital Circuits Combinational . – Parallel Series – Series Parallel. 15 CMOS Logic NAND. 16 CMOS Logic NOR. 17 CMOS logic gates (a.k.a. Static CMOS) . nMOS and pMOS are not ideal switches – pMOS passes strong 1 , but degraded (weak) 0

8. n-CH Pass Transistors vs. CMOS X-Gates 9. n-CH Pass Transistors vs. CMOS X-Gates 10. Full Swing n-CH X-Gate Logic 11. Leakage Currents 12. Static CMOS Digital Latches 13. Static CMOS Digital Latches 14. Static CMOS Digital Latches 15. Static CMOS Digital Latches . Joseph A. Elias, PhD 2

CMOS Setup Procedure for Dispense System CPU Board PN 2025-0121 CMOS Setup Procedure Use this procedure to set computer CMOS parameters for dispense system CPU board (PN 2025-0121) with CPU, memory, and fan. 1. Activate BIOS/CMOS Setup Utility (pg 1) 2. Preset CPU board (pg 2) 3. Computer CMOS Parameters (pg 2) 4. Save Changes (pg 5) Revision .

Circuits-A CMOS VLSI Design Slide 2 Outline: Circuits Lecture A – Physics 101 – Semiconductors for Dummies – CMOS Transistors for logic designers Lecture B – NMOS Logic – CMOS Inverter and NAND Gate Operation – CMOS Gate Design – Adders – Multipliers Lecture C – P

In the buffered inverter, power consumption usually is less than in the unbuffered inverter, because the first and the second inverter stages consume significantly less power-supply current than the output stage. Because the first stage remains in linear mode during oscillation, a buffered inverter consumes less power than an unbuffered .

The BTEC International Level 2 Extended Certificate extends the work-related focus from the BTEC International Level 2 Certificate and covers the key knowledge and practical skills required in the appropriate vocational sector. Through optional units, the BTEC International Level 2 Extended Certificate offers flexibility and a choice of .