SlideShare a Scribd company logo
Booth’s Multiplication implemented in Reversible circuit

Rohith

Rohith
Rahul Krishnamurthy

Roll No. 2011VLSI12
Roll No. 2011VLSI06

Under the Guidance of
Prof. G.K.Sharma

April 20, 2012

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 () pril 20, 2012
A

1 / 28
What and Why?

Rohith

Whenever there are a large number of consecutive 1’s in multiplier,
multiplication can be speeded up by replacing the corresponding
sequence of addition with subtraction at least significant end and an
addition in the position immediately to the left of its most significant
end.
2J + 2J−1 + 2J−2 + ... + 2K = 2J+1 − 2K
Example: 0111 = 1000 - 0001
Booth exploits this to create a faster multiplier

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 () pril 20, 2012
A

2 / 28
Recoding
Representation of Signed number (A) is
val (A) = [−an−1 x2n−1 + n−2 (ai x2i )]
0
For example(10)10 = (1010)2
2’s Complement of 10 is 0110.The value of (-10) becomes 10110
VAL(-10) from the formulae is −1x24 + 1x22 + 1x21 = (−10)10
Bxval (A) =
Yi

Yi−1

Xi

0

0

Explanation

0

1

0
1

1

0

−1

End of string of 1s in x
Beginning of string of 1s in x

1

1

0

Continuation of string of 1s in X

No string 1s in sight

(a−1 − a0 )xBx20 + (a0 − a1 )xBx21 + (a2 − a1 )xBx22 + (a3 − a2 )xBx23 +
...(an−2 − an−1 )xBx2n−1
Bx[−an−1 x2n−1 +
Rohith

n−2
i
0 (ai x2 )]

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 () pril 20, 2012
A

3 / 28
WORKING
STEP 1
Multiplier is recoded into Booth’s recoded form using the conversion
truth table.We will take X−1 = 0. For example
A is 11000
B is 10101
recoded Y becomes -11-11-1
STEP 2

Rohith

Use the recoded version of multiplier and perform the right shift
multiplication algorithm to get the product
Multiplicand(A) 11000
Multiplier(Y) -11-11-1
Partial product is intialized to 0
Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 () pril 20, 2012
A

4 / 28
WORKING contd..

Rohith

Y is scanned from right to left
a) If Y=-1 then
Calculate 2’s complement of the multiplicand and add with the
existing partial product.
Perform the right shift of the obtained partial product.
We have to preserve the sign of the partial product so the bit
enetring the MSB is same as the previous MSB

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 () pril 20, 2012
A

5 / 28
WORKING contd..

Rohith

b) If Y=1 then
Add the multiplicand with the existing partial product.
Perform the right shift of the obtained partial product.
We have to preserve the sign of the partial product so the bit
enetring the MSB is same as the previous MSB
c) If Y=0 then
Perform the right shift of the obtained partial product.
We have to preserve the sign of the partial product so the bit
enetring the MSB is same as the previous MSB

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 () pril 20, 2012
A

6 / 28
Example
Below example we have taken Multiplicand as -8 And Multilplier as
-11 and recoded form of Multilplier is -1 1 -1 1 -1
A

1

Y

−1 1

1

0

−1 1

0

−1

0

P

0

0

0

0

0

AY

0

1

0

0

0

2P 0

0

1

0

0

0

P

0

0

1

0

0

AY

1

1

0

0

0

0

2P 1

1

1

1

0

0

0

P

1

1

1

1

0

0

AY

0

1

0

0

0

2P 0

0

0

1

1

0

0

0

P

0

0

0

1

1

0

0

AY

1

1

0

0

0

0

0

2P 1

1

1

0

1

1

0

0

0

P

1

1

1

0

1

1

0

0

0

AY

0

0

0

2P 0

0

0

1

1

0

0

0

1
0

0
1

Result of the multiplication is 88 represented by 0001011000
Rohith

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 () pril 20, 2012
A

7 / 28
Comparision

Rohith

In normal add and shift algorithms number of additions and shifting
depends on multiplier bits.For example
If the Multiplier is 1111 then
we require 4 addition and shifting operation
In Booth’s multiplication for the same multiplier we require
1 addition and 4 Shifting operations
Shifting alone takes less time than both shifting and addition.
This makes multiplication faster than normal add and shift algorithms.

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 () pril 20, 2012
A

8 / 28
BLOCK DIAGRAM CONVENTIONAL LOGIC

Rohith

PARTIAL PRODUCT(P)
5−BIT
full
adder

UPDATE
PARTIAL
PRODUCT

SHIFT REGISTER
(8 DOWNTO 0)<=(9 DOWN TO 1)

0000
MULIPLICAND

MUX FOR SELECTING MULTIPLICAND

2’S COMP
0000

X(I)

X(I−1)

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 () pril 20, 2012
A

9 / 28
VHDL SIMULATION

Rohith

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

10 / 28
BASIC REVERSIBLE GATES

Rohith

FEYNMAN GATE
TOFFOLI GATE
PERES GATE
FREDKIN GATE

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

11 / 28
Feynman GATE
Feynman GATE

Rohith

