B.Supmonchai August 1st, q In-depth discussion of CMOS logic families. q Optimizing gate metrics. q High Performance circuit-design techniques

Similar documents
CPE/EE 427, CPE 527 VLSI Design I L07: CMOS Logic Gates, Pass Transistor Logic. Review: CMOS Circuit Styles

Digital Integrated Circuits A Design Perspective

Digital Integrated Circuits A Design Perspective

Properties of CMOS Gates Snapshot

Digital Integrated Circuits A Design Perspective

EE141. Administrative Stuff

CPE/EE 427, CPE 527 VLSI Design I Pass Transistor Logic. Review: CMOS Circuit Styles

CMPEN 411 VLSI Digital Circuits Spring 2011 Lecture 07: Pass Transistor Logic

Miscellaneous Lecture topics. Mary Jane Irwin [Adapted from Rabaey s Digital Integrated Circuits, 2002, J. Rabaey et al.]

CMOS Digital Integrated Circuits Lec 10 Combinational CMOS Logic Circuits

VLSI Design I; A. Milenkovic 1

Digital EE141 Integrated Circuits 2nd Combinational Circuits

VLSI Design I; A. Milenkovic 1

Based on slides/material by. Topic 3-4. Combinational Logic. Outline. The CMOS Inverter: A First Glance

VLSI Design I; A. Milenkovic 1

CPE/EE 427, CPE 527 VLSI Design I L18: Circuit Families. Outline

Static CMOS Circuits

9/18/2008 GMU, ECE 680 Physical VLSI Design

COMBINATIONAL LOGIC. Combinational Logic

Integrated Circuits & Systems

Homework #2 10/6/2016. C int = C g, where 1 t p = t p0 (1 + C ext / C g ) = t p0 (1 + f/ ) f = C ext /C g is the effective fanout

5.0 CMOS Inverter. W.Kucewicz VLSICirciuit Design 1

CMOS Inverter: CPE/EE 427, CPE 527 VLSI Design I L06: CMOS Inverter, CMOS Logic Gates. Course Administration. CMOS Properties.

CMOS logic gates. João Canas Ferreira. March University of Porto Faculty of Engineering

EE 466/586 VLSI Design. Partha Pande School of EECS Washington State University

CPE/EE 427, CPE 527 VLSI Design I L06: CMOS Inverter, CMOS Logic Gates. Course Administration. CMOS Inverter: A First Look

EE141Microelettronica. CMOS Logic

The CMOS Inverter: A First Glance

COMP 103. Lecture 16. Dynamic Logic

Chapter 3-7. An Exercise. Problem 1. Digital IC-Design. Problem. Problem. 1, draw the static transistor schematic for the function Q = (A+BC)D

EEC 118 Lecture #6: CMOS Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

EEC 116 Lecture #5: CMOS Logic. Rajeevan Amirtharajah Bevan Baas University of California, Davis Jeff Parkhurst Intel Corporation

Static CMOS Circuits. Example 1

CPE/EE 427, CPE 527 VLSI Design I Delay Estimation. Department of Electrical and Computer Engineering University of Alabama in Huntsville

Digital Integrated Circuits A Design Perspective

Pass-Transistor Logic

Lecture Outline. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Restore Output. Pass Transistor Logic. How compare.

Lecture 4: CMOS review & Dynamic Logic

THE INVERTER. Inverter

Digital Integrated Circuits 2nd Inverter

Digital Microelectronic Circuits ( )

Interconnect (2) Buffering Techniques. Logical Effort

ECE 546 Lecture 10 MOS Transistors

Where are we? Data Path Design. Bit Slice Design. Bit Slice Design. Bit Slice Plan

Where are we? Data Path Design

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

Digital Integrated Circuits A Design Perspective

Dynamic operation 20

Combinational Logic Design

Digital Microelectronic Circuits ( ) Ratioed Logic. Lecture 8: Presented by: Mr. Adam Teman

EECS 141 F01 Lecture 17

EE115C Digital Electronic Circuits Homework #4

EE115C Digital Electronic Circuits Homework #6

Chapter 5. The Inverter. V1. April 10, 03 V1.1 April 25, 03 V2.1 Nov Inverter

COMP 103. Lecture 10. Inverter Dynamics: The Quest for Performance. Section 5.4.2, What is this lecture+ about? PERFORMANCE

ENEE 359a Digital VLSI Design

The CMOS Inverter: A First Glance

ΗΜΥ 307 ΨΗΦΙΑΚΑ ΟΛΟΚΛΗΡΩΜΕΝΑ ΚΥΚΛΩΜΑΤΑ Εαρινό Εξάμηνο 2018

