24
1 5 bit binary to 1 of 32 select decoder (to be used in 5 bit DAC) Dan Brisco, Steve Corriveau Advisor: Dave Parent 14 May 2004

5to32 Decoder

Embed Size (px)

Citation preview

Page 1: 5to32 Decoder

1

5 bit binary to 1 of 32 select decoder (to be used in 5 bit

DAC)Dan Brisco, Steve Corriveau

Advisor: Dave Parent

14 May 2004

Page 2: 5to32 Decoder

2

Agenda

• Abstract• Introduction

– Why– Simple Theory– Back Ground information (Lit Review)

• Summary of Results• Project (Experimental) Details• Results• Conclusions

Page 3: 5to32 Decoder

3

Abstract

• We designed the circuit to operate at 200MHz with room for extra logic stages for the analog conversion yet to be added.

• We needed to assure that only one output was selected at a time without having to clocking the outputs.

• Our design is 171.6um X 534.6um and uses 1.02mW of power.

Page 4: 5to32 Decoder

4

Introduction

• A 5 bit DAC as IP will be very useful for DSP projects in the future.

• Design a decoder with symmetric rise and fall times and minimal settling errors.

• We have laid out our circuit utilizing the best timing path even though we calculated and tested it for the worst case.

Page 5: 5to32 Decoder

5

Previous Work

• 2003 Gonzalez, Yu & Korbes. 6-bit Analog to Digital / Digital to Analog Converter.

• 1997 Baker, Li & Boyce. CMOS Circuit Design, Layout, and Simulation.

• 1987 Allen & Holberg. CMOS Analog Circuit Design.

• 2003 Kang & Leblebici. CMOS Digital Integrated Circuits.

Page 6: 5to32 Decoder

6

Project Summary• A 6 bit DAC was presented last year that had a

non-linear output with possible reasons being.– Timing issues

– More than one output being selected

– Settling time causing selection of the wrong output.

• Our design has 5 logic levels.– We designed for 10 to allow for the analog conversion

later.

Page 7: 5to32 Decoder

7

Project Details• The 5 to 32 bit decoder utilized 4 base cells.

– Nand3, Inverter and Nand2 were used to build a Nand5.

• Nand2 & 3 and Inv cell heights are 15.9um.

– Mux based DFF with nRST was used to hold the input logic and fan out the signals to 32 Nand5’s for decoding.

• DFF cell height is 36.0um.• Nand5 cell height is 29.4um.

– The whole design is 171.6um X 534.6um.

Page 8: 5to32 Decoder

8

Longest Path Calculations

nsns

PHL 5.10

5 Note: All widths are in microns

and capacitances in fF

Logic Level Gate

Cg to Drive #CDNs #CDPs #LNs #LPs

WN (H.C)

WP (H.C)

WN (S)

WP (S)

WN (L)

WP (L)

Cg of Gate

1 Nand2 30.00 3 2 2 1 0.42 0.71 2.09 1.79 2.09 1.79 6.602 Inv 6.60 1 1 1 1 0.12 0.20 1.50 2.56 1.50 2.56 6.913 Nand3 6.91 5 3 3 1 0.12 0.20 1.43 0.81 2.56 1.50 110.634 Dff Nand 110.63 1 1 2 1 1.57 2.78 9.44 8.34 9.44 8.34 15.09

4.5 Dff Slave 15.09 1 1 1 1 0.53 0.95 5.10 9.54 5.10 9.54 18.145 Dff Nand 18.14 1 1 2 1 1.82 3.21 5.45 4.82 5.45 4.82 17.42

5.5 Dff Master 17.42 1 1 1 1 0.61 1.08 3.06 5.41 3.06 5.41 14.30

Page 9: 5to32 Decoder

9

5 to 32 bit Decoder

Page 10: 5to32 Decoder

10

5 to 32 bit Decoder

Page 11: 5to32 Decoder

11

Mux DFF with nRST

Page 12: 5to32 Decoder

12

DFF Master

Page 13: 5to32 Decoder

13

DFF Slave

Page 14: 5to32 Decoder

14

Mux DFF with nRST

D

CLK

nRST

Q

nQ

Page 15: 5to32 Decoder

15

Nand5

Page 16: 5to32 Decoder

16

Nand5

Page 17: 5to32 Decoder

17

Verification

Page 18: 5to32 Decoder

18

Verification

Page 19: 5to32 Decoder

19

Simulations

Page 20: 5to32 Decoder

20

Simulations

Page 21: 5to32 Decoder

21

Cost Analysis

• We estimate the time we spent on each phase of the project to be,– verifying logic – 16hrs– verifying timing – 16hrs– Layout – 32hrs– post extracted timing – 4hrs– Log-in/out – 8hrs

Page 22: 5to32 Decoder

22

Conclusions• This project provided a good basis for IC design.

– We looked at several ways to implement and optimize the design.

– Working through the design flow as a team provided great a experience that will help with working on the job.

• We were able to design a very clean select 1 output.

• There is some repeated logic that could be taken out if cell based design wasn’t part of the specification.

Page 23: 5to32 Decoder

23

Lessons Learned

• Start early.

• Be ready to redesign from scratch.

• Don’t hurry.

• A steady pace, with lots of reflecting, works best.

Page 24: 5to32 Decoder

24

Acknowledgements

• Thanks to Denise and Shannon for putting up with us and encouraging us to study.

• Thanks to Cadence Design Systems for the VLSI lab.

• Thanks to Synopsys for Software donation.

• Professor Parent and his many consults.

• Grant us peace.