It is a 2x2 reversible gate.
Quantum cost is 1
It has a unit delay

A
B

P=A
FG

Q=A

A

B

Roll No. 2011VLSI12 Rahul Krishnamurthy

B

P=A

Q=A

B

Roll No. 2011VLSI06 April 20, 2012
()

12 / 28
TOFFOLI GATE
TOFFOLI GATE

Rohith

It is a 3x3 reversible gate
Quantum cost is 5
Delay is 5△
A

P=A
Q=B

TG

B

Q=A.B C

C

1

2

3

4

5

A

P=A

B

Q=B

C

V

V

V+

Roll No. 2011VLSI12 Rahul Krishnamurthy

R=A.B C

Roll No. 2011VLSI06 April 20, 2012
()

13 / 28
FREDKIN GATE
FREDKIN GATE

Rohith

It is a 3x3 reversible gate
Quantum cost is 5
Delay is 5△
A

P=A

B

Q=AB+AC

F

R=A.B+AC

C

Fredkin Gate
1

2

3

4

5

A
B

P=A
V+

V

C

V

Q=AB+AC
R=A.B+AC

Delay of Fredkin Gate

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

14 / 28
PERES GATE
PERES GATE

Rohith

It is a 3x3 reversible gate
Quantum cost is 4
Delay is 4△
A

P=A
Q=A B

PG

B

Q=A.B C

C

1

2

3

4

A

P=A

B

Q=A B

C

V+

V
+

V

Roll No. 2011VLSI12 Rahul Krishnamurthy

R=A.B C

Roll No. 2011VLSI06 April 20, 2012
()

15 / 28
BLOCK DIAGRAM OF REVERSIBLE BOOTH
MULTIPLIER

Rohith

X is a 4 bit Multiplicand
Y is a 4 bit Multiplier
Z is a 8 bit product of X and Y.
X(3:0)
BOOTH’S

Z(7:0)

MULTIPLIER

Y(3:0)

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

16 / 28
Internal Block diagram

STAGE 2

X0

X3

STAGE 4

STAGE 3
2’S
COMPLIMENT

X0

2’S
COMPLIMENT

STAGE 1

Y

Y i−1

i

P4
HA

STAGE 5

S0

P7

FG

FG

P7

0
0

C0

X i or 2’S OF Xi
or 0
P
5

FA

X3

S1

C1
FG
Yi

0

0
0

Y i−1

P
6

FA

P7

P6
REVERSIBLE SHIFTER

0

4:1
MUX

S2

P
5
P4
P3
P2
P1

P
FG

1

C2

4:1
MUX

FA

P0

S3

P
7
P
1

P3

INTERNAL BLOCK REPRESENTATION

FG stands for Feynman Gate.

Rohith

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

17 / 28
Working of Internal Block diagram

Stage 1
This stage comprises of 4 Feynman gates in order to get
a copy of each bit of Multiplicand.
The first output of each feynman gate goes to
2’s Complement block and then the output
of 2’s complement block goes to each multiplexer block.
The second output of feynman gate goes directly
to Multiplexer block.
stage 1 quantum cost :4 and Garbage output :0

Rohith

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

18 / 28
Working of Internal Block diagram Contd..

Stage 2
Computing 2’s Complement of the multiplicand.

Rohith

First compute 1’s Complement of each bit of Multiplicand
4 Not gates are used to perform this operation

Then add 1 to the LSB bit of 1’s Complement using half adder and
propagate carry to subsequent half adders.
1 Peres gate is used to perform the half adder operation.
4 Peres gates are used to get the 2’s complement.

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

19 / 28
2’s Complement
1
A0

PG

OUTPUT BIT 0

0
C0

A1
0

PG

OUTPUT BIT 1
C1

A2

PG

OUTPUT BIT 2

0
C2

A3

FG

OUTPUT BIT 3

2’S COMPLEMENT OF A

stage 2 quantum cost :17 and Garbage output :4
Rohith

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

20 / 28
Working of Internal Block diagram Contd..
Stage 3
Multiplexer

Rohith

Yi

Yi−1

Xi

0

0

0

1

0
1

1

0

−1

End of string of 1s in x
Beginning of string of 1s in x

1

1

0

Continuation of string of 1s in X

Explanation
No string 1s in sight

In the truth table depending on the Yi Yi-1 we are sending modified
form of multiplicand to the adder block
If Yi=0 and Yi-1=0
If Yi=0 and Yi-1=1
If Yi=1 and Yi-1=0
adder block.
If Yi=1 and Yi-1=1

then send 0000 to the adder block.
then send muliplican as it is to the adder block.
then send 2’s complement of mulitiplicand to the
then send 0000 to the adder block.

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

21 / 28
Working of Internal Block diagram Contd..
Stage 3
Multiplexer contd..
To select one of the above as an input to the adder block we are
using 4:1 multiplexer.
This 4:1 multiplexer is performed using three 2:1 multiplexer.
each 2:1 multiplexer is implemented using Fredkin gate.
Yi
Xi
0

2:1 mux
using
fredkin
gate
Yi−1

Yi
0
2’s comp of X
i

2:1 mux
using
fredkin
gate