Announcements. EE141- Fall 2002 Lecture 7. MOS Capacitances Inverter Delay Power

and V DS V GS V T (the saturation region) I DS = k 2 (V GS V T )2 (1+ V DS )

VLSI Design I; A. Milenkovic 1

Lecture 8: Combinational Circuit Design

MOS SWITCHING CIRCUITS

Spiral 2 7. Capacitance, Delay and Sizing. Mark Redekopp

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

Lecture 4: Implementing Logic in CMOS

Motivation for Lecture. For digital design we use CMOS transistors. Gate Source. CMOS symboler. MOS transistor. Depletion. A channel is created

The Inverter. Digital Integrated Circuits A Design Perspective. Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic

Integrated Circuits & Systems

MOS Transistor Theory

ECE 438: Digital Integrated Circuits Assignment #4 Solution The Inverter

ΗΜΥ 307 ΨΗΦΙΑΚΑ ΟΛΟΚΛΗΡΩΜΕΝΑ ΚΥΚΛΩΜΑΤΑ Εαρινό Εξάμηνο 2018

Power Dissipation. Where Does Power Go in CMOS?

CARNEGIE MELLON UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING DIGITAL INTEGRATED CIRCUITS FALL 2002

C.K. Ken Yang UCLA Courtesy of MAH EE 215B

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

Lecture 5: DC & Transient Response

CMOS Inverter (static view)

2007 Fall: Electronic Circuits 2 CHAPTER 10. Deog-Kyoon Jeong School of Electrical Engineering

Chapter # 3: Multi-Level Combinational Logic

B.Supmonchai July 5th, q Quantification of Design Metrics of an inverter. q Optimization of an inverter design. B.Supmonchai Why CMOS Inverter?

ENEE 359a Digital VLSI Design

Dynamic Combinational Circuits. Dynamic Logic

The Physical Structure (NMOS)

CMOS Digital Integrated Circuits Lec 13 Semiconductor Memories

Lecture 6: Circuit design part 1

Topics to be Covered. capacitance inductance transmission lines

Very Large Scale Integration (VLSI)

Lecture 14 - Digital Circuits (III) CMOS. April 1, 2003

EE M216A.:. Fall Lecture 5. Logical Effort. Prof. Dejan Marković

MOS Transistor Theory

ECE321 Electronics I

Announcements. EE141- Spring 2003 Lecture 8. Power Inverter Chain

Digital Microelectronic Circuits ( ) The CMOS Inverter. Lecture 4: Presented by: Adam Teman

Lecture 12 Digital Circuits (II) MOS INVERTER CIRCUITS

Lecture 5: DC & Transient Response

EE M216A.:. Fall Lecture 4. Speed Optimization. Prof. Dejan Marković Speed Optimization via Gate Sizing

Lecture 6: DC & Transient Response

EE115C Digital Electronic Circuits Homework #5

12/31/2010. Overview. 10-Combinational Circuit Design Text: Unit 8. Limited Fan-in. Limited Fan-in. Limited Fan-in. Limited Fan-in

Transcription:

ugust st, 4 Goals of This hapter hapter 6 Static MOS ircuits oonchuay Supmonchai Integrated esign pplication Research (IR) Laboratory ugust, 4; Revised - June 8, 5 In-depth discussion of MOS logic families Static and ynamic Pass-Transistor Nonratioed and Ratioed Logic Optimizing gate metrics rea, Speed, Energy or Robustness High Performance circuit-design techniues -545 igital Is Static MOS ircuits ombinational vs. Seuential Logic Static MOS ircuits In ombinational Logic ircuit ombinational put = f(in) In ombinational Logic ircuit State Seuential put = f(in, Previous In) t every point in time (except during the switching transients) each gate output is connected to either or V SS via a low-resistance path. The outputs of the gates assume at all times the value of the oolean function, implemented by the circuit (ignoring, once again, the transient effects during switching periods) This is in contrast to the dynamic circuit class, which relies on temporary storage of signal values on the capacitance of high impedance circuit nodes -545 igital Is Static MOS ircuits 3-545 igital Is Static MOS ircuits 4-545 igital Is

