SlideShare a Scribd company logo
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
__________________________________________________________________________________________
Volume: 02 Issue: 09 | Sep-2013, Available @ http://www.ijret.org 111
OPTIMIZED STUDY OF ONE-BIT COMPARATOR USING REVERSIBLE
LOGIC GATES
Pratik Kumar Bhatt1
, Arti Saxena2
1
Student of IIIrd
year B.Tech, 2
Asst. Professor, Department of Electronics and Communication Engineering,
PSIT College of Engineering, Bhauti Kanpur
himanshu0515@gmail.com, arti.saxena@psit.in
Abstract
In digital electronics, the power dissipation is the major problem. So that the reversible gate can be implemented in microelectronics
and electronics which have low power dissipation in the digital designing because, in the reversible state in reversible logic it will use
no energy. Hence reversible logic has ability to reduce the power dissipation in digital designing. In the Reversible logic, reversibility
have a special condition which is reversible computing and reversible computing is based on the principle of BIJECTION DEVICE
with a same no. of input and output which means one to one mapping. Reversible logic has numerous applications in the field of
electronics and microelectronics which are ultra low power in nanoscale computing, quantum computing, emerging nanotechnology
cellular automata and the other approach of reversible logic is ballistic computation, mechanical computation which are the basic
technology. This paper presents an optimization of reversible comparator using the existing reversible gates and proposed new
Reversible one bit comparator using BVF gate. A comparative result is presented in terms of number of gates, number of garbage
outputs, number of constant inputs and Quantum cost.
Keywords— advanced computing, Reversible logic circuits, reversible logic gates and comparator.
-----------------------------------------------------------------------***-----------------------------------------------------------------------
1. INTRODUCTION
This reversible circuits (gates) that have one to-one mapping
between vectors of inputs and outputs; thus the vector of input
states can be always reconstructed from the vector of output
states. Rolf Landauer, 1961. Whenever we use a logically
irreversible gate we dissipate energy into the environment. The
loss of information is associated with laws of physics requiring
that one bit of information lost dissipates k T ln 2 of energy,
where k is Boltzmann‟ constant and T is the temperature of the
system. Interest in reversible computation arises from the desire
to reduce heat dissipation, thereby allowing [1]:
I. higher densities
II. higher speed
Later Bennett, in 1973, showed that these KTln2 joules of
Energy dissipation in a circuit can be avoided if it is
constructed using reversible logic circuits. A reversible logic
gate is an n-input, n-output logic device with one-to-one
mapping. This helps to determine the outputs from the inputs
but also the inputs can be uniquely recovered from the outputs.
Specifically, the fundamentals of reversible computing are
based on the relationship between entropy, heat transfer
between molecules in a system, the probability of a quantum
particle occupying a particular state at any given time, and the
quantum electrodynamics between electrons when they are in
close proximity. One of the emerging applications of reversible
logic is in quantum computers [3, 4]. A quantum computer
consists of quantum logic gates. The quantum logic gates
perform elementary unitary operation on one, two or more two–
state quantum systems called qubits. In quantum computing
qubit represents the elementary unit of information
corresponding to the classical bit values 0 and 1. Any unitary
operation is reversible in nature and hence quantum computers
must be built from reversible logical components.
An important constraint present on the design of a reversible
logic circuit using reversible logic gate is that fan-out is not
allowed. A reversible circuit should be designed using
minimum number of reversible gates. One key requirement to
achieve optimization is that the designed circuit must produce
minimum number of garbage outputs; also they must use
minimum number of constant inputs[2].
2. BASIC REVERSIBLE GATES
If mapping in each input pattern to a unique output pattern is
taken then the digital combinational logic circuit is reversible.
There are many types of reversible gates including: Feynman,
Toffoli, Fredkin, Peres, TR, BJN and BVF etc. These gates are
defined as follows-
A. Feynman Gate (CNOT gate)
This gate is widely used for fan-out purposes. This Gate is
2*2 gate that means two to two mapping. This Feynman gate is
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
__________________________________________________________________________________________
Volume: 02 Issue: 09 | Sep-2013, Available @ http://www.ijret.org 112
also called as Controlled NOT and the input of this gate is
A&B and output are P=A, Q= A ⊕B as shown in figure. It has
Quantum cost one. The gate representation and circuit
representation of Feynman gate is shown in below-
Fig. 1 Feynman Gate [5]
B. Double Feynman Gate (F2G)
This gate is also used in fan-out purposes. Double Feynman is a
3*3 gate in which three input vector is I (A, B, C) and the three
output vector is O (P, Q, R) and the outputs are defined by P =
A, Q=A⨁B, R=A⨁C. The Quantum cost of double Feynman
gate is 2.
The gate representation and circuit representation of double
Feynman gate is shown in below-
Fig.2 double feynman Gate
C. Toffoli Gate
The Toffoli gate is one of the most popular reversible gates and
has quantum cost of 5.Toffoli gate is a 3*3 gate in which three
input vector is I (A, B, C) and the three output vector is O (P,
Q, R) and output is P=A, Q=B, R=AB⨁C.
The circuit representation and gate representation of Toffoli
gate is shown in fig.
Fig.3 Toffoli Gate[3]
D. Fredkin Gate
Fredkin gate is a conservative reversible gate which have
quantum cost 5. Fredkin gate is a 3*3 gate in which three input
vector is I (A, B, C) and the three output vector is O (P, Q, R).
The output is defined by P=A, Q=A′B ⨁AC and R=A′C⨁ AB.
The circuit representation and gate representation of Fredkin
gate is shown in fig.
Fig.4 Fredkin Gate [4]
E. Peres Gate
In the existing literature, among the 3*3 reversible gate, Peres
gate has the minimum quantum cost and its quantum cost is 4.
The input vector is I (A, B, C) and the output vector is O (P, Q,
R). The output is defined by P = A, Q = A⨁B and R=AB⨁ C.
The circuit representation and gate representation of Peres gate
is shown in fig.
Fig. 5 Peres Gate [6]
F. TR Gate
TR gate is another important gate which has a low quantum
cost. .TR GATE is a 3*3 gate in which three input vector is I
(A, B, C) and the three output vector is O (P, Q, R) and output
is P=A, Q=A⨁B, R = AB‟⨁C. The Quantum cost of TR gate is
4.
The circuit representation and gate representation of TR gate is
shown in fig.
Fig. 6 TR Gate
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
__________________________________________________________________________________________
Volume: 02 Issue: 09 | Sep-2013, Available @ http://www.ijret.org 113
G. BJN Gate
BJN gate is a 3*3 gate with inputs (A, B, C) and outputs P=A,
Q=B, R =(A+B) ⨁C. Its quantum realization is shown in
figure. It has quantum cost of 5.
The circuit representation and gate representation of BJN gate
is shown in fig.
Fig. 7 BJN Gate
H. BVF Gate
BVF gate is a 4*4 gate in which four input vector is I (A, B, C,
D) and the four output vector is O (P, Q, R, S) and output is
P=A, Q=A⨁B, R=C, S=C⨁D.The Quantum cost of BVF gate
is 2.
The gate representation of BVF gate is shown in fig.
BVF
GATE
A
C
D
B
P=A
Q= A⊕B
R= C
S= C⊕D
Fig.8 BVF Gate
3. DESIGN OF ONE - BIT COMPARATOR
3.1 Irreversible One-bit Comparator Implementation
For the Implementation of One-bit Irreversible Comparator, we
require NOT gates, NAND gate, and XOR gate and these gate
is shown in Fig.
From these irreversible gates, we can get the following logic
expressions
In the proposed one-bit comparator design, we have considered
FA>B and FA=B and the third condition FA<B is generated
from the first two outputs. Hence the design expression leads to
4. ONE-BIT REVERSIBLE COMPARATOR
DESIGN
A. Conventional reversible logic
1. One- bit comparator using Peres and BJN gate
Reversible one bit comparator is implemented with Feynman
gate and Peres gate and BJN gate as shown in fig. The number
of garbage outputs is two and represented as G1 and G2, it uses
three constant inputs one logic „0‟ and two logic „1‟ and its
quantum cost is 10.
2
Fig. 9 one bit comparator using Peres gate
a. Proposed Reversible Logic
1. One- bit comparator using Peres and BVF gate
Reversible one bit comparator is implemented with DFG gate
and Peres gate and BVF gate as shown in fig. The numbers of
garbage outputs are two and represented as G1 and G2, it uses
two constant inputs one logic „0‟ and two logic „1‟ and its
quantum cost is 8.
DFG PG
BVF
B
A
1 0
G1
G2
A B
A’B
AB’
Fig.10 Proposed one bit comparator using Peres gate
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
__________________________________________________________________________________________
Volume: 02 Issue: 09 | Sep-2013, Available @ http://www.ijret.org 114
B. Conventional reversible logic
1. One bit comparator using Toffoli and BJN gate
Reversible one bit comparator is implemented with Feynman
gate and Toffoli gate as shown in fig. The number of garbage
outputs are two and represented as G1 and G2, it uses three
constant inputs, one logic „0‟ and two logic „1‟ it requires one
Feynman gate and two Toffoli gates and its quantum cost is 16.
Fig.11 one bit comparator using Toffoli gate
b. Proposed Reversible Logic
1. One bit comparator using Toffoli and BVF gate
Reversible one bit comparator is implemented with DFG gate
and Toffoli gate and BVF gate as shown in fig. The number of
garbage outputs are two and represented as G1 and G2, it uses
two constant inputs, one logic „0‟ and two logic „1‟ and its
quantum cost is 9.
DFG TG BVF
B
A
1 0
G2G1
A B
AB’
A’B
Fig .12 Proposed one bit comparator using Toffoli gate
C. Conventional reversible logic
1. One bit comparator using Fredkin and BJN gate
Reversible one bit comparator is implemented with Feynman
gate and Fredkin gate and BJN gate is as shown in fig. The
number of garbage outputs are six and represented with G1 to
G6, it uses seven constant inputs, four logic „0‟ and three logic
„1‟ and its quantum cost is 23.
Fig. 13 one bit comparator using Fredkin gate
c. Proposed Reversible Logic
1. One bit comparator using Fredkin and BVF gate
Reversible one bit comparator is implemented with BVF gate
and Fredkin gate and BVF gate is as shown in fig. The number
of garbage outputs is three and represented with G1 to G3, it
uses two constant inputs, logic „0‟ and logic „1‟ and its
quantum cost is 9.
DFG FG
BVF
A
B
1 0
G1
G2
G3
A B
A’B
AB’
Fig. 14 Proposed one bit comparator using Fredkin gate
D. Conventional reversible logic
1. one bit comparator using TR and BJN gate
Reversible one bit comparator is implemented with Feynman
gate and TR gate and BJN gate as shown in fig. The number of
garbage outputs are two and represented with G1 and G2, it
uses three constant inputs, one logic „0‟ and two logic „1‟ and
its quantum cost is 12.
Fig.15 one bit comparator using TR gate
d. Proposed Reversible Logic
1. one bit comparator using TR and BVF gate
Reversible one bit comparator is implemented with Feynman
gate and TR gate and BVF gate as shown in fig. The number of
garbage outputs are one and represented as G1, it uses two
constant inputs, logic „0‟ and logic „1‟ and its quantum cost is
7.
FG TR
BVF
B
1 0
A G1
A B
AB’
A’B
Fig. 16 Proposed one bit comparator using TR gate
5. COMPARISON AND DISCUSSION
The comparison between the conventional one bit comparator
and proposed one bit comparator can be done with the help of
following parameters-
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
__________________________________________________________________________________________
Volume: 02 Issue: 09 | Sep-2013, Available @ http://www.ijret.org 115
A. Garbage Outputs:
This refers to the number of outputs which are not used in the
synthesis of a given function. These are very essential without
which reversibility cannot be achieved.
B. Gate count:
The number of reversible gates used to realize the function.
C. Constant Inputs:
This refers to the constant inputs „0‟ or „1‟.
So that the comparison between the conventional comparator
and proposed comparator can be understand with the following
table and charts in the terms of garbage output, gate count,
constant input and quantum cost parameters and these
parameters has defined in above.
Conventional One-Bit Comparator table comparison
one bit
comparator
design
using
existing
gates with
new BJN
gate
Rever
sible
gates
Garbage
outputs
Constant
inputs
Quantum
Cost
Peres and
BJN
Gate
3 2 3 10
Toffoli and
BJN Gate
4 2 3 16
Fredkin and
BJN Gate
5 6 7 23
TR and
BJN Gate
3 2 3 12
Proposed One-Bit Comparator table comparison
one bit
comparator
design using
existing
gates with
new BVF
gate
Rever
sible
Gates
Garbage
outputs
Constant
inputs
Qua
ntum
cost
Peres and
BVF
Gate
3 2 2 8
Toffoli and
BVF Gate
3 2 2 9
Fredkin and
BVF Gate
3 3 2 9
TR and BVF
Gate
3 1 2 7
Conventional One-Bit Comparator chart comparison
Chart 1.CONVENTOINAL Comparison Results
Proposed One-Bit Comparator chart comparison
Chart 2 PROPOSED Comparison Results
CONCLUSIONS
The idea of this paper is an innovated reversible comparator
which is implemented with the Reversible BVN gate. The
design is very useful for the future computing techniques like
ultra low power digital circuits and quantum computers.
0
5
10
15
20
25
no. of
reversible gate
no. of garbage
output
no. of constant
input
quantum cost
0
1
2
3
4
5
6
7
8
9
no. of
reversible gate
no. of garbage
output
no. of constant
input
quantum cost
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
__________________________________________________________________________________________
Volume: 02 Issue: 09 | Sep-2013, Available @ http://www.ijret.org 116
In this paper we have tried to attain highly optimized One-bit
comparator by using some of the basic reversible gates. The
analysis of various implementations discussed are tabulated in
Table and in chart.It gives the comparisons of the different
designs in terms of the important design parameters like
number of reversible gates, number of garbage outputs and
number of constant inputs and quantum cost.
REFERENCES
[1] R. Landauer, “Irreversibility and Heat Generation in the
Computational Process”, IBM Journal of Research and
Development, 5, pp. 183-191, 1961.
[2] C. H. Bennett, “Logical and Reversibility of
Computation”, IBM Journal of Research and
Development, pp. 525-532, November 1973.
[3] T. Toffoli, “Reversible Computing”, Tech Memo
MIT/LCS/TM-151, MIT Lab for Computer Science,
1980.
[4] E. Fredkin and T. Toffoli, “Conservative Logic”,
International Journal of Theoretical Physics, Volume 21,
pp. 219-253, 1982.
[5] R. Feynman, “Quantum Mechanical Computers”, Optics
News, Volume 11, pp. 11-20, 1985.
[6] Peres, “Reversible Logic and Quantum Computers”,
Physical Review A, 32:3266-3276, 2002.

