Top Banner

of 33

integrated circuit Logic Effort

Apr 05, 2018

Download

Documents

ashrafuli_44
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 7/31/2019 integrated circuit Logic Effort

    1/33

    CMPEN 411

    g a rcu sSpring 2011

    Lecture 12: Logical Effort

    [Adapted from Rabaeys Digital Integrated Circuits, Second Edition, 2003J. Rabaey, A. Chandrakasan, B. Nikolic]

    Sp11 CMPEN 411 L12 S.1

  • 7/31/2019 integrated circuit Logic Effort

    2/33

    PMOS/NMOS Ratio Effects

    5x 10-11

    = (W/Lp)/(W/Ln)

    4.5

    pLH tpHL

    of 2.4 (= 31 k/13 k)gives symmetrical

    4 tp response

    3.5 o . o . g vesoptimal performance

    1 2 3 4 5

    = (W/Lp)/(W/Ln)

    Sp11 CMPEN 411 L12 S.2

  • 7/31/2019 integrated circuit Logic Effort

    3/33

    Example of Inverter Chain Sizing

    In Out

    CL = 8 Cg,1Cg,1

    CL/Cg,1 has to be evenly distributed over N = 3 inverters

    F = CL/Cg,1 = 8/1

    f =

    Sp11 CMPEN 411 L12 S.3

  • 7/31/2019 integrated circuit Logic Effort

    4/33

    Heads up

    z Logical Effort

    - Reading assignment textbook pp251-257, and handout

    Next lecture

    z Designing energy efficient logic

    - ea ng ass gnment a aey, et a , 5.5 . .

    Sp11 CMPEN 411 L12 S.4

  • 7/31/2019 integrated circuit Logic Effort

    5/33

    History

    First proposed by Ivan Sutherland and Bob Sproull in

    1991

    z Logical Effort: Designing for Speed on the back of anEnvelope, IEEE Advanced Research in VLSI, 1991

    Microsystems

    Gain-based s nthesis based on Lo ical effort

    z Implemented in IBMs logic synthesis tool BooleDozer

    z Also adopted by Magmas logic synthesis tool

    Sp11 CMPEN 411 L12 S.5

  • 7/31/2019 integrated circuit Logic Effort

    6/33

    Inverter Delay

    , L,z Cint : intrinsic - diffusion and Miller effect (Cg)

    z Cext : extrinsic - wiring and fanout

    tp = 0.69 Req Cint (1 + Cext/Cint) = tp0 (1 + Cext/Cint)=0.69(ReqCint + ReqCext)

    z where tp0 = 0.69 Req Cint is the intrinsic (unloaded) delay of thegate

    Sp11 CMPEN 411 L12 S.6

  • 7/31/2019 integrated circuit Logic Effort

    7/33

    Logical Effort Delay Model

    Delay of logic gate has two components

    z d = f + p

    z f: effort delay

    z p: parasitic delay

    f=gh g: logical effort

    h: electrical effort = Cout/ Cin (the ratio ofoutput capacitance to input capacitance)

    Sp11 CMPEN 411 L12 S.7

  • 7/31/2019 integrated circuit Logic Effort

    8/33

    Gate Delay Components

    Lo ic

    in

    Cout

    Split delay of logic gate into three components

    =

    Gate

    Logical Effort

    z Complexity of logic function (Invert, NAND, NOR, etc)

    z Define inverter has logical effort = 1

    z Depends only on topology not transistor sizing

    z Ratio of output capacitance to input capacitance Cout/Cin

    Parasitic Delay

    Sp11 CMPEN 411 L12 S.8

    z Intrinsic delay

    z Independent of transistor sizes and output load

  • 7/31/2019 integrated circuit Logic Effort

    9/33

    Computing Logical Effort

    ,load, complex gates have to work harderthan an inverter to produce a similar

    z the logical effort of a gate tells how muchworse it is at producing an output current thanan inverter how much more in utcapacitance a gate presents to deliver thesame output current)

    Logical effort is the ratio of the input

    capacitance of a gate to the input

    ca acitance of an inverter deliverin

    the same output current

    Defined to be 1 for an inverter

    Sp11 CMPEN 411 L12 S.9

  • 7/31/2019 integrated circuit Logic Effort

    10/33

    Computing Logical Effort

    Sp11 CMPEN 411 L12 S.10

  • 7/31/2019 integrated circuit Logic Effort

    11/33

    Logic Gate Delay

    Sp11 CMPEN 411 L12 S.11

  • 7/31/2019 integrated circuit Logic Effort

    12/33

    Logic Gate Delay

    Sp11 CMPEN 411 L12 S.12

  • 7/31/2019 integrated circuit Logic Effort

    13/33

    Example

    Estimate the delay of an inverter driving 4 identicalinverter: (FO4)

    g= h= p= d=

    Sp11 CMPEN 411 L12 S.13

  • 7/31/2019 integrated circuit Logic Effort

    14/33

    Example

    Sp11 CMPEN 411 L12 S.14

  • 7/31/2019 integrated circuit Logic Effort

    15/33

    Path Delay of Complex Logic Gate Network

    ota pat e ay t roug a com nat ona og c oc

    tp = dj = pj + hj gj

    e m n mum e ay roug e pa e erm nes a eac s age

    should bear the same gate effort

    h1g1 = h2g2 = . . . = hNgN

    Sp11 CMPEN 411 L12 S.15

  • 7/31/2019 integrated circuit Logic Effort

    16/33

    Application of Logical Effort

    Alternative logic structures, which is the fastest?

    F = ABCDEFGH

    Sp11 CMPEN 411 L12 S.16

  • 7/31/2019 integrated circuit Logic Effort

    17/33

    Application of Logical Effort

    Alternative logic structures, which is the fastest?

    F = ABCDEFGHg1=10/3 g2=1

    g1=4/3 g2=5/3 g3=4/3 g4=1 g1= g2=5

    Sp11 CMPEN 411 L12 S.17

  • 7/31/2019 integrated circuit Logic Effort

    18/33

    Review: Design Technique 4

    Isolating fan-in from fan-out using buffer insertion

    CL L

    Sp11 CMPEN 411 L12 S.18

  • 7/31/2019 integrated circuit Logic Effort

    19/33

    Questions

    d = gh+p

    Why logical effort g is independent of transistor sizing?

    How to calculate parasitic delay p ? Why it is independent of

    transistor sizing?

    How to calculate single delay parameter:

    What if the ratio of p-type to n-type transistor widths changes?

    Sp11 CMPEN 411 L12 S.19

  • 7/31/2019 integrated circuit Logic Effort

    20/33

    From Elmore model to Logical Effort Model

    RR

    CinCin CpCp CoutCout

    = += += R*Cout + R*Cp= R*Cout + R*Cp= RCin*(Cout/Cin)+R*Cp= RCin*(Cout/Cin)+R*Cp

    Sp11 CMPEN 411 L12 S.20

    pp

  • 7/31/2019 integrated circuit Logic Effort

    21/33

    Parasitic Delay

    Main cause is drain capacitancesCgateP

    ese sca e w rans s or w

    so it is independent of transistorsizesCdrainPR

    For inverter:

    Parasitic Delay ~= 1.0 CdrainN

    RonN

    CgateN

    Sp11 CMPEN 411 L12 S.21

  • 7/31/2019 integrated circuit Logic Effort

    22/33

    How to calculate single delay parameter:

    aracter ze process spee w t s ng e e ay parameter:

    ~= 15 ps for 0.18um ~=20 ps for 0.25 um

    Sp11 CMPEN 411 L12 S.22

  • 7/31/2019 integrated circuit Logic Effort

    23/33

    Inverter Chain Delay

    For each stage:

    Delay = Logical Effort x Electrical Effort + Parasitic Delay

    = 1.0 (definition) x 1.0 (in = out) + 1.0 (drain caps)

    =

    Sp11 CMPEN 411 L12 S.23

  • 7/31/2019 integrated circuit Logic Effort

    24/33

    Multistage Logic Network

    Path logical effort, G = gi (gi = L.E. stage i)

    Path electrical effort, H = Cout/Cin (hi = E.E. stage i)

    aras c e ay, = pi pi = . . s age

    Path effort, F= fi = gi hi

    = +

    Sp11 CMPEN 411 L12 S.24

  • 7/31/2019 integrated circuit Logic Effort

    25/33

    Paths that Branch

    Consider paths that branch:

    G =H =

    15 90

    GH =15

    901 =

    h2 =

    F = GH?

    Sp11 CMPEN 411 L12 S.25

  • 7/31/2019 integrated circuit Logic Effort

    26/33

    Paths that Branch

    No! Consider paths that branch:

    G = 1H = 90 / 5 = 18

    15 90

    GH = 1815

    901 = =

    h2 = 90 / 15 = 6

    F = g1g2h1h2 = 36 = 2GH

    Sp11 CMPEN 411 L12 S.26

  • 7/31/2019 integrated circuit Logic Effort

    27/33

    Add Branching Effort

    Branching effort:

    pathoffpathon

    C

    CCb

    +=

    Sp11 CMPEN 411 L12 S.27

  • 7/31/2019 integrated circuit Logic Effort

    28/33

    Multistage Networks

    Path electrical effort: H= Cout/Cin

    Branching effort: B = b1b2bN

    a e or : =

    Path delay D= F+P=GBH+P

    Sp11 CMPEN 411 L12 S.28

  • 7/31/2019 integrated circuit Logic Effort

    29/33

    Optimal Number of Stages

    Cin

    Minimum delay when:

    - ~

    ou

    . .

    Fan-out-of-four (FO4) is convenient design size (~5)

    FO4 delay: Delay of

    inverter driving fourcopies of itself

    Sp11 CMPEN 411 L12 S.29

  • 7/31/2019 integrated circuit Logic Effort

    30/33

    Method of Logical Effort

    Compute the path effort: F= GBH

    Find the best number of stages N~ log4 F

    Compute the stage effort f= F1/N

    Sketch the ath with this number of sta es

    Work either from either end, find sizes:

    Cin= Cout*g/f

    Sp11 CMPEN 411 L12 S.30

  • 7/31/2019 integrated circuit Logic Effort

    31/33

    Example of Inverter (Buffer) Staging

    1

    p

    1 64 65L = g,1g,1 =

    1 8

    CL = 64 Cg,1Cg,1 = 1

    CL = 64 Cg,1Cg,1 = 1

    1

    CL = 64 Cg,1Cg,1 = 1

    1 2.8 8 22.6 4 2.8 15.3

    Sp11 CMPEN 411 L12 S.31

  • 7/31/2019 integrated circuit Logic Effort

    32/33

    Summary

    Sp11 CMPEN 411 L12 S.32

  • 7/31/2019 integrated circuit Logic Effort

    33/33

    Next Lecture and Reminders

    z Designing energy efficient logic

    - Reading assignment Rabaey, et al, 5.5 & 6.2.1

    Sp11 CMPEN 411 L12 S.33