ugust st, 4 Static omplementary MOS Threshold rops Pull-Up Network: make a connection from to when (In,In, In N ) = PUN S In In In N In In In N PUN PN PMOS transistors only (In,In, In N ) NMOS transistors only Pull-own Network: make a connection from to GN when (In,In, In N ) = PN Æ S V GS Æ Æ V Tp V GS S L Æ - V Tn PUN and PN are dual logic networks S -545 igital Is Static MOS ircuits 5-545 igital Is Static MOS ircuits 6 onstruction of PN onstruction of PUN Transistors can be thought as a switch controlled by its gate signal NMOS switch closes when switch control input is high + PMOS switch closes when switch control input is low. = + + = Series = NOR Parallel = NN Series = NN Parallel = NOR PMOS Transistors pass a strong but a weak NMOS Transistors pass a strong but a weak -545 igital Is Static MOS ircuits 7-545 igital Is Static MOS ircuits 8-545 igital Is

ugust st, 4 uality of PUN and PN Example: MOS NN gate PUN and PN are dual networks e Morgan s theorems + = = + [!( + ) =!! or!( ) =! &!] [!( ) =! +! or!( & ) =!!] parallel connection of transistors in the PUN corresponds to a series connection of the PN omplementary gate is naturally inverting (NN, NOR, OI, OI) PN: G = PUN: = + onduction to GN onduction to Number of transistors for an N-input logic gate is N G(In, In,, In N ) = (In, In,, In N ) -545 igital Is Static MOS ircuits 9-545 igital Is Static MOS ircuits Example: MOS NOR gate omplex MOS Gate + OUT = + ( + ) erive PUN hierarchically by identifying sub-nets -545 igital Is Static MOS ircuits -545 igital Is Static MOS ircuits -545 igital Is 3

ugust st, 4 ell esign: n Introduction Standard ells general purpose logic Synthesizable Same height but varying width atapath ells or regular, structured designs (arithmetic) Including some wiring in the cell ixed height and width Example of Standard ell N Well Minimum-Size Inverter l ell boundary In GN ell height metal tracks Metal track is approx. 3l + 3l Pitch = repetitive distance between objects ell height is pitch Rails ~l -545 igital Is Static MOS ircuits 3-545 igital Is Static MOS ircuits 4 Standard ell Layout Methodology 98s Standard ell Layout Methodology 99s Routing channel No Routing channels Mirrored ell signals M GN M3 GN Routing channel What logic function is this? Mirrored ell GN -545 igital Is Static MOS ircuits 5-545 igital Is Static MOS ircuits 6-545 igital Is 4

ugust st, 4 Stick iagrams OI Logic Graph ontains no dimensions Represents relative positions of transistors j Node of the circuit PUN = ( + ) i GN In Inverter GN NN i Transition ontrol j GN PN -545 igital Is Static MOS ircuits 7-545 igital Is Static MOS ircuits 8 Two Stick iagrams of ( + ) onsistent Euler Path n uninterrupted diffusion strip is possible only if there exists an Euler path in the logic graph i Euler path: a path through all nodes in the graph such that each edge is visited once and only once. GN GN j GN rossover can be eliminated by re-ordering inputs -545 igital Is Static MOS ircuits 9 or a single poly strip for every input signal, the Euler paths in the PUN and PN must be consistent (the same) -545 igital Is Static MOS ircuits -545 igital Is 5

ugust st, 4 OI Logic Graph OI Layout PUN = (+) (+) GN PN GN -545 igital Is Static MOS ircuits Some functions have no consistent Euler path like x =!(a + bc + de) (but x =!(bc + a + de) does!) -545 igital Is Static MOS ircuits NOR/OR Implementation VT is ata-ependent NOR OR 3.5m/.5m NMOS.75m /.5m PMOS M 3 M 4,: -> = =, : -> =, :-> weaker M PUN V GS = V V S S M int V GS = V S How many transistor in each? an you create the stick diagrams for the lower left circuit? -545 igital Is Static MOS ircuits 3 VT haracteristics are dependent upon the data input patterns applied to the gate (so the noise margins are also data dependent!) -545 igital Is Static MOS ircuits 4-545 igital Is 6

ugust st, 4 Observation I Review: MOS Inverter - ynamic The difference between the blue and the orange lines results from the state of internal node int between the two NMOS evices. t phl = f(r n, ) The threshold voltage of M is higher than M due to the body effect (g), V S of M is not zero (when V = ) due to the presence of int R n V out t phl =.69 R en t phl =.69 (3/4 ( )/ I STn ) =.5 / (W/L n k n V STn ) V Tn = V Tn and V Tn = V Tn + g( ( f + V int ) - f ) V in = V propagation delay is determined by the time to charge and discharge the load capacitor -545 igital Is Static MOS ircuits 5-545 igital Is Static MOS ircuits 6 Review: esigning for Performance Switch elay Model Reduce Increase W/L ratio of the transistor the most powerful and effective performance optimization tool watch out for self-loading! R p R p R e R p Increase only minimal improvement in performance at the cost of increased energy dissipation R n R p R p int Slope engineering - keeping signal rise and fall times smaller than or eual to the gate propagation delays and of approximately eual values R n int R n R n R n good for performance and power consumption NN INVERTER NOR -545 igital Is Static MOS ircuits 7-545 igital Is Static MOS ircuits 8-545 igital Is 7