2:1 mux
using
fredkin
gate

4:1 mux using fredkin gate

stage 3 quantum cost :60 and and Garbage output :20
Rohith

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

22 / 28
Working of Internal Block diagram Contd..
Stage 4
Full Adder and Half Adder
To add the output of multiplexer block and 4 MSB bit’s of partial
product we need one half adder and 3 full adders.
for half adder we used PERES GATE and for full adder we used HNG
GATE.
A

A
B
C

PERES
GATE

A

A

A B

B

B

C

C

AB

HNG
GATE

A

D
HALF ADDER

B

(A B)

C
C

AB D

FULL ADDER

stage 4 quantum cost :22 and and Garbage output :7

Rohith

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

23 / 28
Parallel Input Parallel Output shifter
Stage 5
PIPO Shifter
Shifter performs the arithmetic right shift operation on the
partial product generated after the addition operation.

1
X2

1

FREDKIN
GATE

1
X3

FREDKIN
GATE

1
X4

FREDKIN
GATE

1
X5

FREDKIN
GATE

1
X6

FREDKIN
GATE

X7

FREDKIN
GATE

1

X6

FREDKIN
GATE

X7

0

FEYNMAN GATE

Shifter is implemented using 7 Fredkin gate and
1 Feynman gate.
X1

1
0

X5
0
X4

X3
X2
X1
X7

X7

7TH BIT

6TH BIT

X6
5TH BIT

X5
4TH BIT

X4
3RD BIT

X2

X3
2ND BIT

X1
1ST BIT

0TH BIT

stage 5 quantum cost :36 and and Garbage output :2
Rohith

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

24 / 28
Comparision

Reversible Multiplier
Our Design
(Haghparast et al., 2009)(Design 1)
(Haghparast et al., 2009)(Design 2)
(Haghparast et al., 2008)
(Shams et al., 2008)
(Thaplyal and Srinivas, 2006)
(Thaplyal et al., 2005)

Rohith

Total Quantum Cost
146
137

Garbage outputs
33
28

153

28

152
244
286
236

52
56
58
56

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

25 / 28
CONCLUSION

Rohith

′

Good for sequences of 3 or more 1 s
Replaces 3 adds with 1 add and 1 subtract.For Example
Multilplier is 1 0 1 1 1
In Booth algorithm the multiplier reduces to the form
-1 1 0 0 -1
This requires 3 additions as oppose 4 addition in normal
multiplier
Quantum Cost of Reversible design is 146

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

26 / 28
References

1.Computer Arithmetic - Algorithms and Hardware designs by
Behrooz Parhami
2. Design of a Nanometric Fault Tolerant Reversible Multiplier
Circuit J. Basic. Appl. Sci. Res., 2(2)1355-1361, 2012 by Somayeh
Babazadeh and Majid Haghparast,

Rohith

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

27 / 28
Thank you

Rohith

Thank You

Roll No. 2011VLSI12 Rahul Krishnamurthy

Roll No. 2011VLSI06 April 20, 2012
()

28 / 28

More Related Content

What's hot

Logic gate
Logic gateLogic gate
Logic gate
Nazim Naeem
 
Peterson Critical Section Problem Solution
Peterson Critical Section Problem SolutionPeterson Critical Section Problem Solution
Peterson Critical Section Problem Solution
Bipul Chandra Kar
 
Sequential logic circuit
Sequential logic circuitSequential logic circuit
Sequential logic circuit
AswiniT3
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
Tamim Tanvir
 
Stacks Implementation and Examples
Stacks Implementation and ExamplesStacks Implementation and Examples
Stacks Implementation and Examplesgreatqadirgee4u
 
Applications of stack
Applications of stackApplications of stack
Applications of stack
eShikshak
 
Transistor level implementation of digital reversible circuits
Transistor level implementation of digital reversible circuitsTransistor level implementation of digital reversible circuits
Transistor level implementation of digital reversible circuits
VLSICS Design
 
C046051216
C046051216C046051216
C046051216
IJERA Editor
 
Digital logic
Digital logicDigital logic
Digital logic
Madhu Bala
 
Queue - Data Structure - Notes
Queue - Data Structure - NotesQueue - Data Structure - Notes
Queue - Data Structure - Notes
Omprakash Chauhan
 
Logic gates
Logic gatesLogic gates
Stack - Data Structure - Notes
Stack - Data Structure - NotesStack - Data Structure - Notes
Stack - Data Structure - Notes
Omprakash Chauhan
 
Polish
PolishPolish
Polish
joie rocker
 
Unit 3 stack
Unit   3 stackUnit   3 stack
Unit 3 stack
Dabbal Singh Mahara
 
Chapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic Gates
Er. Nawaraj Bhandari
 
Digital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsDigital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsLekashri Subramanian
 
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
Fizaril Amzari Omar
 
Puzles C#
Puzles C#Puzles C#
Puzles C#
lantoli
 

What's hot (20)

Logic gate
Logic gateLogic gate
Logic gate
 
Peterson Critical Section Problem Solution
Peterson Critical Section Problem SolutionPeterson Critical Section Problem Solution
Peterson Critical Section Problem Solution
 
