vlsi design spring03 ucsc by prof scott wakefield final project by shaoming ding [email protected]...

14
VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding [email protected] Jun Hu [email protected] u C E222 VLSID esign C E222 VLSID esign Spring03 UCSC Spring03 UCSC Prof.ScottWakefield Prof.ScottWakefield Final Project Final Project H igh speed 3 H igh speed 3 - - tap FIR tap FIR By Shaom in Ding By Shaom in Ding [email protected] [email protected] Jun Jun Hu Hu [email protected] [email protected]

Post on 20-Dec-2015

229 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

VLSI Design Spring03 UCSCBy Prof Scott Wakefield

Final ProjectBy Shaoming Ding [email protected] Hu [email protected]

CE222 VLSI Design CE222 VLSI Design Spring03 UCSCSpring03 UCSC

Prof. Scott WakefieldProf. Scott Wakefield

Final ProjectFinal Project

High speed 3High speed 3--tap FIRtap FIR

By Shaomin Ding By Shaomin Ding [email protected]@soe.ucsc.edu

Jun Jun [email protected]@soe.ucsc.edu

Page 2: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

Our goal

The goal of the project is to design a high speed 3-tap Finite Impulse Response (FIR) filter using explicit arithmetic units instead of high level behavioral operations to speed-up the computation. The arithmetic units include a 48-bit adder and a 24-bit multiplier.

Page 3: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

The structure of the FIR Usual Implementation

Project Implementation

Page 4: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

Multiplier

Standard multiplication

210 )011110(*]0:5[30*]0:5[ AA

Page 5: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

Multiplier Booth’s algorithm (Radix-2)

Page 6: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

Multiplier If Booth's recoded is +1 , then

set else if Booth's recoded is -1, then

else

0 11

-101

+110

000

Recoded aiai-1ai

BPP BPP

0PP

23 22 21 20 … 4 3 2 1 0 (0)

Page 7: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

The implementation of multiplier in the project Radix-4 Booth

23 22 21 19 … 9 8 7 5 4 3 1 0 (0)

ai+1 ai ai-1 Operation

0 0 0 Add 0 x B

0 0 1 Add +1 x B

0 1 0 Add +1 x B

0 1 1 Add +2 x B

1 0 0 Add -2 x B

1 0 1 Add -1 x B

1 1 0 Add -1 x B

1 1 1 Add 0 x B

Page 8: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

The implementation of multiplier in the projectThe Structure

Page 9: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

Carry Save Adder (CSA)

A 10111001

B 00101010

Carry In 00111001

Sum 10101010 //Sum and Carry comes out from CSA

Carry Out 00111001

Result 100011100 //This uses propagate adder

Basic idea

The basic idea is that three numbers can be reduced to 2, in a 3:2 compressor, by doing the addition while keeping the carries and the sum separate.

Page 10: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

Carry Save Adder (CSA) Wallace carry save adder tree

Full 3:2 compressor on k-bit-word.

Page 11: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

48-bit Carry Look-ahead Adder

Page 12: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

iii baP

iii baG

48-bit Carry Look-ahead Adder

ii CS

iiii CPGC 1

)( 1111 iiiiii CPGPGC

)( 212111 iiiiiiiii CPGPPGPGC

XOR XOR ia ib

Page 13: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

Final Results

Page 14: VLSI Design Spring03 UCSC By Prof Scott Wakefield Final Project By Shaoming Ding ding@soe.ucsc.edu Jun Hu hujun@soe.ucsc.edu

Summary The advantage of our structure Concurrent computation of each tap instead of the

sequential one. Multiplier concurrent computation of partial products

and summation using Wallace Tree via Carry-save Adder.

Carry Look-ahead Adder in the final addition.

Conclusion

Using arithmetic units (a 48-bit adder and a 24-bit multiplier.) instead of high level behavioral operations can highly speed-up the computation