ugust st, 4 Input Pattern Effects on elay elay ependence on Input Patterns R p R n R n R p int elay is dependent on the pattern of inputs Low to high transition both inputs go low delay is.69 R p / since two p-resistors are on in parallel one input goes low delay is.69 R p High to low transition both inputs go high delay is.69 R n Voltage [V] 3.5.5.5 ==Æ = Æ, = =, =Æ 3 4 -.5 time [ps] Input ata Pattern ==Æ =, =Æ = Æ, = ==Æ =, =Æ = Æ, = elay (psec) 67 64 6 45 8 8 NN dding transistors in series (without sizing) slows down the circuit NMOS =.5mm/.5 mm, PMOS =.75mm/.5 mm, = f -545 igital Is Static MOS ircuits 9-545 igital Is Static MOS ircuits 3 Transistor Sizing asic Inverter as a reference circuit In (W/L) p evice Transconductance (See Supplement ) k n = k n (W/L) n = (µ n e ox /t ox )((W/L) n k p = k p (W/L) p = (µ p e ox /t ox )((W/L) p or rise time eual to fall time, k p = k n (R p = R n ) (W/L) n ecause µ p ~ µ n / (W/L) p = (W/L) n The size of PMOS must be twice as large as that of NMOS -545 igital Is Static MOS ircuits 3 Transistor Sizing: NN and NOR R p R p R PN = R n + R n R n R n NN Symmetric Response R PUN = R PN int R p µ /(W/L) p R n µ /(W/L) n R PUN = R p + R p R n R n -545 igital Is Static MOS ircuits 3 4 4 NOR R p R p int -545 igital Is 8

ugust st, 4 Note on Transistor Sizing y assuming R PUN = R PN, we ignores the extra diffusion capacitance introduced by widening the transistors. In SM, even larger increases in the width are needed due to velocity saturation. or -input NNs, the NMOS transistors should be made.5 times as wide. NN implementation is clearly preferred over a NOR implementation, since a PMOS stack series is slower than an NMOS stack due to lower carrier mobility -545 igital Is Static MOS ircuits 33 4 6 4 6 8 8 Transistor Sizing: omplex MOS Gate Red sizing assuming R PUN = R PN ollow short path first; note PMOS for and,4 rather than 3 (average in pull-up chain of three = (4+4+)/3) lso note structure of pull-up and pull-down to minimize diffusion cap. at output (e.g., single PMOS drain connected to output) Green for symmetric response and for performance (where R p = 3R n ) Sizing rules of thumb: PMOS = 3 * NMOS -545 igital Is Static MOS ircuits 34 an-in onsiderations 3 istributed R model (Elmore delay) t phl =.69 R en ( + +3 3 +4 ) Propagation delay deteriorates rapidly as a function of fan-in uadratically in the worst case. Notes on an-in onsiderations While output capacitance makes full swing transition from to, internal nodes only swing from -V Tn to GN,, and 3, each includes junction capacitance as well as the gate-to-source and gate-to-drain capacitances (turned into capacitances to ground using the Miller effect) or W/L of.5/.5 NMOS and.375/.5 PMOS, values are on the order of.85 f = 3.47 f with NO output load (all of diffusion capacitance = intrinsic capacitance of the gate itself). t phl = 85 ps (simulated as 86 ps). The simulated worst case low-to-high delay was 6 ps. -545 igital Is Static MOS ircuits 35-545 igital Is Static MOS ircuits 36-545 igital Is 9

ugust st, 4 t p as a unction of an-in t p (psec) 5 uadratic 75 5 t phl t p 5 t plh linear 4 6 8 4 6 fan-in Gates with a fan-in greater than 4 should be avoided. -545 igital Is Static MOS ircuits 37 t p as a unction of an- t p (psec) ll gates have the same drive current. t p NOR 8 6 t p INV 4 4 6 8 4 6 eff. fan-out t p NN Slope is a function of driving strength -545 igital Is Static MOS ircuits 38 t p as a unction of an-in and an- an-in: uadratic due to increasing resistance and capacitance an-out: each additional fan-out gate adds two gate capacitances to Parallel hain t p = a I + a I + a 3 O Serial hain -545 igital Is Static MOS ircuits 39 ast omplex Gates: esign Techniue Transistor sizing as long as fan-out capacitance dominates Progressive sizing In N In 3 In In MN M3 M M 3 istributed R line M > M > M3 > > MN (the ET closest to the output should be the smallest) an reduce delay by more than %; decreasing gains as technology shrinks -545 igital Is Static MOS ircuits 4-545 igital Is

ugust st, 4 Notes on esign Techniue With transistor sizing, if the load capacitance is dominated by the intrinsic capacitance of the gate, widening the device only creates a self loading effect and the propagation delay is unaffected (and may even become worse). or progressive sizing, M have to carry the discharge current from M ( ), M3 ( ), MN and so make it the largest. MN only has to discharge the current from MN ( )(no internal capacitances). While progressive sizing is easy in a schematic, in a real layout it may not pay off due to design-rule considerations that force the designer to push the transistors apart increasing internal capacitance. -545 igital Is Static MOS ircuits 4 charged charged delay determined by time to discharge, and ast omplex Gates: esign Techniue Input re-ordering when not all inputs arrive at the same time In 3 In In Æ critical path M3 M M charged L Æ In In In 3 critical path charged discharged discharged delay determined by time to discharge Place latest arriving signal (critical path) closest to the output can result in a speed up. -545 igital Is Static MOS ircuits 4 M3 M M Example: Sizing and Ordering Effects 3 3 3 3 4 4 4 5 4 6 4 7 3 = f Progressive sizing in pull-down chain gives up to a 3% improvement. Input ordering saves 5% critical path 3% critical path 7% -545 igital Is Static MOS ircuits 43 ast omplex Gates: esign Techniue 3 lternative logic structures Reduced fan-in results in deeper logic depth = EGH Reduction in fan-in offsets, by far, the extra delay incurred by the NOR gate. -545 igital Is Static MOS ircuits 44-545 igital Is

ugust st, 4 Notes on esign Techniue 3 Reducing fan-in increases logic depth of the circuit More stages but each stage has smaller delay Only simulation will tell which of the two alternative configurations is faster and has lower power dissipation. ast omplex Gates: esign Techniue 4 Isolating fan-in from fan-out using buffer insertion Optimizing the propagation delay of a gate in isolation is misguided. Reduce on large fan-in gates, especially for large, and size the inverters progressively to handle the more effectively -545 igital Is Static MOS ircuits 45-545 igital Is Static MOS ircuits 46 ast omplex Gates: esign Techniue 5 Reducing the voltage swing t phl =.69 (3/4 ( )/ I STn ) =.69 (3/4 ( V swing )/ I STn ) linear reduction in delay also reduces power consumption ut the following gate is much slower! Or reuires the use of sense amplifiers on the receiving end to restore the signal level (memory design) -545 igital Is Static MOS ircuits 47 Sizing Logic Paths for Speed reuently, input capacitance of a logic path is constrained Logic also has to drive some capacitance Example: LU load in an Intel s microprocessor is.5p How do we size the LU data path to achieve maximum speed? We have already solved this for the inverter chain can we generalize it for any type of logic? -545 igital Is Static MOS ircuits 48-545 igital Is

ugust st, 4 Inverter hain: Recap elay of a omplex Logic Gate In f f N- N or a complex gate, we expand the inverter chain euation Ê t p = t p + ˆ ext Á Ë g g = t Ê + f ˆ p Á Ë g Ê t p = t p Á p + g f Ë g ˆ N or given N: i+ / i = i / i- = f = ( / in ) or optimum performance, we try to keep f ~ 4, which give us the number of stages, N. an the same approach (logical effort) be used for any combinational circuit? -545 igital Is Static MOS ircuits 49 t p is the intrinsic delay of an inverter f is the effective fan-out ( ext / g ) - also called the electrical effort p is the ratio of the intrinsic (unloaded) delay of the complex gate and a simple inverter (a function of the gate topology and layout style) g is the logical effort -545 igital Is Static MOS ircuits 5 Notes on elay of a Logic Gate Logical effort first defined by Sutherland and Sproull in 999. In a simpler format, Gate delay: Effort delay: Effort delay Logical Effort = h + p h = g f Intrinsic delay Electrical = Effort out / in (effective fan-out) -545 igital Is Static MOS ircuits 5 Intrinsic elay Term, p The more involved the structure of the complex gate, the higher the intrinsic delay compared to an inverter Gate Type Inverter n-input NN n-input NOR n-way mux OR, NOR n n- Ignoring second order effects such as internal node capacitances -545 igital Is Static MOS ircuits 5 p n n n -545 igital Is 3

ugust st, 4 Logical Effort Term, g Logical effort of a gate, g, presents the ratio of its input capacitance to the inverter capacitance when sized to deliver the same current g represents the fact that, for a given load, complex gates have to work harder than an inverter to produce a similar (speed) response Gate Type Inverter NN NOR Mux OR g (for to 4 input gates) 4/3 5/3 4 3 5/3 7/3 4 (n+)/3 (n+)/3 Notes on Logical Effort Inverter has the smallest logical effort and intrinsic delay of all static MOS gates Logical effort of a gate tells how much worse it is at producing an output current than an inverter (how much more input capacitance a gate presents to deliver same output current) Logical effort is a function of topology, independent of sizing Logical effort increases with the gate complexity Electrical effort (Effective fanout) is a function of load/gate size -545 igital Is Static MOS ircuits 53-545 igital Is Static MOS ircuits 54 Example of Logical Effort ssuming a PMOS/NMOS ratio of, the input capacitance of a minimum-sized inverter is three times the gate capacitance of a minimum-sized NMOS ( unit ) unit = 3 unit = 4 + -545 igital Is Static MOS ircuits 55 4 4 unit = 5 elay as a unction of an- normalized delay 7 6 5 4 3 NN: g=4/3, p = 3 4 5 fan-out f INV: g=, p= effort delay intrinsic delay Gate Effort: h = fg -545 igital Is Static MOS ircuits 56 The slope of the line is the logical effort of the gate The y-axis intercept is the intrinsic delay an adjust the delay by adjusting the effective fan-out (by sizing) or by choosing a gate with a different logical effort -545 igital Is 4

ugust st, 4 Path elay: omplex Logic Gate Network Total path delay through a combinational logic block t p = Â t p,j = t p Â(p j + (f j g j )/g ) So, the minimum delay through the path determines that each stage should bear the same gate effort Path elay Euation erivation The path logical effort, G = g i nd the path effective fan-out (path electrical effort) is = /g The branching effort accounts for fan-out to other gates in the network f g = f g =... = f N g N b = ( on-path + off-path )/ on-path onsider optimizing the delay through the logic network a b c 5 how do we determine a, b, and c sizes? The path branching effort is then = b i The total path effort is then H = G So, the minimum delay through the path is N = t p ( Âp j + (N H)/ g) -545 igital Is Static MOS ircuits 57-545 igital Is Static MOS ircuits 58 Example: omplex Logic Gates or gate i in the chain, its size is determined by or this network = / g = 5 G = x 5/3 x 5/3 x = 5/9 = (no branching) 4 H = G = 5/9, so the optimal stage effort is H =.93 ÿ an-out factors are f =.93, f =.93 x 3/5 =.6, f 3 =.6, f 4 =.93 So the gate sizes are a = f g /g =.6, b = f f g /g 3 =.34 and c = f f f 3 g /g 4 =.6 i - s i = (g s )/g i (f j /b j ) j= a b c 5 Example 8-input N -545 igital Is Static MOS ircuits 59-545 igital Is Static MOS ircuits 6-545 igital Is 5

ugust st, 4 Summary: Method of Logical Effort ompute the path effort: = GH ind the best number of stages N ~ log 4 ompute the stage effort f = /N Sketch the path with this number of stages Work either from either end, find sizes: in = out *g/f Reference: Sutherland, Sproull, Harris, Logical Effort, Morgan-Kaufmann 999. Summary: Key efinitions Sutherland, Sproull Harris -545 igital Is Static MOS ircuits 6-545 igital Is Static MOS ircuits 6 Ratioed Logic Ratioed Logic: ctive Loads Goal: To Reduce the number of devices over complementary MOS In In In 3 Resistive Load PN R L N transistors + Load V OH = V OL = R PN / (R PN + R L ) symmetrical Response Static Power consumption P low epletion Load In In In 3 V T < PN V SS PMOS Load In In In 3 V SS PN V SS V SS t pl =.69 R L depletion load NMOS pseudo-nmos -545 igital Is Static MOS ircuits 63-545 igital Is Static MOS ircuits 64-545 igital Is 6

ugust st, 4 Pseudo NMOS NN and NOR NN -545 igital Is Static MOS ircuits 65 NOR Psedo-NMOS is useful when area is most important Reduce transistor counts Used occasionally for large fan-in gates k n Pseudo-NMOS Inverter haracteristics ssumptions: NMOS resides in linear mode V OL is small relative to the gate drive ( -V T )) Ê ( -V Tn )V OL - V ˆ Ê OL Á + k p (- -V Tp ) V STp - V ˆ STp Á = Ë Ë V OL = k p( + V Tp ) V STp k n ( -V Tn ) ª m nw p m p W n V STp Ê P low = I low ª k p (- -V Tp ) V STp - V ˆ STp Á Ë -545 igital Is Static MOS ircuits 66 Pseudo-NMOS Inverter VT V out (V) 3..5..5..5 W/L p =.5 W/L p =.5 W/L p = W/L p = 4 W/L p =...5..5..5 NMOS size =.5 µm/.5 µm Size V in (V).5.3 4 569-545 igital Is Static MOS ircuits 67 4.5.693.73.33.64 P stat (µw) Larger pull-up device not only improves performance (delay) but also increases power dissipation and lowers noise margins by increasing V OL V OL (V) 564 98 6 8 t plh (ps) 4 56 3 68 Improved Loads: daptive Load Enable nable M M M -545 igital Is Static MOS ircuits 68 M >> M The idea is to reduce static power consumption by adjusting the load Load M when there are not too many inputs (,,, or ) active Switch to Load M when all inputs are active (thus reuire high amount of current to drive) -545 igital Is 7

ugust st, 4 Improved Loads: VSL VSL Example M M PN PN V SS V SS ifferential ascode Voltage Switch Logic (VSL) OR-NOR gate -545 igital Is Static MOS ircuits 69-545 igital Is Static MOS ircuits 7 VSL haracteristics VSL Transient Response ual Rail Logic Each input is provided in complementary format and each gate produces complementary output Increasing complexity Rail-to-Rail Swing No static power dissipation Sizing of the PMOS relative to PN is critical to functionality, not just performance PNs must be strong enough to bring outputs below - V Tp Voltage [V].5.5.5,, -.5..4.6.8. Time [ns] t in->out = 97 ps t in->out = 3 ps Transient Response of a -input N/NN gate. How does it look like? -545 igital Is Static MOS ircuits 7-545 igital Is Static MOS ircuits 7-545 igital Is 8

ugust st, 4 NMOS Transistors in Series/Parallel PMOS Transistors in Series/Parallel Primary inputs drive both gate and source/drain terminals Primary inputs drive both gate and source/drain terminals NMOS switch closes when the gate input is high PMOS switch closes when the gate input is low Y = Y if and Y = Y if and = + Y = Y if or Y = Y if or = Remember - NMOS transistors pass a strong but a weak Remember - PMOS transistors pass a strong but a weak -545 igital Is Static MOS ircuits 73-545 igital Is Static MOS ircuits 74 VT of PT N Gate omplementary PT Logic (PL).5/.5.5/.5.5/.5.5/.5 V out, (V) = =, = Æ =, = Æ = = Æ V in, (V) l Pure PT logic is not regenerative - the signal gradually degrades after passing through a number of PTs (can fix with static MOS inverter insertion) N/NN = = PT Network Inverse PT Network OR/NOR =+ =+ OR/NOR = = -545 igital Is Static MOS ircuits 76-545 igital Is Static MOS ircuits 77-545 igital Is 9

ugust st, 4 PL Properties ifferential, so complementary data inputs and outputs are always available (don t need extra inverters) Static, since the output defining nodes are always tied to or GN through a low resistance path esign is modular; all gates use the same topology, only the inputs are permuted. Simple OR makes it attractive for structures like adders ast! (assuming number of transistors in series is small) dditional routing overhead for complementary signals Still have static power dissipation problems -545 igital Is Static MOS ircuits 78 NMOS-Only PT riving an Inverter = In = V GS S V x does not pull up to, but V Tn Threshold voltage drop causes static power consumption (M may be weakly conducting forming a path from to GN) Notice V Tn increases of pass transistor due to body effect (V S ) -545 igital Is Static MOS ircuits 79 V x M M Voltage Swing of PT riving an Inverter In = Æ S.5/.5.5/.5.5/.5 Voltage (V) 3 In =.8V ascaded NMOS-Only PTs = G = M = S x = - V Tn = G y M S = M x = y M ody effect large V S at - when pulling high ( is tied to GN and S charged up close to ) So the voltage drop is even worse V x = - (V Tn + g( ( f f + V x ) - f f )) -545 igital Is Static MOS ircuits 8.5.5 Time (ns) Swing on y = - V Tn - V Tn Swing on y = - V Tn Pass transistor gates should never be cascaded as on the left Logic on the right suffers from static power dissipation and reduced noise margins -545 igital Is Static MOS ircuits 8-545 igital Is

ugust st, 4 Solution : Level Restorer Transient Level Restorer ircuit Response M r M n x Level Restorer M M ull swing on x (due to Level Restorer) so no static power consumption by inverter No static backward current path through Level Restorer and PT since Restorer is only active when is high Voltage (V) 3 W/L n =.5/.5, W/L =.5/.5, W/L =.5/.5 W/L r =./.5 3 4 5 Time (ps) W/L r =.75/.5 W/L r =.5/.5 node x never goes below V M of inverter so output never switches W/L r =.5/.5 Æ Æ M r O ON or correct operation M r must be sized correctly (ratioed) Restorer has speed and power impacts: Increases the capacitance at x, slowing down the gate Increases t r (but decreases t f ) -545 igital Is Static MOS ircuits 8-545 igital Is Static MOS ircuits 83 Notes on Level Restorer Pull down must be stronger than restorer (pull up) to switch node If resistance of restorer transistor is too small (too wide transistor) it is impossible to bring the voltage at node below the switching threshold of the inverter, and the inverter never switches! Sizing of M r is critical for functionality, not just performance!! It belongs to ynamic Logic amily -545 igital Is Static MOS ircuits 84 Solution : Multiple V T Transistors Technology solution: Use (near) zero V T devices for the NMOS PTs to eliminate most of the threshold drop (body effect still in force preventing full swing to ) In = V In =.5V =.5V on low V T transistors -545 igital Is Static MOS ircuits 85 off but leaking = V sneak path Watch out for subthreshold current flowing through PTs -545 igital Is

ugust st, 4 Solution 3: Transmission Gates (TGs) Most widely used solution = = GN = GN = GN Resistance of TG Resistance (kw) 3 5 5 5 R p R n R e V out (V) R e = R p R n W/L p =.5/.5 V R p.5v V out R n.5v W/L n =.5/.5 = = ull swing bidirectional switch controlled by the gate signal, = if = -545 igital Is Static MOS ircuits 86 TG is not an ideal switch - series resistance R e is relatively constant ( about 8kohms in this case), so can assume has a constant resistance -545 igital Is Static MOS ircuits 87 TG Multiplexer Transmission Gate OR S S S In off S off In 6 Transistors S =!(In S + In S) GN In S S In always has a connection to or GN - not dynamic No voltage drop -545 igital Is Static MOS ircuits 88-545 igital Is Static MOS ircuits 89-545 igital Is

ugust st, 4 Transmission Gate OR Transmission Gate OR () () off on when = weak = = off on weak when = ( ) ( ) When =, the circuit behaves as if it is an inverter, hence ( = ) = When =, the circuit acts as a transmission gate, hence ( = ) = (TG ensures no voltage drop) -545 igital Is Static MOS ircuits 9-545 igital Is Static MOS ircuits 9 Transmission Gate OR TG ull dder in + Sum ombine the results using Shannon s expansion theorem, = ( = ) + ( = ) = + = -545 igital Is Static MOS ircuits 9 6 Transistors, no more than PTs in series ull swing Similar delay for Sum and arry out -545 igital Is Static MOS ircuits 93-545 igital Is 3

ugust st, 4 elay of a TG hain Notes on TG hain elay V in V in V V i V i+ 5 5 5 5 R e V R e V i R e V i+ R e V N elay of the R chain (N TG s in series) is t p (V n ) =.69 ÂkR e =.69 R e (N(N+))/ ª.35 R e N -545 igital Is Static MOS ircuits 95 V N elay grows uadratically in N (in this case in the number of TGs in series) and increases rapidly with the number of switches in the chain. E.g., for 6 cascaded minimum-sized TG s, each with an R e of 8kohms. The node capacitance is the sum of the capacitances of two NMOS and PMOS devices (junctions and drains). apacitance values is approx. 3.6 f for low to high transitions. The delay through the chain is t p =.69 R e (N(N+))/ =.69 x 3.6f x 8kΩ x (6x7)/ =.7ns -545 igital Is Static MOS ircuits 96 TG elay Optimization Notes on elay Optimization V in an speed it up by inserting buffers every M switches 5 5 M 5 5 elay of buffered chain (M TG s between buffer) t p =.69 ÎN/M R e (M(M+))/ + (N/M - ) t pbuf M opt =.7 (t pbuf /R e ) ª 3 or 4 5 5 V N uffered chain is now linear in N Quadratic in M but M should be small This buffer insertion techniue works to speed up the delay down long wires as well. onsider 6TG chain example. uffers = inverters (making sure correct polarity is output). or.5micron/.5micron NMOSs and PMOSs in the TGs, simulated delay with TG per buffer is 54 ps, for 3TGs is 54ps, and for 4TG is 64ps. The insertion of buffering inverters reduces the delay by a factor of almost. -545 igital Is Static MOS ircuits 97-545 igital Is Static MOS ircuits 98-545 igital Is 4