Sequential logic circuit
Sequential logic circuitSequential logic circuit
Sequential logic circuit
 
Dpsd lecture-notes
Dpsd lecture-notesDpsd lecture-notes
Dpsd lecture-notes
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
 
Stacks Implementation and Examples
Stacks Implementation and ExamplesStacks Implementation and Examples
Stacks Implementation and Examples
 
Applications of stack
Applications of stackApplications of stack
Applications of stack
 
Transistor level implementation of digital reversible circuits
Transistor level implementation of digital reversible circuitsTransistor level implementation of digital reversible circuits
Transistor level implementation of digital reversible circuits
 
C046051216
C046051216C046051216
C046051216
 
Digital logic
Digital logicDigital logic
Digital logic
 
Queue - Data Structure - Notes
Queue - Data Structure - NotesQueue - Data Structure - Notes
Queue - Data Structure - Notes
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Stack - Data Structure - Notes
Stack - Data Structure - NotesStack - Data Structure - Notes
Stack - Data Structure - Notes
 
Polish
PolishPolish
Polish
 
Ec1201
Ec1201Ec1201
Ec1201
 
Unit 3 stack
Unit   3 stackUnit   3 stack
Unit 3 stack
 
Chapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic Gates
 
Digital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsDigital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 units
 
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
 
Puzles C#
Puzles C#Puzles C#
Puzles C#
 

Viewers also liked

Reversible Logic Gate
Reversible Logic GateReversible Logic Gate
Reversible Logic Gate
Aneesh Raveendran
 
Ieee project reversible logic gates by_amit
Ieee project reversible logic gates  by_amitIeee project reversible logic gates  by_amit
Ieee project reversible logic gates by_amit
Amith Bhonsle
 
Quantum Cost Calculation of Reversible Circuit
Quantum Cost Calculation of Reversible CircuitQuantum Cost Calculation of Reversible Circuit
Quantum Cost Calculation of Reversible Circuit
Sajib Mitra
 
Booths Multiplication Algorithm
Booths Multiplication AlgorithmBooths Multiplication Algorithm
Booths Multiplication Algorithm
knightnick
 
Ieee project reversible logic gates by_amit
Ieee project reversible logic gates  by_amitIeee project reversible logic gates  by_amit
Ieee project reversible logic gates by_amit
Amith Bhonsle
 
Reversible code converter
Reversible code converterReversible code converter
Reversible code converter
Rakesh kumar jha
 
Radix 4 booth
Radix 4 boothRadix 4 booth
Radix 4 booth
Richu Jose Cyriac
 
Booth algorithm
Booth algorithmBooth algorithm
Booth algorithm
Saif Al-Kalbani
 
design of high speed performance 64bit mac unit
design of high speed performance 64bit mac unitdesign of high speed performance 64bit mac unit
design of high speed performance 64bit mac unit
Shiva Narayan Reddy
 
Vending Machine Controller using VHDL
Vending Machine Controller using VHDLVending Machine Controller using VHDL
Vending Machine Controller using VHDL
Sudhanshu Srivastava
 
Booths algorithm for Multiplication
Booths algorithm for MultiplicationBooths algorithm for Multiplication
Booths algorithm for Multiplication
Vikas Yadav
 
Wallace tree multiplier.pptx1
Wallace tree multiplier.pptx1Wallace tree multiplier.pptx1
Wallace tree multiplier.pptx1
vamshi krishna
 
Design and Implementation of Multiplier Using Kcm and Vedic Mathematics by Us...
Design and Implementation of Multiplier Using Kcm and Vedic Mathematics by Us...Design and Implementation of Multiplier Using Kcm and Vedic Mathematics by Us...
Design and Implementation of Multiplier Using Kcm and Vedic Mathematics by Us...
IJMER
 
Booths Multiplication Algorithm
Booths Multiplication AlgorithmBooths Multiplication Algorithm
Booths Multiplication Algorithm
knightnick
 

Viewers also liked (15)

Reversible Logic Gate
Reversible Logic GateReversible Logic Gate
Reversible Logic Gate
 
Ieee project reversible logic gates by_amit
Ieee project reversible logic gates  by_amitIeee project reversible logic gates  by_amit
Ieee project reversible logic gates by_amit
 
Quantum Cost Calculation of Reversible Circuit
Quantum Cost Calculation of Reversible CircuitQuantum Cost Calculation of Reversible Circuit
Quantum Cost Calculation of Reversible Circuit
 
Booth Multiplier
Booth MultiplierBooth Multiplier
Booth Multiplier
 
Booths Multiplication Algorithm
Booths Multiplication AlgorithmBooths Multiplication Algorithm
Booths Multiplication Algorithm
 
Ieee project reversible logic gates by_amit
Ieee project reversible logic gates  by_amitIeee project reversible logic gates  by_amit
Ieee project reversible logic gates by_amit
 
Reversible code converter
Reversible code converterReversible code converter
Reversible code converter
 
Radix 4 booth
Radix 4 boothRadix 4 booth
Radix 4 booth
 
Booth algorithm
Booth algorithmBooth algorithm
Booth algorithm
 