More Related Content

What's hot (16)

PDF
IRJET- Design and Implementation of Combinational Circuits using Reversible G...
IRJET Journal
 
PDF
A low power adder using reversible logic gates
eSAT Publishing House
 
PDF
Delay Optimization of Low Power Reversible Gate using MOS Transistor Level de...
IJERA Editor
 
PDF
An Extensive Literature Review on Reversible Arithmetic and Logical Unit
IRJET Journal
 
PPTX
Presentation energy efficient code converters using reversible logic gates
Adityakumar2208
 
PDF
Paper id 27201430
IJRAT
 
PDF
Low Power Implementation of Booth’s Multiplier using Reversible Gates
IJMTST Journal
 
PPTX
Reversible logic gate
Debraj Maji
 
PDF
Design of 4:16 decoder using reversible logic gates
IJERA Editor
 
PPT
Ieee project reversible logic gates by_amit
Amith Bhonsle
 
PDF
Power Optimization using Reversible Gates for Booth’s Multiplier
IJMTST Journal
 
PDF
Design of Digital Adder Using Reversible Logic
IJERA Editor
 
PDF
OPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATES
VLSICS Design
 
PDF
Power and Delay Analysis of Logic Circuits Using Reversible Gates
RSIS International
 
PPT
Design and minimization of reversible programmable logic arrays and its reali...
Sajib Mitra
 
