clocking in digital systems

Upload: kumarbsnsp

Post on 14-Apr-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/2/2019 Clocking in Digital Systems

    1/28

    Clocking in digital systems

    By

    Bhanu prasad nimmagaddaRoll no 3

  • 8/2/2019 Clocking in Digital Systems

    2/28

  • 8/2/2019 Clocking in Digital Systems

    3/28

    All sequential circuits have one property in commona well-defined ordering of theswitching events must be imposed if the circuit is to operate correctly. If this were not thecase, wrong data might be written into the memory elements, resulting in a functional fail-ure. The synchronous system ap proach, in which all memory elements in the system aresimultaneously updated using a globally distributed periodic synchronization signal (thatsignals and their distribution to the memory elements distributed over the chip; non-com-

    pliance often leads to malfunction.

    At the other end of the design spectrum is an approach calledasynchronous design which avoids the problem of clock uncertainty all-together by eliminating the need for globally-distributed clocks. Afterdiscussing the basics of asynchronous design approach

  • 8/2/2019 Clocking in Digital Systems

    4/28

    Synchronous Interconnect

    CombinationalLogic

    R1 R2Cin Cout Out

    In

    CLK

  • 8/2/2019 Clocking in Digital Systems

    5/28

    Mesochronous interconnect

  • 8/2/2019 Clocking in Digital Systems

    6/28

    Plesiochronous Interconnect

  • 8/2/2019 Clocking in Digital Systems

    7/28

    Asynchronous Interconnect

  • 8/2/2019 Clocking in Digital Systems

    8/28

    Latch parametes

    D

    Clk

    Q

    Qtc-q

    thold

    PWmtsu

    td-q

    T

  • 8/2/2019 Clocking in Digital Systems

    9/28

    Clock skew

    The spatial variation in arrival time of aclock transition on an integrated circuit iscommonly referred to as clock skew

  • 8/2/2019 Clocking in Digital Systems

    10/28

    Positive and Negative Skew

    R1In

    (a) Positive skew

    CombinationalLogic

    D Q

    tCLK1CLK

    delay

    tCLK2

    R2

    D QCombinational

    Logic

    tCLK3

    R3

    D Q

    delay

    R1In

    (b) Negative skew

    CombinationalLogic

    D Q

    tCLK1

    delay

    tCLK2

    R2

    D QCombinational

    Logic

    tCLK3

    R3

    D Q

    delay CLK

  • 8/2/2019 Clocking in Digital Systems

    11/28

    Positive Skew

    CLK1

    CLK2

    TCLK

    d

    TCLK+ d

    + th

    2

    1

    4

    3

    Launching edge arrives before the receiving edge

  • 8/2/2019 Clocking in Digital Systems

    12/28

    Negative Skew

    CLK1

    CLK2

    TCLK

    d

    TCLK+ d

    2

    1

    4

    3

    Receiving edge arrives before the launching edge

  • 8/2/2019 Clocking in Digital Systems

    13/28

    Clock Jitter

    Clock jitterrefers to the temporal variation of the clock period at agiven point that is the clock period can reduce or expand on acycle-by-cycle basis. It is strictly a temporal uncertainty measureand is often specified at a given point on the chip.

    CLK

    -tjitte r

    TC LK

    tj itter

    CLK

    InCombinational

    Logic

    tc-q, tc-q, cdt log ict log ic, cd

    tsu,thold

    REGS

    tjit te r

  • 8/2/2019 Clocking in Digital Systems

    14/28

    Impact of Skew and Jitter on

    Performance

  • 8/2/2019 Clocking in Digital Systems

    15/28

    Sources of Skew and Jitter

    2

    4

    3

    Power Supply

    Interconnect

    5 Temperature

    6 Capacitive Load

    7 Coupling to Adjacent Lines

    1 Clock Generation

    Devices

  • 8/2/2019 Clocking in Digital Systems

    16/28

    Clock-Distribution Technique

    CLK

    Clock is distributed in a tree-like fashion

  • 8/2/2019 Clocking in Digital Systems

    17/28

    The Grid System

    Driver

    Driver

    Dr

    iver

    Driver

    GCLK GCLK

    GCLK

    GCLK

    No re-matchingLarge power

  • 8/2/2019 Clocking in Digital Systems

    18/28

  • 8/2/2019 Clocking in Digital Systems

    19/28

  • 8/2/2019 Clocking in Digital Systems

    20/28

  • 8/2/2019 Clocking in Digital Systems

    21/28

    A Simple Synchronizer

    CLK

    int

    I2

    I1

    D Q

    CLK

    Data sampled on rising edge of the clockLatch will eventually resolve the signal value,but ... this might take infinite time!

  • 8/2/2019 Clocking in Digital Systems

    22/28

    Arbiters

    Req1

    Req2

    Req1

    Req2

    Ack1

    Ack2Arbiter

    Ack1

    Ack2

    (a) Schematic symbol

    (b) Implementation

    A

    B

    Req1

    Req2

    A

    B

    Ack1t

    (c) Timing diagramVTgap

    metastable

  • 8/2/2019 Clocking in Digital Systems

    23/28

  • 8/2/2019 Clocking in Digital Systems

    24/28

    PLL Block Diagram

    Phasedetector

    Chargepump

    Divide byN

    Loopfilter

    VCO

    Referenceclock

    Localclock

    SystemClock

    Up

    Down

    vcont

  • 8/2/2019 Clocking in Digital Systems

    25/28

    Mesochronous pipelining scheme

  • 8/2/2019 Clocking in Digital Systems

    26/28

  • 8/2/2019 Clocking in Digital Systems

    27/28

  • 8/2/2019 Clocking in Digital Systems

    28/28