Hamming Presentation

download Hamming Presentation

of 16

Transcript of Hamming Presentation

  • 8/3/2019 Hamming Presentation

    1/16

    1

    Hamming Code Circuit(Detection)

    Mike RaCaroline Choi

    Thuy Nguyen

    Christopher Gobok

    Advisor: Dave Parent

    May 11, 2005

  • 8/3/2019 Hamming Presentation

    2/16

    2

    Agenda

    Introduction to Hamming Code

    Project Specifications

    Project Details (Schematic, Layout, etc.)

    Cost Analysis

    Conclusion/Lessons Learned

  • 8/3/2019 Hamming Presentation

    3/16

    3

    What is Hamming Code?

    Error detection scheme

    Utilizes multiple parity bits to generate a

    codeword that corresponds to the errorbit. (Consistent with other error correction

    and detection schemes, where there is an

    increase in overhead).

    Correction is possible through hardware or

    software

  • 8/3/2019 Hamming Presentation

    4/16

    4

    Block Diagram

    4 74

    3

    ENCODER DECODER

  • 8/3/2019 Hamming Presentation

    5/16

    5

    Specifications:

    Encoder: input 4 data bits

    output 7 data bits

    Circuit Specs:

    Clock Frequency : 200Mhz Supply Voltage : 5 V

    Load Capacitance : 30fF

    Decoder: input 7 data bits

    output 4 data bits &

    3 codeword bits

  • 8/3/2019 Hamming Presentation

    6/16

    6

    Longest Path Calculations

    Note: All widths are in micronsand capacitances in fF

    XPHL= XPLH = (5ns)/(14LL) = 0.35ns

    LogicLevel

    Gate Cg toDrive

    #CDn #CDp Nsn Nsp Wn Wp Cg ofGate

    1 Sub_X_1 30.00 4 6 2 2 6.26 10.90 29.2

    2 Inv_1 29.20 1 1 1 1 2.05 2.75 8.16

    3 Sub_X_2 8.16 4 6 2 2 3.04 5.59 14.3

    4 Inv_2 14.30 1 1 1 1 2.36 3.08 10.5

    5 Sub_X_3 10.50 4 6 2 2 3.39 5.91 15.9

    6 Inv_3 15.90 1 1 1 1 2.16 2.84 8.55

    7 Sub_X_4 8.55 4 6 2 2 3.10 5.39 14.5

    8 Inv_4 14.50 1 1 1 1 2.91 3.25 9.32

    9 Sub_X_5 9.32 4 6 2 2 3.21 5.59 15.1

    10 Inv_5 15.10 1 1 1 1 2.19 2.95 8.8

  • 8/3/2019 Hamming Presentation

    7/16

    7

    Schematic

  • 8/3/2019 Hamming Presentation

    8/16

    8

    Layout

  • 8/3/2019 Hamming Presentation

    9/16

    9

    Verification

  • 8/3/2019 Hamming Presentation

    10/16

    10

    Verification

  • 8/3/2019 Hamming Presentation

    11/16

    11

    Simulation

  • 8/3/2019 Hamming Presentation

    12/16

    12

    Simulation

  • 8/3/2019 Hamming Presentation

    13/16

    13

    Cost Analysis

    # of hours spent

    Verifying logic 12

    Verifying timing 25

    Layout 40Post extracted timing 3

    ------------------

    Total = 80 hours

    @ a rate of $150/hr, this project would have cost $12,000!

  • 8/3/2019 Hamming Presentation

    14/16

    14

    Summary

    Complete Circuit:

    Clock Frequency :315 Mhz

    Area : 289.95 x 151.5 microns

    Power : 3.78 mW

    Load Capacitance : 30 fF

  • 8/3/2019 Hamming Presentation

    15/16

    15

    Conclusion/Lessons Learned

    Start Early

    Expose yourself to the tool before starting

    Layout Design in blocks (cell based) andthen instantiate them to minimize error

    Test at every different phase

    Ask other students with experience for help

  • 8/3/2019 Hamming Presentation

    16/16

    16

    Acknowledgements /References

    Thanks to Dr. Parent

    Thanks to John (Dr. Parents T.A.)

    Fellow Students

    Ando, Hisashige & Fujibu Ltd. F4 Microprocessor Design Forum.

    Robust Design Solutions for Nano-scale Circuits. 2005

    Rowan University. Electronics II VLSI Design Lab 6 TheDesign and Layout of an Encoder/Decoder that Simulates theHamming

    Error Correcting Code.http://users.rowan.edu/~head/spring05/vlsi/

    ADK_HAMMING_Lab6_S05.doc

    Unv. Of New Brunswick. EE4253 Digital Communications.

    Error Correction and the Hamming Code. http://www.ee.unb.ca/

    /tervo/ee4253/hamming.htm. 2002