PDF
Review On 2:4 Decoder By Reversible Logic Gates For Low Power Consumption
IRJET Journal
 
IRJET- Design and Implementation of Combinational Circuits using Reversible G...
IRJET Journal
 
A low power adder using reversible logic gates
eSAT Publishing House
 
Delay Optimization of Low Power Reversible Gate using MOS Transistor Level de...
IJERA Editor
 
An Extensive Literature Review on Reversible Arithmetic and Logical Unit
IRJET Journal
 
Presentation energy efficient code converters using reversible logic gates
Adityakumar2208
 
Paper id 27201430
IJRAT
 
Low Power Implementation of Booth’s Multiplier using Reversible Gates
IJMTST Journal
 
Reversible logic gate
Debraj Maji
 
Design of 4:16 decoder using reversible logic gates
IJERA Editor
 
Ieee project reversible logic gates by_amit
Amith Bhonsle
 
Power Optimization using Reversible Gates for Booth’s Multiplier
IJMTST Journal
 
Design of Digital Adder Using Reversible Logic
IJERA Editor
 
OPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATES
VLSICS Design
 
Power and Delay Analysis of Logic Circuits Using Reversible Gates
RSIS International
 
Design and minimization of reversible programmable logic arrays and its reali...
Sajib Mitra
 