design of high speed performance 64bit mac unit
design of high speed performance 64bit mac unitdesign of high speed performance 64bit mac unit
design of high speed performance 64bit mac unit
 
Vending Machine Controller using VHDL
Vending Machine Controller using VHDLVending Machine Controller using VHDL
Vending Machine Controller using VHDL
 
Booths algorithm for Multiplication
Booths algorithm for MultiplicationBooths algorithm for Multiplication
Booths algorithm for Multiplication
 
Wallace tree multiplier.pptx1
Wallace tree multiplier.pptx1Wallace tree multiplier.pptx1
Wallace tree multiplier.pptx1
 
Design and Implementation of Multiplier Using Kcm and Vedic Mathematics by Us...
Design and Implementation of Multiplier Using Kcm and Vedic Mathematics by Us...Design and Implementation of Multiplier Using Kcm and Vedic Mathematics by Us...
Design and Implementation of Multiplier Using Kcm and Vedic Mathematics by Us...
 
Booths Multiplication Algorithm
Booths Multiplication AlgorithmBooths Multiplication Algorithm
Booths Multiplication Algorithm
 

Similar to Reversible booth ppt

Computer organization and architecture lab manual
Computer organization and architecture lab manual Computer organization and architecture lab manual
Computer organization and architecture lab manual
Shankar Gangaju
 
12 chapter06 math_instructions_fa14
12 chapter06 math_instructions_fa1412 chapter06 math_instructions_fa14
12 chapter06 math_instructions_fa14
John Todora
 
Admissions in india 2015
Admissions in india 2015Admissions in india 2015
Admissions in india 2015
Edhole.com
 
Register transfer and microoperations part 2
Register transfer and microoperations part 2Register transfer and microoperations part 2
Register transfer and microoperations part 2
Prasenjit Dey
 
Arithmetic by aniket bhute
Arithmetic by aniket bhuteArithmetic by aniket bhute
Arithmetic by aniket bhute
Aniket Bhute
 
Top schools in faridabad
Top schools in faridabadTop schools in faridabad
Top schools in faridabad
Edhole.com
 
Lab Manual Computer Organization and Architecture
Lab Manual Computer Organization and ArchitectureLab Manual Computer Organization and Architecture
Lab Manual Computer Organization and Architecture
RashidFaridChishti
 
COA-unit-2-Arithmetic.ppt
COA-unit-2-Arithmetic.pptCOA-unit-2-Arithmetic.ppt
COA-unit-2-Arithmetic.ppt
Ruhul Amin
 
IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...
IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...
IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...
IRJET Journal
 
Chapter 07 Digital Alrithmetic and Arithmetic Circuits
Chapter 07 Digital Alrithmetic and Arithmetic CircuitsChapter 07 Digital Alrithmetic and Arithmetic Circuits
Chapter 07 Digital Alrithmetic and Arithmetic Circuits
SSE_AndyLi
 
Mba admission in india
Mba admission in indiaMba admission in india
Mba admission in india
Edhole.com
 
Error Reduction of Modified Booth Multipliers in Mac Unit
Error Reduction of Modified Booth Multipliers in Mac UnitError Reduction of Modified Booth Multipliers in Mac Unit
Error Reduction of Modified Booth Multipliers in Mac Unit
IOSR Journals
 
Comp Arithmetic Basic.ppt
Comp Arithmetic Basic.pptComp Arithmetic Basic.ppt
Comp Arithmetic Basic.ppt
skatiarrahaman
 
chapter4-Arithmetic_new.ppt having sums og
chapter4-Arithmetic_new.ppt having sums  ogchapter4-Arithmetic_new.ppt having sums  og
chapter4-Arithmetic_new.ppt having sums og
GauravDaware2
 
Free video lectures for mca
Free video lectures for mcaFree video lectures for mca
Free video lectures for mca
Edhole.com
 
15CS32 ADE Module 4
15CS32 ADE Module 415CS32 ADE Module 4
15CS32 ADE Module 4
RLJIT
 
Encoding Schemes for Multipliers
Encoding Schemes for MultipliersEncoding Schemes for Multipliers
Encoding Schemes for Multipliers
Silicon Mentor
 
H010114954
H010114954H010114954
H010114954
IOSR Journals
 
Design and Implementation of High Speed Area Efficient Double Precision Float...
Design and Implementation of High Speed Area Efficient Double Precision Float...Design and Implementation of High Speed Area Efficient Double Precision Float...
Design and Implementation of High Speed Area Efficient Double Precision Float...
IOSR Journals
 

Similar to Reversible booth ppt (20)

Computer organization and architecture lab manual
Computer organization and architecture lab manual Computer organization and architecture lab manual
Computer organization and architecture lab manual
 
12 chapter06 math_instructions_fa14
12 chapter06 math_instructions_fa1412 chapter06 math_instructions_fa14
12 chapter06 math_instructions_fa14
 
Admissions in india 2015
Admissions in india 2015Admissions in india 2015
Admissions in india 2015
 
Register transfer and microoperations part 2
Register transfer and microoperations part 2Register transfer and microoperations part 2
Register transfer and microoperations part 2
 
