Professional Documents
Culture Documents
Gates*
Varun Pratap Singh Manish Rai
Department of Electronics & Communication Engineering Department of Electronics & Communication Engineering
PremPrakash Gupta Institute of Engineering MJP Rohilkhand University
Bareilly, India Bareilly, India
varun1select@hotmail.com manishrai1968@gmail.com
Abstract— In modern nanotechnology and quantum The key point of reversible computing is that the electric
computation, reversible logic plays a pivotal role as it has charge at output of any device should remain available for
minimal impact on physical entropy. Reversible logic gates have further calculations. It means transistor should not follow the
same number of input and output hence power loss due to bit process of flow of charge when the transistor is switched
erase operation can be avoided. There are many reversible logic between on/off positions [4]. In this way output can be reused
structures which can perform different Arithmetic and logic
through reversible computation. When there is no information
operations as traditional or classical logic structures can do. In
this paper, two reversible logic structures are proposed which bit loss while approaching towards output from input or vice
can perform operation of addition. These logic structures namely versa, system is reversible. To perform this type of
proposed design I and Proposed design II, generate carry output computation, it is necessary to have some n × n logic devices
signal and carry propagate signal on the basis of two reversible which can substitute traditional or classical n × 1 logic
logic gates known as Fredkin gate and Feynman gate. devices.
Performance of proposed designs is evaluated in terms of
quantum cost, constant input, garbage output and delay. It is
found that proposed design II is a better choice over proposed
II. BASIC DEFINITIONS ABOUT REVERSIBLE LOGIC GATE
design I and some other existing Designs. If matter of performance is discussed, reversible logic
gates have some parameters namely quantum cost, constant
Keywords—Fredkin Gate; Feynman Gate; Quantum Cost; input and garbage output. Also, delay in circuit and number of
Reversible Adder; transistors used are important factors to consider while
designing any reversible logic structure.
I. INTRODUCTION
A. Garbage outputs
In logic circuit information is represented either by logic
level 0 or by logic level 1. These logic levels are known as bit. In order to ensure reversibility, number of outputs and
Overwrite and erase operations of these bits lead towards the inputs should be equal. Sometimes all the outputs of reversible
consumption of energy as these bits are represented by voltage gates are not used in next stage. Some of them exist to
levels. According to the Landauer [1] if energy consumption maintain equality between number of inputs and outputs.
in bit erase is considered, an n input and single output gate These outputs are known as garbage. Relation between the
provides a loss of (n-1) information bit while going through number of garbage outputs and constant inputs can be given
the classical logic gate. One bit of information has energy of below in (1).
KT ln2 where k is the Boltzmann constant and T is the
absolute temperature thus any (n×1) classical logic gate losses Input + constant input = output + garbage (1)
this much energy for every bit of information loss. C.H.
Bennett [2, 3] showed that dissipated energy is directly B. Quantum cost
correlated with number of lost bits as well as computer can be There are two primitive reversible logic gates with input-
made logically reversible with the virtue of maintaining its output relation as 1×1 or 2×2. These reversible primitive gates
simplicity and provide accurate calculation at practical speed. are NOT gate and Controlled NOT gate. Every reversible logic
AND gate can be considered as an example of energy loss in gate and hence every reversible logic circuit can be realized in
irreversible logic circuit. It follows ordinary logic and can be terms of these primitive gates. Number of primitive logic gates
said traditional or classical logic gate. Output of any AND (either 1×1 or 2×2) used in realization of any reversible logic
gate comes to be logic 0 for three combinations of input bits. It circuit is called quantum cost of that circuit. In other words,
appears logic 1 for only one combination of inputs. Thus it quantum cost of a reversible circuit is the minimum number of
erases and overwrites 0 for three different combinations which 2×2 unitary gates to represent the circuit in such a manner that,
is nothing but loss of energy. To resolve this problem, output must not be changed. Quantum cost of a 2×2 gate is 1.
reversible logic gates can be used. It provides same number of
input and output with unique input output combinations.
Y1 = X1 (2)
Y0 =X0 ⊕ X1 (3)
Parameters
Parameter
Comparison Garbage Constant
Quantum Cost
output Input
Proposed
Design I
10 2 2
Proposed
Design II
8 1 1
Fig.11. Waveform I
REFERENCES
[1] R Landauer, (1961) “Irreversibility and Heat Generation in the
Computational Process,”IBM Journal of Research and Development,
vol. 5, no. 3, pp. 183-191.
[2] C H Bennett, (1998) "Notes on the History of Reversible Computation,"
IBM Journal of Research and Development, vol. 32, pp. 16-23.
[3] C H Bennett, (1973) “Logical Reversibility of Computation,” IBM
Journal of Research and Development, vol. 17, no. 6, pp. 525-532.
[4] R. Feynman, ”quantum mechanical Computers,” foundation of physics,
Vol.16 issue 6, 1986.
[5] Mohammadi M. and Shghi M, “On figures of merit in reversible and
quantum logic designs,” Quantum Inform. Process. 8, 4, 297– 318, 2009.
[6] Himanshu Thapliyal and A P. Vinod , ”Design of Reversible Sequential
Elements With Feasibility of Transistor Implementation”, IEEE
International Symposium on Circuit & System, ISCAS 2007, pp-625-
628.
[7] K. Prudhvi Raj and Y. Syamala, 2014, “Transistor Level Implementation
Fig. 12. Waveform II Of Digital Reversible Circuits” International Journal of VLSI design &
Communication Systems (VLSICS) Vol.5, No.6.
[8] E. Fredkin, T. Toffoli, ”Conservative logic ”international journal of
Theoretical physi -cs”,vol.21,1980,pp 219-53.
[9] A. Majumder, , , P.L. Singh, B. Chowdhury, A.J. Mondalb, T.S.
Shekhawat,”Reducing Delay And Quantum Cost In The Novel
Design Of Reversible Memory Element,” Procedia Computer
Science,Volume 57, 2015, Pages 189–198, 3rd International
Conference on Recent Trends in Computing 2015 (ICRTC-2015)
[10] J.W. Bruce, M.A.Thorton, L.Shivkumaraiah, P.S.Kokate and X.Li,”
Efficient adder circuit based on a conservative Logic gate,”
Proceedings of the IEEE Computer Society Annual Symposium on
VLSI (ISVLSI.02) 0-7695-1486-3/02.
[11] Varun Pratap Singh, Shiv dayal, Manish Rai, ”Efficient carry skip
Adder design using full adder and carry skip block based on
reversible Logic,” American Journal of Engineering and
Research,Vol.12,pp 97-102, Dec. 2015.
[12] M. Khan, “Design of Full-Adder with Reversible Gates,” Proceedings
of 5th International Conference on Computer and Information
Technology, 2002, pp. 515-519.
[13] Hafiz Md. Hasan Babu, Md. Rafiqul Islam, Ahsan Raja Chowdhury,
Syed Mostahed Ali Chowdhury,” Reversible Logic Synthesis for
Minimization of Full-Adder Circuit”, IEEE conference on Digital
System Design 03 (Euro-Micro DSD’03), pp.50-54, September 2-6,
2003.
[14] Himanshu Thapliyal, M.B Srinivas, ”A New Reversible TSG Gate
and Its Application For Designing Efficient Adder Circuits”, 7th
International Symposium on Representations and Methodology of
Future Computing Technologies (RM 2005), Tokyo, Japan,
September 5-6, 2005.
[15] Unconventional Computation: 7th International Conference, UC
2008, Vienna By Christian S. Calude, Jose Felix Gomes da Costa,
Rudolf Freund.