Review On 2:4 Decoder By Reversible Logic Gates For Low Power Consumption
IRJET Journal
 

Similar to Optimized study of one bit comparator using reversible logic gates (20)

PDF
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
DrKavitaKhare
 
PDF
Design of Reversible Sequential Circuit Using Reversible Logic Synthesis
VLSICS Design
 
PDF
Design of Reversible Sequential Circuit Using Reversible Logic Synthesis
VLSICS Design
 
PDF
IRJET- Design and Implementation of Combinational Circuits using Reversib...
IRJET Journal
 
PDF
Low cost reversible signed comparator
VLSICS Design
 
PDF
Reversible code converter
Rakesh kumar jha
 
PDF
Low Power Reversible Parallel Binary Adder/Subtractor
VLSICS Design
 
PDF
Low Power Reversible Parallel Binary Adder/Subtractor
VLSICS Design
 
PDF
Low Power Reversible Parallel Binary Adder/Subtractor
VLSICS Design
 
PDF
A low power adder using reversible logic gates
eSAT Journals
 
PDF
S4102152159
IJERA Editor
 
PDF
C046051216
IJERA Editor
 
PDF
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
VIT-AP University
 
PDF
Performance Analysis of Reversible 16 Bit ALU based on Novel Programmable Rev...
IRJET Journal
 
PDF
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
VLSICS Design
 
PDF
An Area Efficient and High Speed Reversible Multiplier Using NS Gate
IJERA Editor
 
PDF
Bk044382388
IJERA Editor
 
PDF
DESIGN OF PARITY PRESERVING LOGIC BASED FAULT TOLERANT REVERSIBLE ARITHMETIC ...
VLSICS Design
 
PDF
Integration of Irreversible Gates in Reversible Circuits Using NCT Library
IOSR Journals
 
PDF
Efficient Design of Reversible Multiplexers with Low Quantum Cost
IJERA Editor
 
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
DrKavitaKhare
 
Design of Reversible Sequential Circuit Using Reversible Logic Synthesis
VLSICS Design
 
Design of Reversible Sequential Circuit Using Reversible Logic Synthesis
VLSICS Design
 
IRJET- Design and Implementation of Combinational Circuits using Reversib...
IRJET Journal
 
Low cost reversible signed comparator
VLSICS Design
 
Reversible code converter
Rakesh kumar jha
 
Low Power Reversible Parallel Binary Adder/Subtractor
VLSICS Design
 
Low Power Reversible Parallel Binary Adder/Subtractor
VLSICS Design
 
Low Power Reversible Parallel Binary Adder/Subtractor
VLSICS Design
 
A low power adder using reversible logic gates
eSAT Journals
 
S4102152159
IJERA Editor
 
C046051216
IJERA Editor
 
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
VIT-AP University
 
Performance Analysis of Reversible 16 Bit ALU based on Novel Programmable Rev...
IRJET Journal
 
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
VLSICS Design
 
An Area Efficient and High Speed Reversible Multiplier Using NS Gate
IJERA Editor
 