Arithmetic by aniket bhute
Arithmetic by aniket bhuteArithmetic by aniket bhute
Arithmetic by aniket bhute
 
Top schools in faridabad
Top schools in faridabadTop schools in faridabad
Top schools in faridabad
 
Lab Manual Computer Organization and Architecture
Lab Manual Computer Organization and ArchitectureLab Manual Computer Organization and Architecture
Lab Manual Computer Organization and Architecture
 
Lec20
Lec20Lec20
Lec20
 
COA-unit-2-Arithmetic.ppt
COA-unit-2-Arithmetic.pptCOA-unit-2-Arithmetic.ppt
COA-unit-2-Arithmetic.ppt
 
IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...
IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...
IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...
 
Chapter 07 Digital Alrithmetic and Arithmetic Circuits
Chapter 07 Digital Alrithmetic and Arithmetic CircuitsChapter 07 Digital Alrithmetic and Arithmetic Circuits
Chapter 07 Digital Alrithmetic and Arithmetic Circuits
 
Mba admission in india
Mba admission in indiaMba admission in india
Mba admission in india
 
Error Reduction of Modified Booth Multipliers in Mac Unit
Error Reduction of Modified Booth Multipliers in Mac UnitError Reduction of Modified Booth Multipliers in Mac Unit
Error Reduction of Modified Booth Multipliers in Mac Unit
 
Comp Arithmetic Basic.ppt
Comp Arithmetic Basic.pptComp Arithmetic Basic.ppt
Comp Arithmetic Basic.ppt
 
chapter4-Arithmetic_new.ppt having sums og
chapter4-Arithmetic_new.ppt having sums  ogchapter4-Arithmetic_new.ppt having sums  og
chapter4-Arithmetic_new.ppt having sums og
 
Free video lectures for mca
Free video lectures for mcaFree video lectures for mca
Free video lectures for mca
 
15CS32 ADE Module 4
15CS32 ADE Module 415CS32 ADE Module 4
15CS32 ADE Module 4
 
Encoding Schemes for Multipliers
Encoding Schemes for MultipliersEncoding Schemes for Multipliers
Encoding Schemes for Multipliers
 
H010114954
H010114954H010114954
H010114954
 
Design and Implementation of High Speed Area Efficient Double Precision Float...
Design and Implementation of High Speed Area Efficient Double Precision Float...Design and Implementation of High Speed Area Efficient Double Precision Float...
Design and Implementation of High Speed Area Efficient Double Precision Float...
 

Recently uploaded

Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 

Recently uploaded (20)

Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 