Bk044382388
IJERA Editor
 
DESIGN OF PARITY PRESERVING LOGIC BASED FAULT TOLERANT REVERSIBLE ARITHMETIC ...
VLSICS Design
 
Integration of Irreversible Gates in Reversible Circuits Using NCT Library
IOSR Journals
 
Efficient Design of Reversible Multiplexers with Low Quantum Cost
IJERA Editor
 
Ad

More from eSAT Journals (20)

PDF
Mechanical properties of hybrid fiber reinforced concrete for pavements
eSAT Journals
 
PDF
Material management in construction – a case study
eSAT Journals
 
PDF
Managing drought short term strategies in semi arid regions a case study
eSAT Journals
 
PDF
Life cycle cost analysis of overlay for an urban road in bangalore
eSAT Journals
 
PDF
Laboratory studies of dense bituminous mixes ii with reclaimed asphalt materials
eSAT Journals
 
PDF
Laboratory investigation of expansive soil stabilized with natural inorganic ...
eSAT Journals
 
PDF
Influence of reinforcement on the behavior of hollow concrete block masonry p...
eSAT Journals
 
PDF
Influence of compaction energy on soil stabilized with chemical stabilizer
eSAT Journals
 
PDF
Geographical information system (gis) for water resources management
eSAT Journals
 
PDF
Forest type mapping of bidar forest division, karnataka using geoinformatics ...
eSAT Journals
 
PDF
Factors influencing compressive strength of geopolymer concrete
eSAT Journals
 
PDF
Experimental investigation on circular hollow steel columns in filled with li...
eSAT Journals
 
PDF
Experimental behavior of circular hsscfrc filled steel tubular columns under ...
eSAT Journals
 
PDF
Evaluation of punching shear in flat slabs
eSAT Journals
 
PDF
Evaluation of performance of intake tower dam for recent earthquake in india
eSAT Journals
 
PDF
Evaluation of operational efficiency of urban road network using travel time ...
eSAT Journals
 
PDF
Estimation of surface runoff in nallur amanikere watershed using scs cn method
eSAT Journals
 
PDF
Estimation of morphometric parameters and runoff using rs &amp; gis techniques
eSAT Journals
 
PDF
Effect of variation of plastic hinge length on the results of non linear anal...
eSAT Journals
 
PDF
Effect of use of recycled materials on indirect tensile strength of asphalt c...
eSAT Journals
 
Mechanical properties of hybrid fiber reinforced concrete for pavements
eSAT Journals
 
Material management in construction – a case study
eSAT Journals
 
Managing drought short term strategies in semi arid regions a case study
eSAT Journals
 
Life cycle cost analysis of overlay for an urban road in bangalore
eSAT Journals
 
Laboratory studies of dense bituminous mixes ii with reclaimed asphalt materials
eSAT Journals
 
Laboratory investigation of expansive soil stabilized with natural inorganic ...
eSAT Journals
 
Influence of reinforcement on the behavior of hollow concrete block masonry p...
eSAT Journals
 
Influence of compaction energy on soil stabilized with chemical stabilizer
eSAT Journals
 
Geographical information system (gis) for water resources management
eSAT Journals
 
Forest type mapping of bidar forest division, karnataka using geoinformatics ...
eSAT Journals
 
Factors influencing compressive strength of geopolymer concrete
eSAT Journals
 
Experimental investigation on circular hollow steel columns in filled with li...
eSAT Journals
 
Experimental behavior of circular hsscfrc filled steel tubular columns under ...
eSAT Journals
 
Evaluation of punching shear in flat slabs
eSAT Journals
 
Evaluation of performance of intake tower dam for recent earthquake in india
eSAT Journals
 
Evaluation of operational efficiency of urban road network using travel time ...
eSAT Journals
 
Estimation of surface runoff in nallur amanikere watershed using scs cn method
eSAT Journals
 
Estimation of morphometric parameters and runoff using rs &amp; gis techniques
eSAT Journals
 
Effect of variation of plastic hinge length on the results of non linear anal...
eSAT Journals
 
Effect of use of recycled materials on indirect tensile strength of asphalt c...
eSAT Journals
 
Ad

Recently uploaded (20)

PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
PPTX
Presentation on Foundation Design for Civil Engineers.pptx
KamalKhan563106
 
PPTX
ISO/IEC JTC 1/WG 9 (MAR) Convenor Report
Kurata Takeshi
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PDF
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
PPTX
REINFORCEMENT AS CONSTRUCTION MATERIALS.pptx
mohaiminulhaquesami
 
PPTX
EC3551-Transmission lines Demo class .pptx
Mahalakshmiprasannag
 
PDF
UNIT-4-FEEDBACK AMPLIFIERS AND OSCILLATORS (1).pdf
Sridhar191373
 
PDF
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
PPTX
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
PPTX
NEUROMOROPHIC nu iajwojeieheueueueu.pptx
knkoodalingam39
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PDF
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
PPTX
Thermal runway and thermal stability.pptx
godow93766
 
PPTX
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
PPTX
site survey architecture student B.arch.
sri02032006
 
PPTX
Structural Functiona theory this important for the theorist
cagumaydanny26
 