Reversible booth ppt

  • 1. Booth’s Multiplication implemented in Reversible circuit Rohith Rohith Rahul Krishnamurthy Roll No. 2011VLSI12 Roll No. 2011VLSI06 Under the Guidance of Prof. G.K.Sharma April 20, 2012 Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 () pril 20, 2012 A 1 / 28
  • 2. What and Why? Rohith Whenever there are a large number of consecutive 1’s in multiplier, multiplication can be speeded up by replacing the corresponding sequence of addition with subtraction at least significant end and an addition in the position immediately to the left of its most significant end. 2J + 2J−1 + 2J−2 + ... + 2K = 2J+1 − 2K Example: 0111 = 1000 - 0001 Booth exploits this to create a faster multiplier Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 () pril 20, 2012 A 2 / 28
  • 3. Recoding Representation of Signed number (A) is val (A) = [−an−1 x2n−1 + n−2 (ai x2i )] 0 For example(10)10 = (1010)2 2’s Complement of 10 is 0110.The value of (-10) becomes 10110 VAL(-10) from the formulae is −1x24 + 1x22 + 1x21 = (−10)10 Bxval (A) = Yi Yi−1 Xi 0 0 Explanation 0 1 0 1 1 0 −1 End of string of 1s in x Beginning of string of 1s in x 1 1 0 Continuation of string of 1s in X No string 1s in sight (a−1 − a0 )xBx20 + (a0 − a1 )xBx21 + (a2 − a1 )xBx22 + (a3 − a2 )xBx23 + ...(an−2 − an−1 )xBx2n−1 Bx[−an−1 x2n−1 + Rohith n−2 i 0 (ai x2 )] Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 () pril 20, 2012 A 3 / 28
  • 4. WORKING STEP 1 Multiplier is recoded into Booth’s recoded form using the conversion truth table.We will take X−1 = 0. For example A is 11000 B is 10101 recoded Y becomes -11-11-1 STEP 2 Rohith Use the recoded version of multiplier and perform the right shift multiplication algorithm to get the product Multiplicand(A) 11000 Multiplier(Y) -11-11-1 Partial product is intialized to 0 Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 () pril 20, 2012 A 4 / 28
  • 5. WORKING contd.. Rohith Y is scanned from right to left a) If Y=-1 then Calculate 2’s complement of the multiplicand and add with the existing partial product. Perform the right shift of the obtained partial product. We have to preserve the sign of the partial product so the bit enetring the MSB is same as the previous MSB Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 () pril 20, 2012 A 5 / 28
  • 6. WORKING contd.. Rohith b) If Y=1 then Add the multiplicand with the existing partial product. Perform the right shift of the obtained partial product. We have to preserve the sign of the partial product so the bit enetring the MSB is same as the previous MSB c) If Y=0 then Perform the right shift of the obtained partial product. We have to preserve the sign of the partial product so the bit enetring the MSB is same as the previous MSB Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 () pril 20, 2012 A 6 / 28
  • 7. Example Below example we have taken Multiplicand as -8 And Multilplier as -11 and recoded form of Multilplier is -1 1 -1 1 -1 A 1 Y −1 1 1 0 −1 1 0 −1 0 P 0 0 0 0 0 AY 0 1 0 0 0 2P 0 0 1 0 0 0 P 0 0 1 0 0 AY 1 1 0 0 0 0 2P 1 1 1 1 0 0 0 P 1 1 1 1 0 0 AY 0 1 0 0 0 2P 0 0 0 1 1 0 0 0 P 0 0 0 1 1 0 0 AY 1 1 0 0 0 0 0 2P 1 1 1 0 1 1 0 0 0 P 1 1 1 0 1 1 0 0 0 AY 0 0 0 2P 0 0 0 1 1 0 0 0 1 0 0 1 Result of the multiplication is 88 represented by 0001011000 Rohith Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 () pril 20, 2012 A 7 / 28
  • 8. Comparision Rohith In normal add and shift algorithms number of additions and shifting depends on multiplier bits.For example If the Multiplier is 1111 then we require 4 addition and shifting operation In Booth’s multiplication for the same multiplier we require 1 addition and 4 Shifting operations Shifting alone takes less time than both shifting and addition. This makes multiplication faster than normal add and shift algorithms. Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 () pril 20, 2012 A 8 / 28
  • 9. BLOCK DIAGRAM CONVENTIONAL LOGIC Rohith PARTIAL PRODUCT(P) 5−BIT full adder UPDATE PARTIAL PRODUCT SHIFT REGISTER (8 DOWNTO 0)<=(9 DOWN TO 1) 0000 MULIPLICAND MUX FOR SELECTING MULTIPLICAND 2’S COMP 0000 X(I) X(I−1) Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 () pril 20, 2012 A 9 / 28
  • 10. VHDL SIMULATION Rohith Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 10 / 28
  • 11. BASIC REVERSIBLE GATES Rohith FEYNMAN GATE TOFFOLI GATE PERES GATE FREDKIN GATE Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 11 / 28
  • 12. Feynman GATE Feynman GATE Rohith It is a 2x2 reversible gate. Quantum cost is 1 It has a unit delay A B P=A FG Q=A A B Roll No. 2011VLSI12 Rahul Krishnamurthy B P=A Q=A B Roll No. 2011VLSI06 April 20, 2012 () 12 / 28
  • 13. TOFFOLI GATE TOFFOLI GATE Rohith It is a 3x3 reversible gate Quantum cost is 5 Delay is 5△ A P=A Q=B TG B Q=A.B C C 1 2 3 4 5 A P=A B Q=B C V V V+ Roll No. 2011VLSI12 Rahul Krishnamurthy R=A.B C Roll No. 2011VLSI06 April 20, 2012 () 13 / 28
  • 14. FREDKIN GATE FREDKIN GATE Rohith It is a 3x3 reversible gate Quantum cost is 5 Delay is 5△ A P=A B Q=AB+AC F R=A.B+AC C Fredkin Gate 1 2 3 4 5 A B P=A V+ V C V Q=AB+AC R=A.B+AC Delay of Fredkin Gate Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 14 / 28
  • 15. PERES GATE PERES GATE Rohith It is a 3x3 reversible gate Quantum cost is 4 Delay is 4△ A P=A Q=A B PG B Q=A.B C C 1 2 3 4 A P=A B Q=A B C V+ V + V Roll No. 2011VLSI12 Rahul Krishnamurthy R=A.B C Roll No. 2011VLSI06 April 20, 2012 () 15 / 28
  • 16. BLOCK DIAGRAM OF REVERSIBLE BOOTH MULTIPLIER Rohith X is a 4 bit Multiplicand Y is a 4 bit Multiplier Z is a 8 bit product of X and Y. X(3:0) BOOTH’S Z(7:0) MULTIPLIER Y(3:0) Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 16 / 28
  • 17. Internal Block diagram STAGE 2 X0 X3 STAGE 4 STAGE 3 2’S COMPLIMENT X0 2’S COMPLIMENT STAGE 1 Y Y i−1 i P4 HA STAGE 5 S0 P7 FG FG P7 0 0 C0 X i or 2’S OF Xi or 0 P 5 FA X3 S1 C1 FG Yi 0 0 0 Y i−1 P 6 FA P7 P6 REVERSIBLE SHIFTER 0 4:1 MUX S2 P 5 P4 P3 P2 P1 P FG 1 C2 4:1 MUX FA P0 S3 P 7 P 1 P3 INTERNAL BLOCK REPRESENTATION FG stands for Feynman Gate. Rohith Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 17 / 28
  • 18. Working of Internal Block diagram Stage 1 This stage comprises of 4 Feynman gates in order to get a copy of each bit of Multiplicand. The first output of each feynman gate goes to 2’s Complement block and then the output of 2’s complement block goes to each multiplexer block. The second output of feynman gate goes directly to Multiplexer block. stage 1 quantum cost :4 and Garbage output :0 Rohith Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 18 / 28
  • 19. Working of Internal Block diagram Contd.. Stage 2 Computing 2’s Complement of the multiplicand. Rohith First compute 1’s Complement of each bit of Multiplicand 4 Not gates are used to perform this operation Then add 1 to the LSB bit of 1’s Complement using half adder and propagate carry to subsequent half adders. 1 Peres gate is used to perform the half adder operation. 4 Peres gates are used to get the 2’s complement. Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 19 / 28
  • 20. 2’s Complement 1 A0 PG OUTPUT BIT 0 0 C0 A1 0 PG OUTPUT BIT 1 C1 A2 PG OUTPUT BIT 2 0 C2 A3 FG OUTPUT BIT 3 2’S COMPLEMENT OF A stage 2 quantum cost :17 and Garbage output :4 Rohith Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 20 / 28
  • 21. Working of Internal Block diagram Contd.. Stage 3 Multiplexer Rohith Yi Yi−1 Xi 0 0 0 1 0 1 1 0 −1 End of string of 1s in x Beginning of string of 1s in x 1 1 0 Continuation of string of 1s in X Explanation No string 1s in sight In the truth table depending on the Yi Yi-1 we are sending modified form of multiplicand to the adder block If Yi=0 and Yi-1=0 If Yi=0 and Yi-1=1 If Yi=1 and Yi-1=0 adder block. If Yi=1 and Yi-1=1 then send 0000 to the adder block. then send muliplican as it is to the adder block. then send 2’s complement of mulitiplicand to the then send 0000 to the adder block. Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 21 / 28
  • 22. Working of Internal Block diagram Contd.. Stage 3 Multiplexer contd.. To select one of the above as an input to the adder block we are using 4:1 multiplexer. This 4:1 multiplexer is performed using three 2:1 multiplexer. each 2:1 multiplexer is implemented using Fredkin gate. Yi Xi 0 2:1 mux using fredkin gate Yi−1 Yi 0 2’s comp of X i 2:1 mux using fredkin gate 2:1 mux using fredkin gate 4:1 mux using fredkin gate stage 3 quantum cost :60 and and Garbage output :20 Rohith Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 22 / 28
  • 23. Working of Internal Block diagram Contd.. Stage 4 Full Adder and Half Adder To add the output of multiplexer block and 4 MSB bit’s of partial product we need one half adder and 3 full adders. for half adder we used PERES GATE and for full adder we used HNG GATE. A A B C PERES GATE A A A B B B C C AB HNG GATE A D HALF ADDER B (A B) C C AB D FULL ADDER stage 4 quantum cost :22 and and Garbage output :7 Rohith Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 23 / 28
  • 24. Parallel Input Parallel Output shifter Stage 5 PIPO Shifter Shifter performs the arithmetic right shift operation on the partial product generated after the addition operation. 1 X2 1 FREDKIN GATE 1 X3 FREDKIN GATE 1 X4 FREDKIN GATE 1 X5 FREDKIN GATE 1 X6 FREDKIN GATE X7 FREDKIN GATE 1 X6 FREDKIN GATE X7 0 FEYNMAN GATE Shifter is implemented using 7 Fredkin gate and 1 Feynman gate. X1 1 0 X5 0 X4 X3 X2 X1 X7 X7 7TH BIT 6TH BIT X6 5TH BIT X5 4TH BIT X4 3RD BIT X2 X3 2ND BIT X1 1ST BIT 0TH BIT stage 5 quantum cost :36 and and Garbage output :2 Rohith Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 24 / 28
  • 25. Comparision Reversible Multiplier Our Design (Haghparast et al., 2009)(Design 1) (Haghparast et al., 2009)(Design 2) (Haghparast et al., 2008) (Shams et al., 2008) (Thaplyal and Srinivas, 2006) (Thaplyal et al., 2005) Rohith Total Quantum Cost 146 137 Garbage outputs 33 28 153 28 152 244 286 236 52 56 58 56 Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 25 / 28
  • 26. CONCLUSION Rohith ′ Good for sequences of 3 or more 1 s Replaces 3 adds with 1 add and 1 subtract.For Example Multilplier is 1 0 1 1 1 In Booth algorithm the multiplier reduces to the form -1 1 0 0 -1 This requires 3 additions as oppose 4 addition in normal multiplier Quantum Cost of Reversible design is 146 Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 26 / 28
  • 27. References 1.Computer Arithmetic - Algorithms and Hardware designs by Behrooz Parhami 2. Design of a Nanometric Fault Tolerant Reversible Multiplier Circuit J. Basic. Appl. Sci. Res., 2(2)1355-1361, 2012 by Somayeh Babazadeh and Majid Haghparast, Rohith Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 27 / 28
  • 28. Thank you Rohith Thank You Roll No. 2011VLSI12 Rahul Krishnamurthy Roll No. 2011VLSI06 April 20, 2012 () 28 / 28