PPT
Oxygen Co2 Transport in the Lungs(Exchange og gases)
SUNDERLINSHIBUD
 
PDF
Additional Information in midterm CPE024 (1).pdf
abolisojoy
 
PPTX
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
Presentation on Foundation Design for Civil Engineers.pptx
KamalKhan563106
 
ISO/IEC JTC 1/WG 9 (MAR) Convenor Report
Kurata Takeshi
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
REINFORCEMENT AS CONSTRUCTION MATERIALS.pptx
mohaiminulhaquesami
 
EC3551-Transmission lines Demo class .pptx
Mahalakshmiprasannag
 
UNIT-4-FEEDBACK AMPLIFIERS AND OSCILLATORS (1).pdf
Sridhar191373
 
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
NEUROMOROPHIC nu iajwojeieheueueueu.pptx
knkoodalingam39
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
Thermal runway and thermal stability.pptx
godow93766
 
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
site survey architecture student B.arch.
sri02032006
 
Structural Functiona theory this important for the theorist
cagumaydanny26
 
Oxygen Co2 Transport in the Lungs(Exchange og gases)
SUNDERLINSHIBUD
 
Additional Information in midterm CPE024 (1).pdf
abolisojoy
 
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 

Optimized study of one bit comparator using reversible logic gates

  • 1. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 __________________________________________________________________________________________ Volume: 02 Issue: 09 | Sep-2013, Available @ http://www.ijret.org 111 OPTIMIZED STUDY OF ONE-BIT COMPARATOR USING REVERSIBLE LOGIC GATES Pratik Kumar Bhatt1 , Arti Saxena2 1 Student of IIIrd year B.Tech, 2 Asst. Professor, Department of Electronics and Communication Engineering, PSIT College of Engineering, Bhauti Kanpur [email protected], [email protected] Abstract In digital electronics, the power dissipation is the major problem. So that the reversible gate can be implemented in microelectronics and electronics which have low power dissipation in the digital designing because, in the reversible state in reversible logic it will use no energy. Hence reversible logic has ability to reduce the power dissipation in digital designing. In the Reversible logic, reversibility have a special condition which is reversible computing and reversible computing is based on the principle of BIJECTION DEVICE with a same no. of input and output which means one to one mapping. Reversible logic has numerous applications in the field of electronics and microelectronics which are ultra low power in nanoscale computing, quantum computing, emerging nanotechnology cellular automata and the other approach of reversible logic is ballistic computation, mechanical computation which are the basic technology. This paper presents an optimization of reversible comparator using the existing reversible gates and proposed new Reversible one bit comparator using BVF gate. A comparative result is presented in terms of number of gates, number of garbage outputs, number of constant inputs and Quantum cost. Keywords— advanced computing, Reversible logic circuits, reversible logic gates and comparator. -----------------------------------------------------------------------***----------------------------------------------------------------------- 1. INTRODUCTION This reversible circuits (gates) that have one to-one mapping between vectors of inputs and outputs; thus the vector of input states can be always reconstructed from the vector of output states. Rolf Landauer, 1961. Whenever we use a logically irreversible gate we dissipate energy into the environment. The loss of information is associated with laws of physics requiring that one bit of information lost dissipates k T ln 2 of energy, where k is Boltzmann‟ constant and T is the temperature of the system. Interest in reversible computation arises from the desire to reduce heat dissipation, thereby allowing [1]: I. higher densities II. higher speed Later Bennett, in 1973, showed that these KTln2 joules of Energy dissipation in a circuit can be avoided if it is constructed using reversible logic circuits. A reversible logic gate is an n-input, n-output logic device with one-to-one mapping. This helps to determine the outputs from the inputs but also the inputs can be uniquely recovered from the outputs. Specifically, the fundamentals of reversible computing are based on the relationship between entropy, heat transfer between molecules in a system, the probability of a quantum particle occupying a particular state at any given time, and the quantum electrodynamics between electrons when they are in close proximity. One of the emerging applications of reversible logic is in quantum computers [3, 4]. A quantum computer consists of quantum logic gates. The quantum logic gates perform elementary unitary operation on one, two or more two– state quantum systems called qubits. In quantum computing qubit represents the elementary unit of information corresponding to the classical bit values 0 and 1. Any unitary operation is reversible in nature and hence quantum computers must be built from reversible logical components. An important constraint present on the design of a reversible logic circuit using reversible logic gate is that fan-out is not allowed. A reversible circuit should be designed using minimum number of reversible gates. One key requirement to achieve optimization is that the designed circuit must produce minimum number of garbage outputs; also they must use minimum number of constant inputs[2]. 2. BASIC REVERSIBLE GATES If mapping in each input pattern to a unique output pattern is taken then the digital combinational logic circuit is reversible. There are many types of reversible gates including: Feynman, Toffoli, Fredkin, Peres, TR, BJN and BVF etc. These gates are defined as follows- A. Feynman Gate (CNOT gate) This gate is widely used for fan-out purposes. This Gate is 2*2 gate that means two to two mapping. This Feynman gate is
  • 2. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 __________________________________________________________________________________________ Volume: 02 Issue: 09 | Sep-2013, Available @ http://www.ijret.org 112 also called as Controlled NOT and the input of this gate is A&B and output are P=A, Q= A ⊕B as shown in figure. It has Quantum cost one. The gate representation and circuit representation of Feynman gate is shown in below- Fig. 1 Feynman Gate [5] B. Double Feynman Gate (F2G) This gate is also used in fan-out purposes. Double Feynman is a 3*3 gate in which three input vector is I (A, B, C) and the three output vector is O (P, Q, R) and the outputs are defined by P = A, Q=A⨁B, R=A⨁C. The Quantum cost of double Feynman gate is 2. The gate representation and circuit representation of double Feynman gate is shown in below- Fig.2 double feynman Gate C. Toffoli Gate The Toffoli gate is one of the most popular reversible gates and has quantum cost of 5.Toffoli gate is a 3*3 gate in which three input vector is I (A, B, C) and the three output vector is O (P, Q, R) and output is P=A, Q=B, R=AB⨁C. The circuit representation and gate representation of Toffoli gate is shown in fig. Fig.3 Toffoli Gate[3] D. Fredkin Gate Fredkin gate is a conservative reversible gate which have quantum cost 5. Fredkin gate is a 3*3 gate in which three input vector is I (A, B, C) and the three output vector is O (P, Q, R). The output is defined by P=A, Q=A′B ⨁AC and R=A′C⨁ AB. The circuit representation and gate representation of Fredkin gate is shown in fig. Fig.4 Fredkin Gate [4] E. Peres Gate In the existing literature, among the 3*3 reversible gate, Peres gate has the minimum quantum cost and its quantum cost is 4. The input vector is I (A, B, C) and the output vector is O (P, Q, R). The output is defined by P = A, Q = A⨁B and R=AB⨁ C. The circuit representation and gate representation of Peres gate is shown in fig. Fig. 5 Peres Gate [6] F. TR Gate TR gate is another important gate which has a low quantum cost. .TR GATE is a 3*3 gate in which three input vector is I (A, B, C) and the three output vector is O (P, Q, R) and output is P=A, Q=A⨁B, R = AB‟⨁C. The Quantum cost of TR gate is 4. The circuit representation and gate representation of TR gate is shown in fig. Fig. 6 TR Gate
  • 3. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 __________________________________________________________________________________________ Volume: 02 Issue: 09 | Sep-2013, Available @ http://www.ijret.org 113 G. BJN Gate BJN gate is a 3*3 gate with inputs (A, B, C) and outputs P=A, Q=B, R =(A+B) ⨁C. Its quantum realization is shown in figure. It has quantum cost of 5. The circuit representation and gate representation of BJN gate is shown in fig. Fig. 7 BJN Gate H. BVF Gate BVF gate is a 4*4 gate in which four input vector is I (A, B, C, D) and the four output vector is O (P, Q, R, S) and output is P=A, Q=A⨁B, R=C, S=C⨁D.The Quantum cost of BVF gate is 2. The gate representation of BVF gate is shown in fig. BVF GATE A C D B P=A Q= A⊕B R= C S= C⊕D Fig.8 BVF Gate 3. DESIGN OF ONE - BIT COMPARATOR 3.1 Irreversible One-bit Comparator Implementation For the Implementation of One-bit Irreversible Comparator, we require NOT gates, NAND gate, and XOR gate and these gate is shown in Fig. From these irreversible gates, we can get the following logic expressions In the proposed one-bit comparator design, we have considered FA>B and FA=B and the third condition FA<B is generated from the first two outputs. Hence the design expression leads to 4. ONE-BIT REVERSIBLE COMPARATOR DESIGN A. Conventional reversible logic 1. One- bit comparator using Peres and BJN gate Reversible one bit comparator is implemented with Feynman gate and Peres gate and BJN gate as shown in fig. The number of garbage outputs is two and represented as G1 and G2, it uses three constant inputs one logic „0‟ and two logic „1‟ and its quantum cost is 10. 2 Fig. 9 one bit comparator using Peres gate a. Proposed Reversible Logic 1. One- bit comparator using Peres and BVF gate Reversible one bit comparator is implemented with DFG gate and Peres gate and BVF gate as shown in fig. The numbers of garbage outputs are two and represented as G1 and G2, it uses two constant inputs one logic „0‟ and two logic „1‟ and its quantum cost is 8. DFG PG BVF B A 1 0 G1 G2 A B A’B AB’ Fig.10 Proposed one bit comparator using Peres gate
  • 4. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 __________________________________________________________________________________________ Volume: 02 Issue: 09 | Sep-2013, Available @ http://www.ijret.org 114 B. Conventional reversible logic 1. One bit comparator using Toffoli and BJN gate Reversible one bit comparator is implemented with Feynman gate and Toffoli gate as shown in fig. The number of garbage outputs are two and represented as G1 and G2, it uses three constant inputs, one logic „0‟ and two logic „1‟ it requires one Feynman gate and two Toffoli gates and its quantum cost is 16. Fig.11 one bit comparator using Toffoli gate b. Proposed Reversible Logic 1. One bit comparator using Toffoli and BVF gate Reversible one bit comparator is implemented with DFG gate and Toffoli gate and BVF gate as shown in fig. The number of garbage outputs are two and represented as G1 and G2, it uses two constant inputs, one logic „0‟ and two logic „1‟ and its quantum cost is 9. DFG TG BVF B A 1 0 G2G1 A B AB’ A’B Fig .12 Proposed one bit comparator using Toffoli gate C. Conventional reversible logic 1. One bit comparator using Fredkin and BJN gate Reversible one bit comparator is implemented with Feynman gate and Fredkin gate and BJN gate is as shown in fig. The number of garbage outputs are six and represented with G1 to G6, it uses seven constant inputs, four logic „0‟ and three logic „1‟ and its quantum cost is 23. Fig. 13 one bit comparator using Fredkin gate c. Proposed Reversible Logic 1. One bit comparator using Fredkin and BVF gate Reversible one bit comparator is implemented with BVF gate and Fredkin gate and BVF gate is as shown in fig. The number of garbage outputs is three and represented with G1 to G3, it uses two constant inputs, logic „0‟ and logic „1‟ and its quantum cost is 9. DFG FG BVF A B 1 0 G1 G2 G3 A B A’B AB’ Fig. 14 Proposed one bit comparator using Fredkin gate D. Conventional reversible logic 1. one bit comparator using TR and BJN gate Reversible one bit comparator is implemented with Feynman gate and TR gate and BJN gate as shown in fig. The number of garbage outputs are two and represented with G1 and G2, it uses three constant inputs, one logic „0‟ and two logic „1‟ and its quantum cost is 12. Fig.15 one bit comparator using TR gate d. Proposed Reversible Logic 1. one bit comparator using TR and BVF gate Reversible one bit comparator is implemented with Feynman gate and TR gate and BVF gate as shown in fig. The number of garbage outputs are one and represented as G1, it uses two constant inputs, logic „0‟ and logic „1‟ and its quantum cost is 7. FG TR BVF B 1 0 A G1 A B AB’ A’B Fig. 16 Proposed one bit comparator using TR gate 5. COMPARISON AND DISCUSSION The comparison between the conventional one bit comparator and proposed one bit comparator can be done with the help of following parameters-
  • 5. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 __________________________________________________________________________________________ Volume: 02 Issue: 09 | Sep-2013, Available @ http://www.ijret.org 115 A. Garbage Outputs: This refers to the number of outputs which are not used in the synthesis of a given function. These are very essential without which reversibility cannot be achieved. B. Gate count: The number of reversible gates used to realize the function. C. Constant Inputs: This refers to the constant inputs „0‟ or „1‟. So that the comparison between the conventional comparator and proposed comparator can be understand with the following table and charts in the terms of garbage output, gate count, constant input and quantum cost parameters and these parameters has defined in above. Conventional One-Bit Comparator table comparison one bit comparator design using existing gates with new BJN gate Rever sible gates Garbage outputs Constant inputs Quantum Cost Peres and BJN Gate 3 2 3 10 Toffoli and BJN Gate 4 2 3 16 Fredkin and BJN Gate 5 6 7 23 TR and BJN Gate 3 2 3 12 Proposed One-Bit Comparator table comparison one bit comparator design using existing gates with new BVF gate Rever sible Gates Garbage outputs Constant inputs Qua ntum cost Peres and BVF Gate 3 2 2 8 Toffoli and BVF Gate 3 2 2 9 Fredkin and BVF Gate 3 3 2 9 TR and BVF Gate 3 1 2 7 Conventional One-Bit Comparator chart comparison Chart 1.CONVENTOINAL Comparison Results Proposed One-Bit Comparator chart comparison Chart 2 PROPOSED Comparison Results CONCLUSIONS The idea of this paper is an innovated reversible comparator which is implemented with the Reversible BVN gate. The design is very useful for the future computing techniques like ultra low power digital circuits and quantum computers. 0 5 10 15 20 25 no. of reversible gate no. of garbage output no. of constant input quantum cost 0 1 2 3 4 5 6 7 8 9 no. of reversible gate no. of garbage output no. of constant input quantum cost
  • 6. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 __________________________________________________________________________________________ Volume: 02 Issue: 09 | Sep-2013, Available @ http://www.ijret.org 116 In this paper we have tried to attain highly optimized One-bit comparator by using some of the basic reversible gates. The analysis of various implementations discussed are tabulated in Table and in chart.It gives the comparisons of the different designs in terms of the important design parameters like number of reversible gates, number of garbage outputs and number of constant inputs and quantum cost. REFERENCES [1] R. Landauer, “Irreversibility and Heat Generation in the Computational Process”, IBM Journal of Research and Development, 5, pp. 183-191, 1961. [2] C. H. Bennett, “Logical and Reversibility of Computation”, IBM Journal of Research and Development, pp. 525-532, November 1973. [3] T. Toffoli, “Reversible Computing”, Tech Memo MIT/LCS/TM-151, MIT Lab for Computer Science, 1980. [4] E. Fredkin and T. Toffoli, “Conservative Logic”, International Journal of Theoretical Physics, Volume 21, pp. 219-253, 1982. [5] R. Feynman, “Quantum Mechanical Computers”, Optics News, Volume 11, pp. 11-20, 1985. [6] Peres, “Reversible Logic and Quantum Computers”, Physical Review A, 32:3266-3276, 2002.