SlideShare a Scribd company logo
Ponnuru Koteswara Rao. Int. Journal of Engineering Research and Applications www.ijera.com
ISSN: 2248-9622, Vol. 6, Issue 5, (Part - 3) May 2016, pp.17-21
www.ijera.com 17 | P a g e
Implementation of Effective Code Converters using Reversible
Logic Gates
Ponnuru Koteswara Rao#1
, P Raveendra#2
, Kankata Venkateswara Rao#3
#1,2,3
Assistant Professor, SRK Institute of Technology, Enikepadu, Vijayawada
ABSTRACT
The development in the field of nanometer technology leads to minimize the power consumption of logic
circuits. Reversible logic design has been one of the promising technologies gaining greater interest due to less
dissipation of heat and low power consumption. In the digital design, the code converters are widely used
process. So, the reversible logic gates and reversible circuits for realizing code converters like as Binary to
Gray code, Gray to Binary code, BCD to Excess 3 code, Excess 3 to BCD codes using reversible logic gates is
proposed. Designing of reversible logic circuit is challenging task, since not enough number of gates are
available for design. Reversible processor design needs its building blocks should be reversible in this view the
designing of reversible code converters became essential one. In the digital domain, data or information is
represented by a combination of 0’s and 1’s. A code is basically the pattern of these 0’s and 1’s used to
represent the data. Code converters are a class of combinational digital circuits that are used to convert one type
of code in to another. The proposed design leads to the reduction of power consumption compared with
conventional logic circuits.
Keywords: Reversible logic, efficient code converters, low power logic gates & VLSI design.
I .INTRODUCTION
Reversible computing is a model of computing where
the computational process to some extent is
reversible, i.e., time invertible. A necessary condition
for reversibility of a computational model is that the
relation of the mapping states of transition functions
to their successors should at all times be one-to-one.
Reversible computing is generally considered an
unconventional form of computing. There are two
major, closely related, types of reversibility that are of
particular interest for this purpose: physical
reversibility and logical reversibility. A process is said
to be physically reversible if it results in no increase
in physical entropy; it is isentropic.
These circuits are also referred to as charge recovery
logic or adiabatic computing. Although in practice no
stationary physical process can be exactly physically
reversible or isentropic, there is no known limit to the
closeness with which we can approach perfect
reversibility, in systems that are sufficiently well-
isolated from interactions with unknown external
environments, when the laws of physics describing
the system's evolution are precisely known. Probably
the largest motivation for the study of technologies
aimed at actually implementing reversible computing
is that they offer what is predicted to be the only
potential way to improve the energy efficiency of
computers beyond the fundamental von Neumann-
Landauer limit of kTln energy dissipated per
irreversible bit operation.
As was first argued by Rolf Landauer of IBM, in
order for a computational process to be physically
reversible, it must also be logically reversible.
Landauer's principle is the loosely formulated notion
that the erasure of n bits of information must always
incur a cost of nkln in thermodynamic entropy. A
discrete, deterministic computational process is said
to be logically reversible if the transition function that
maps old computational states to new ones is a one-
to-one function; i.e. the output logical states uniquely
defines the input logical states of the computational
operation. For computational processes that are
nondeterministic (in the sense of being probabilistic
or random), the relation between old and new states is
not a single-valued function, and the requirement
needed to obtain physical reversibility becomes a
slightly weaker condition, namely that the size of a
given ensemble of possible initial computational
states does not decrease, on average, as the
computation proceeds forwards.
The reversibility of physics and reversible computing
Landauer's principle (and indeed, the second law of
thermodynamics itself) can also be understood to be a
direct logical consequence of the underlying
reversibility of physics, as is reflected in the general
Hamiltonian formulation of mechanics and in the
unitary time-evolution operator of quantum
mechanics more specifically.
In the context of reversible physics, the phenomenon
of entropy increase (and the observed arrow of time)
can be understood to be consequences of the fact that
our evolved predictive capabilities are rather limited,
and cannot keep perfect track of the exact reversible
evolution of complex physical systems, especially
RESEARCH ARTICLE OPEN ACCESS
Ponnuru Koteswara Rao. Int. Journal of Engineering Research and Applications www.ijera.com
ISSN: 2248-9622, Vol. 6, Issue 5, (Part - 3) May 2016, pp.17-21
jerom 18 | P a g e
www.ijera.com 18 | P a g e
since these systems are never perfectly isolated from
an unknown external environment, and even the laws
of physics themselves are still not known with
complete precision. Thus, we (and physical observers
generally) always accumulate some uncertainty about
the state of physical systems, even if the system's true
underlying dynamics is a perfectly reversible one that
is subject to no entropy increase if viewed from a
hypothetical omniscient perspective in which the
dynamical laws are precisely known. The
implementation of reversible computing thus amounts
to learning how to characterize and control the
physical dynamics of mechanisms to carry out desired
computational operations so precisely that we can
accumulate a negligible total amount of uncertainty
regarding the complete physical state of the
mechanism, per each logic operation that is
performed. In other words, we would need to
precisely track the state of the active energy that is
involved in carrying out computational operations
within the machine, and design the machine in such a
way that the majority of this energy is recovered in an
organized form that can be reused f subsequent
operations, rather than being permitted to dissipate
into the form of heat. Although achieving this goal
presents a significant challenge for the design,
manufacturing, and characterization of ultra-precise
new physical mechanisms for computing there is at
present no fundamental reason to think that this goal
cannot eventually be accomplished, allowing us to
someday build computers that generate much less
than 1 bit's worth of physical entropy (and dissipate
much less than kTln 2 energy to heat) for each useful
logical operation that they carry out internally.
The motivation behind much of the research that has
been done in reversible computing was the first
seminal paper on the topic, which was published by
Charles H. Bennett of IBM research in 1973. Today,
the field has a substantial body of academic literature
behind it. A wide variety of reversible device
concepts, logic gates, electronic circuits, processor
architectures, programming languages, and
application algorithms have been designed and
analyzed by physicists, electrical engineers, and
computer scientists. This field of research awaits the
detailed development of a high-quality, cost reversible
logic device technology, one that includes highly
energy-efficient clocking and synchronization
mechanisms. This sort of solid engineering progress
will be needed before the large body of theoretical
research on reversible computing can find practical
application in enabling real computer technology to
circumvent the various near-term barriers to its energy
efficiency, including the von Neumann bound. This
may only be circumvented by the use of logically
reversible computing, due to the Second Law of
Thermodynamics.
1.1 BASIC DEFINITIONS OF REVERSIBLE
LOGIC
In this section, basic definitions and ideas related to
reversible logic are presented.
Definition 1 A Reversible gate is a k-input, k-output
circuit that produces unique output for each possible
input. Reversible gates are circuits in which the
number of input is equal to the number of output and
there is one to one correspondence between the vector
of inputs and outputs.
Definition 2 The unused output of a reversible gate is
known as Garbage output. More it known also, the
outputs, which are needed only to maintain
reversibility, are called garbage outputs.[1]
Definition 3 The simple and basis Reversible gate is
conventional NOT gate and is a 1*1 gate. The block
diagram is given in Figure1. The cost of Reversible
NOT gate is 1.
Definition 4 The 2*2 Feynman gate, also known as
Controlled NOT gate. This gate is one through
because it passes one of its inputs. Every linear
reversible function can be built by using only 2 * 2
inverters. Since this is a 2 * 2 gate, the cost is 1. The
reasons to use this gate in reversible circuits are:
(i) Make the copy of an input (by putting any of the
input a constant 0);
(ii) To invert an input bit (by putting any of the input
a constant 1).
II.PROPOSED REVERSIBLE CODE
CONVERTERS
Designing of reversible logic circuit is challenging
task, since not enough number of gates are available
for design. Reversible processor design needs its
building blocks should be reversible in this view the
designing of reversible code converters became
essential one. In the digital domain, data or
information is represented by a combination of 0’s
and 1’s. A code is basically the pattern of these 0’s
and 1’s used to represent the data. Code converters are
a class of combinational digital circuits that are used
to convert of code in to another. Some of the most
prominently used codes in digital systems are Natural
Binary Sequence, Binary Coded Decimal, Excess-3
Code, Gray Code, ASCII Code etc. Like any
combinational digital circuit, a code converter can be
implemented by using a circuitry of AND, OR and
NOT gates.
Here this paper focuses more on conversion of code
between binary to gray and BCD to excess. Binary to
Gray code converters used to reduce switching
activity by achieving single bit transition between
logical sequences.
2.1 Binary To Gray converter Using FG gate
If Input vector is I(D,C,B,A) then the output vector
O (Z,Y,X, W). The circuit is constructed with the help
of Feynman Gate (FG) gate[5], figure 2.1 & 2.2
Ponnuru Koteswara Rao. Int. Journal of Engineering Research and Applications www.ijera.com
ISSN: 2248-9622, Vol. 6, Issue 5, (Part - 3) May 2016, pp.17-21
jerom 19 | P a g e
www.ijera.com 19 | P a g e
shows the circuit diagram of reversible Binary to Gray
code converter & Gray to Binary code converters.
fig 2.1 Binary to Gray converter
2.2 Gray To Binary converter Using FG
gate
fig 2.2 Gray to Binary converter
2.3 Binary To Gray converter Using TG
gate
If Input vector is I(D,C,B,A) then the output vector O
(Z,Y,X,W). The circuit is constructed with the help of
Toffoli Gate (TG) gate[5], figure 2.3 & 2.4 shows the
circuit diagram of reversible Binary to Gray code
converter & Gray to Binary code converters.
fig 2.3 Binary to Gray converter
2.4 Gray To Binary converter Using TG gate
fig 2.4 Gray to Binary converter
2.5 Binary To Gray converter Using PG gate
If Input vector is I (D, C, B, A) then the output
vector O (Z, Y, X, W). The circuit is constructed
with the help of Peres Gate (PG) gate[5], figure
2.5 & 2.6 shows the circuit diagram of reversible
Binary to Gray code converter & Gray to Binary
code converters.
Ponnuru Koteswara Rao. Int. Journal of Engineering Research and Applications www.ijera.com
ISSN: 2248-9622, Vol. 6, Issue 5, (Part - 3) May 2016, pp.17-21
jerom 20 | P a g e
www.ijera.com 20 | P a g e
fig 2.5 Binary to Gray converter
2.6 Gray To Binary converter Using PG gate
fig 2.6 Gray to Binary converter
Excess-3 to BCD code converters are used in
arithmetic operational circuits to reduce the overall
hardware complexity. Fig 2.7 shows the circuit
diagram of Excess-3 to BCD code converter using
URG gate.
2.7 Excess-3 To BCD code converter
fig 2.7 Excess-3 to BCD converter
The proposed reversible code converters are more
efficient than the conventional code converters.
III.RESULT
Design Statistics for binary to gray converters
Cell Usage:
# BELS : 3
# LUT2 : 3
# IO Buffers : 8
# IBUF : 4
# OBUF : 4
Selected Device : 3s50pq208-5
Number of Slices : 2 out of 768
Number of 4 input LUTs : 3 out of 1536
Number of IOs : 8
Number of bonded IOBs : 8 out of 124
Maximum combinational path delay :
7.824ns
Total memory usage : 140512
kilobytes
Design Statistics for gray to binary converters
Cell Usage:
# BELS : 3
# LUT2 : 1
# LUT3 : 1
# LUT4 : 1
# IO Buffers : 8
# IBUF : 4
# OBUF : 4
Device utilization summary:
Selected Device : 3s50pq208-5
Number of Slices : 2 out of 768
Ponnuru Koteswara Rao. Int. Journal of Engineering Research and Applications www.ijera.com
ISSN: 2248-9622, Vol. 6, Issue 5, (Part - 3) May 2016, pp.17-21
jerom 21 | P a g e
www.ijera.com 21 | P a g e
Number of 4 input LUTs : 3 out of 1536
Number of IOs : 8
Number of bonded IOBs : 8 out of 124
Maximum combinational path delay: 7.850ns
Total memory usage is 140512 kilobytes
Binary to Gray converter:
Gray to Binary converter:
IV.CONCLUSION
This paper has introduced and proposed reversible
logic gates and reversible circuits for realizing
different code converters like BCD to Excess-3,
Excess- Gray to Binary using reversible logic gates.
The proposed design leads to the reduction of power
consumption compared with conventional logic
circuits, the design proposed is implemented with FG
and URG gates only in near future with the invent of
new RLG the power consumption may reduced to
little more greater extent, not only that there will be a
chance of implementing different logic circuits using
reversible logic gates and which intern helps to
increase the energy efficiency to a greater extent.
REFERENCES
[1]. Landauer, R., 1961. Irreversibility and heat
generation in the computing process, IBM
J.Research and Development, 5 (3): 183-191.
[2]. Bennett, C.H., 1973. Logical reversibility of
computation, IBMJ. Research and
Development, 17: 525-532.
[3]. Kerntopf, P., M.A. Perkowski and M.H.A.
Khan, 2004. On universality of general
reversible multiple valued logic gates, IEEE
Proceeding Of the 34th international
symposium on multiple valued logic
(ISMVL’04), pp: 68- 73.
[4]. Perkowski, M., A. Al-Rabadi, P. Kerntopf,
A.Buller, M. Chrzanowska- Jeske, A.
Mishchenko, M.Azad Khan, A. Coppola, S.
Yanushkevich, V.Shmerko and L. Jozwiak,
2001A general decomposition for reversible
logic, Proc. RM’2001, Starkville, pp: 119-
138.
[5]. Saravanan.M, Energy Efficient Code
Converters using Reversible Logic Gates,
2013.
[6]. Thapliyal Himanshu, and M.B. Srinivas,
2005.Novel reversible TSG gate and its
application for designing reversible carry
look ahead adder and other adder
architectures, Proceedings of the 10th Asia-
Pacific Computer Systems Architecture
Conference (ACSAC 05). Lecture Notes of
Computer Science, Springer-Verlag, 3740:
775-786.
[7]. Feynman, R., 1985. Quantum mechanical
computers, Optics News, 11:11-20.
[8]. M.Saravanan. M., Cholan K., Abhishek G,
2010. Design of Noval Reversible Multiplier
Using MKG Gate in Nanotechnology,
Proceedings of National Conference on
Automation Control and Computing.

More Related Content

PDF
An Area Efficient and High Speed Reversible Multiplier Using NS Gate
PDF
A novel vedic divider based crypto-hardware for nanocomputing paradigm: An ex...
PDF
Ko2518481855
PDF
POWER GATING STRUCTURE FOR REVERSIBLE PROGRAMMABLE LOGIC ARRAY
PDF
DESIGN OF PARITY PRESERVING LOGIC BASED FAULT TOLERANT REVERSIBLE ARITHMETIC ...
PDF
Ijciet 10 02_068
PDF
Designing Conservative Reversible N-Bit Binary Comparator for Emerging Quantu...
PDF
Dx34756759
An Area Efficient and High Speed Reversible Multiplier Using NS Gate
A novel vedic divider based crypto-hardware for nanocomputing paradigm: An ex...
Ko2518481855
POWER GATING STRUCTURE FOR REVERSIBLE PROGRAMMABLE LOGIC ARRAY
DESIGN OF PARITY PRESERVING LOGIC BASED FAULT TOLERANT REVERSIBLE ARITHMETIC ...
Ijciet 10 02_068
Designing Conservative Reversible N-Bit Binary Comparator for Emerging Quantu...
Dx34756759

What's hot (18)

PDF
C010321217
PDF
Review On 2:4 Decoder By Reversible Logic Gates For Low Power Consumption
PDF
S4102152159
PDF
Reversible code converter
PDF
Implemenation of Vedic Multiplier Using Reversible Gates
PDF
Low Power Threshold Logic Designing Approach for High Energy Efficient Flip-Flop
PDF
International Journal of Engineering and Science Invention (IJESI)
PDF
High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex...
PDF
A low power adder using reversible logic gates
PDF
Multiple Valued Logic for Synthesis and Simulation of Digital Circuits
PDF
IRJET- Review Paper on Radix-2 DIT Fast Fourier Transform using Reversible Gate
PPTX
Presentation energy efficient code converters using reversible logic gates
PDF
Towards Efficient Modular Adders based on Reversible Circuits
PDF
Ad4103173176
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
PDF
Low-Cost Synthesis Approach for Reversible Authenticator Circuits in QCA Envi...
PDF
Implementation of the Binary Multiplier on CPLD Using Reversible Logic Gates
PDF
Master Thesis, Tomas Elgeryd, IR-SB-EX-0224
C010321217
Review On 2:4 Decoder By Reversible Logic Gates For Low Power Consumption
S4102152159
Reversible code converter
Implemenation of Vedic Multiplier Using Reversible Gates
Low Power Threshold Logic Designing Approach for High Energy Efficient Flip-Flop
International Journal of Engineering and Science Invention (IJESI)
High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex...
A low power adder using reversible logic gates
Multiple Valued Logic for Synthesis and Simulation of Digital Circuits
IRJET- Review Paper on Radix-2 DIT Fast Fourier Transform using Reversible Gate
Presentation energy efficient code converters using reversible logic gates
Towards Efficient Modular Adders based on Reversible Circuits
Ad4103173176
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
Low-Cost Synthesis Approach for Reversible Authenticator Circuits in QCA Envi...
Implementation of the Binary Multiplier on CPLD Using Reversible Logic Gates
Master Thesis, Tomas Elgeryd, IR-SB-EX-0224
Ad

Viewers also liked (19)

PDF
Baroclinic Channel Model in Fluid Dynamics
PDF
Study of sliding wear rate of hot rolled steel specimen subjected to Zirconia...
PDF
Increase in Earthquake Resistance of Two Storey Single Room Building by Provi...
PDF
Synthesis and characterization of silver Nano composite polyaniline
PDF
Development of a Taguchi-based framework for optimizing two quality character...
PDF
Numerical Simulation of Impact of Truncated Cone Projectile On Thin Aluminum ...
PDF
Flow Modification over Rotor Blade with Suction Boundary Layer Control Technique
PDF
Spalling Assessment of Self-Compacting Concrete with and Without Polypropylen...
PDF
Seismic Response of Adjacent Buildings Connected With Nonlinear Viscous and V...
PDF
Seismic Microzonation - Principles and Methodology
PDF
A Novel Approach for Diabetic Retinopthy Classification
PDF
Electrical Evaluations of Manufactured Polyethylene Terephthalate with Dl-Ala...
PDF
An Efficient Video Watermarking Using Color Histogram Analysis and Biplanes I...
PDF
Interference Cancellation by Repeated Filtering in the Fractional Fourier Tra...
PDF
Automatic Detection Method of Behavior Change in Dam Monitor Instruments Caus...
PDF
Lake Water Quality Indexing To Identify Suitable Sites For Household Utility:...
PDF
Location Sharing System Using GPS Technology for Minimizing SMS Delivery
PDF
Retention Behavior of Lead Ion in Soil Bentonite Liner
PDF
A Wear Analysis of Composite Ball Materials using Tribometer
Baroclinic Channel Model in Fluid Dynamics
Study of sliding wear rate of hot rolled steel specimen subjected to Zirconia...
Increase in Earthquake Resistance of Two Storey Single Room Building by Provi...
Synthesis and characterization of silver Nano composite polyaniline
Development of a Taguchi-based framework for optimizing two quality character...
Numerical Simulation of Impact of Truncated Cone Projectile On Thin Aluminum ...
Flow Modification over Rotor Blade with Suction Boundary Layer Control Technique
Spalling Assessment of Self-Compacting Concrete with and Without Polypropylen...
Seismic Response of Adjacent Buildings Connected With Nonlinear Viscous and V...
Seismic Microzonation - Principles and Methodology
A Novel Approach for Diabetic Retinopthy Classification
Electrical Evaluations of Manufactured Polyethylene Terephthalate with Dl-Ala...
An Efficient Video Watermarking Using Color Histogram Analysis and Biplanes I...
Interference Cancellation by Repeated Filtering in the Fractional Fourier Tra...
Automatic Detection Method of Behavior Change in Dam Monitor Instruments Caus...
Lake Water Quality Indexing To Identify Suitable Sites For Household Utility:...
Location Sharing System Using GPS Technology for Minimizing SMS Delivery
Retention Behavior of Lead Ion in Soil Bentonite Liner
A Wear Analysis of Composite Ball Materials using Tribometer
Ad

Similar to Implementation of Effective Code Converters using Reversible Logic Gates (20)

PDF
Optimized Reversible Vedic Multipliers for High Speed Low Power Operations
PDF
Ko2518481855
PDF
dohhheeeeeeeeeeeeeeeeeeeeeeeeeeeeecc.pdf
PPT
Ieee project reversible logic gates by_amit
PPT
Ieee project reversible logic gates by_amit
PDF
SCOPE OF REVERSIBLE ENGINEERING AT GATE-LEVEL: FAULT-TOLERANT COMBINATIONAL A...
DOCX
VLSI projects 2014
DOCX
Introduction
PDF
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
PDF
A modular approach for testable conservative reversible multiplexer circuit f...
PDF
Artificial Neural Network Based Closed Loop Control of Multilevel Inverter
PDF
Iaetsd low power high speed vedic multiplier using reversible
PDF
L367174
PDF
Hv3513651369
PDF
A Survey Paper on Different Encoding Techniques Based on Quantum Computing
PDF
Km3617971803
PPTX
Quantum comput ing
PPTX
Quantum computing1
PDF
IMPLEMENTATION OF EFFICIENT ADDER USING MULTI VALUE LOGIC TECHNIQUE
PDF
Design and testing of systolic array multiplier using fault injecting schemes
Optimized Reversible Vedic Multipliers for High Speed Low Power Operations
Ko2518481855
dohhheeeeeeeeeeeeeeeeeeeeeeeeeeeeecc.pdf
Ieee project reversible logic gates by_amit
Ieee project reversible logic gates by_amit
SCOPE OF REVERSIBLE ENGINEERING AT GATE-LEVEL: FAULT-TOLERANT COMBINATIONAL A...
VLSI projects 2014
Introduction
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
A modular approach for testable conservative reversible multiplexer circuit f...
Artificial Neural Network Based Closed Loop Control of Multilevel Inverter
Iaetsd low power high speed vedic multiplier using reversible
L367174
Hv3513651369
A Survey Paper on Different Encoding Techniques Based on Quantum Computing
Km3617971803
Quantum comput ing
Quantum computing1
IMPLEMENTATION OF EFFICIENT ADDER USING MULTI VALUE LOGIC TECHNIQUE
Design and testing of systolic array multiplier using fault injecting schemes

Recently uploaded (20)

PDF
composite construction of structures.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Construction Project Organization Group 2.pptx
PPT
Project quality management in manufacturing
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Well-logging-methods_new................
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
Sustainable Sites - Green Building Construction
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
additive manufacturing of ss316l using mig welding
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
Geodesy 1.pptx...............................................
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
composite construction of structures.pdf
OOP with Java - Java Introduction (Basics)
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Construction Project Organization Group 2.pptx
Project quality management in manufacturing
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Well-logging-methods_new................
Automation-in-Manufacturing-Chapter-Introduction.pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Sustainable Sites - Green Building Construction
Operating System & Kernel Study Guide-1 - converted.pdf
additive manufacturing of ss316l using mig welding
CH1 Production IntroductoryConcepts.pptx
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Geodesy 1.pptx...............................................
III.4.1.2_The_Space_Environment.p pdffdf
bas. eng. economics group 4 presentation 1.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...

Implementation of Effective Code Converters using Reversible Logic Gates

  • 1. Ponnuru Koteswara Rao. Int. Journal of Engineering Research and Applications www.ijera.com ISSN: 2248-9622, Vol. 6, Issue 5, (Part - 3) May 2016, pp.17-21 www.ijera.com 17 | P a g e Implementation of Effective Code Converters using Reversible Logic Gates Ponnuru Koteswara Rao#1 , P Raveendra#2 , Kankata Venkateswara Rao#3 #1,2,3 Assistant Professor, SRK Institute of Technology, Enikepadu, Vijayawada ABSTRACT The development in the field of nanometer technology leads to minimize the power consumption of logic circuits. Reversible logic design has been one of the promising technologies gaining greater interest due to less dissipation of heat and low power consumption. In the digital design, the code converters are widely used process. So, the reversible logic gates and reversible circuits for realizing code converters like as Binary to Gray code, Gray to Binary code, BCD to Excess 3 code, Excess 3 to BCD codes using reversible logic gates is proposed. Designing of reversible logic circuit is challenging task, since not enough number of gates are available for design. Reversible processor design needs its building blocks should be reversible in this view the designing of reversible code converters became essential one. In the digital domain, data or information is represented by a combination of 0’s and 1’s. A code is basically the pattern of these 0’s and 1’s used to represent the data. Code converters are a class of combinational digital circuits that are used to convert one type of code in to another. The proposed design leads to the reduction of power consumption compared with conventional logic circuits. Keywords: Reversible logic, efficient code converters, low power logic gates & VLSI design. I .INTRODUCTION Reversible computing is a model of computing where the computational process to some extent is reversible, i.e., time invertible. A necessary condition for reversibility of a computational model is that the relation of the mapping states of transition functions to their successors should at all times be one-to-one. Reversible computing is generally considered an unconventional form of computing. There are two major, closely related, types of reversibility that are of particular interest for this purpose: physical reversibility and logical reversibility. A process is said to be physically reversible if it results in no increase in physical entropy; it is isentropic. These circuits are also referred to as charge recovery logic or adiabatic computing. Although in practice no stationary physical process can be exactly physically reversible or isentropic, there is no known limit to the closeness with which we can approach perfect reversibility, in systems that are sufficiently well- isolated from interactions with unknown external environments, when the laws of physics describing the system's evolution are precisely known. Probably the largest motivation for the study of technologies aimed at actually implementing reversible computing is that they offer what is predicted to be the only potential way to improve the energy efficiency of computers beyond the fundamental von Neumann- Landauer limit of kTln energy dissipated per irreversible bit operation. As was first argued by Rolf Landauer of IBM, in order for a computational process to be physically reversible, it must also be logically reversible. Landauer's principle is the loosely formulated notion that the erasure of n bits of information must always incur a cost of nkln in thermodynamic entropy. A discrete, deterministic computational process is said to be logically reversible if the transition function that maps old computational states to new ones is a one- to-one function; i.e. the output logical states uniquely defines the input logical states of the computational operation. For computational processes that are nondeterministic (in the sense of being probabilistic or random), the relation between old and new states is not a single-valued function, and the requirement needed to obtain physical reversibility becomes a slightly weaker condition, namely that the size of a given ensemble of possible initial computational states does not decrease, on average, as the computation proceeds forwards. The reversibility of physics and reversible computing Landauer's principle (and indeed, the second law of thermodynamics itself) can also be understood to be a direct logical consequence of the underlying reversibility of physics, as is reflected in the general Hamiltonian formulation of mechanics and in the unitary time-evolution operator of quantum mechanics more specifically. In the context of reversible physics, the phenomenon of entropy increase (and the observed arrow of time) can be understood to be consequences of the fact that our evolved predictive capabilities are rather limited, and cannot keep perfect track of the exact reversible evolution of complex physical systems, especially RESEARCH ARTICLE OPEN ACCESS
  • 2. Ponnuru Koteswara Rao. Int. Journal of Engineering Research and Applications www.ijera.com ISSN: 2248-9622, Vol. 6, Issue 5, (Part - 3) May 2016, pp.17-21 jerom 18 | P a g e www.ijera.com 18 | P a g e since these systems are never perfectly isolated from an unknown external environment, and even the laws of physics themselves are still not known with complete precision. Thus, we (and physical observers generally) always accumulate some uncertainty about the state of physical systems, even if the system's true underlying dynamics is a perfectly reversible one that is subject to no entropy increase if viewed from a hypothetical omniscient perspective in which the dynamical laws are precisely known. The implementation of reversible computing thus amounts to learning how to characterize and control the physical dynamics of mechanisms to carry out desired computational operations so precisely that we can accumulate a negligible total amount of uncertainty regarding the complete physical state of the mechanism, per each logic operation that is performed. In other words, we would need to precisely track the state of the active energy that is involved in carrying out computational operations within the machine, and design the machine in such a way that the majority of this energy is recovered in an organized form that can be reused f subsequent operations, rather than being permitted to dissipate into the form of heat. Although achieving this goal presents a significant challenge for the design, manufacturing, and characterization of ultra-precise new physical mechanisms for computing there is at present no fundamental reason to think that this goal cannot eventually be accomplished, allowing us to someday build computers that generate much less than 1 bit's worth of physical entropy (and dissipate much less than kTln 2 energy to heat) for each useful logical operation that they carry out internally. The motivation behind much of the research that has been done in reversible computing was the first seminal paper on the topic, which was published by Charles H. Bennett of IBM research in 1973. Today, the field has a substantial body of academic literature behind it. A wide variety of reversible device concepts, logic gates, electronic circuits, processor architectures, programming languages, and application algorithms have been designed and analyzed by physicists, electrical engineers, and computer scientists. This field of research awaits the detailed development of a high-quality, cost reversible logic device technology, one that includes highly energy-efficient clocking and synchronization mechanisms. This sort of solid engineering progress will be needed before the large body of theoretical research on reversible computing can find practical application in enabling real computer technology to circumvent the various near-term barriers to its energy efficiency, including the von Neumann bound. This may only be circumvented by the use of logically reversible computing, due to the Second Law of Thermodynamics. 1.1 BASIC DEFINITIONS OF REVERSIBLE LOGIC In this section, basic definitions and ideas related to reversible logic are presented. Definition 1 A Reversible gate is a k-input, k-output circuit that produces unique output for each possible input. Reversible gates are circuits in which the number of input is equal to the number of output and there is one to one correspondence between the vector of inputs and outputs. Definition 2 The unused output of a reversible gate is known as Garbage output. More it known also, the outputs, which are needed only to maintain reversibility, are called garbage outputs.[1] Definition 3 The simple and basis Reversible gate is conventional NOT gate and is a 1*1 gate. The block diagram is given in Figure1. The cost of Reversible NOT gate is 1. Definition 4 The 2*2 Feynman gate, also known as Controlled NOT gate. This gate is one through because it passes one of its inputs. Every linear reversible function can be built by using only 2 * 2 inverters. Since this is a 2 * 2 gate, the cost is 1. The reasons to use this gate in reversible circuits are: (i) Make the copy of an input (by putting any of the input a constant 0); (ii) To invert an input bit (by putting any of the input a constant 1). II.PROPOSED REVERSIBLE CODE CONVERTERS Designing of reversible logic circuit is challenging task, since not enough number of gates are available for design. Reversible processor design needs its building blocks should be reversible in this view the designing of reversible code converters became essential one. In the digital domain, data or information is represented by a combination of 0’s and 1’s. A code is basically the pattern of these 0’s and 1’s used to represent the data. Code converters are a class of combinational digital circuits that are used to convert of code in to another. Some of the most prominently used codes in digital systems are Natural Binary Sequence, Binary Coded Decimal, Excess-3 Code, Gray Code, ASCII Code etc. Like any combinational digital circuit, a code converter can be implemented by using a circuitry of AND, OR and NOT gates. Here this paper focuses more on conversion of code between binary to gray and BCD to excess. Binary to Gray code converters used to reduce switching activity by achieving single bit transition between logical sequences. 2.1 Binary To Gray converter Using FG gate If Input vector is I(D,C,B,A) then the output vector O (Z,Y,X, W). The circuit is constructed with the help of Feynman Gate (FG) gate[5], figure 2.1 & 2.2
  • 3. Ponnuru Koteswara Rao. Int. Journal of Engineering Research and Applications www.ijera.com ISSN: 2248-9622, Vol. 6, Issue 5, (Part - 3) May 2016, pp.17-21 jerom 19 | P a g e www.ijera.com 19 | P a g e shows the circuit diagram of reversible Binary to Gray code converter & Gray to Binary code converters. fig 2.1 Binary to Gray converter 2.2 Gray To Binary converter Using FG gate fig 2.2 Gray to Binary converter 2.3 Binary To Gray converter Using TG gate If Input vector is I(D,C,B,A) then the output vector O (Z,Y,X,W). The circuit is constructed with the help of Toffoli Gate (TG) gate[5], figure 2.3 & 2.4 shows the circuit diagram of reversible Binary to Gray code converter & Gray to Binary code converters. fig 2.3 Binary to Gray converter 2.4 Gray To Binary converter Using TG gate fig 2.4 Gray to Binary converter 2.5 Binary To Gray converter Using PG gate If Input vector is I (D, C, B, A) then the output vector O (Z, Y, X, W). The circuit is constructed with the help of Peres Gate (PG) gate[5], figure 2.5 & 2.6 shows the circuit diagram of reversible Binary to Gray code converter & Gray to Binary code converters.
  • 4. Ponnuru Koteswara Rao. Int. Journal of Engineering Research and Applications www.ijera.com ISSN: 2248-9622, Vol. 6, Issue 5, (Part - 3) May 2016, pp.17-21 jerom 20 | P a g e www.ijera.com 20 | P a g e fig 2.5 Binary to Gray converter 2.6 Gray To Binary converter Using PG gate fig 2.6 Gray to Binary converter Excess-3 to BCD code converters are used in arithmetic operational circuits to reduce the overall hardware complexity. Fig 2.7 shows the circuit diagram of Excess-3 to BCD code converter using URG gate. 2.7 Excess-3 To BCD code converter fig 2.7 Excess-3 to BCD converter The proposed reversible code converters are more efficient than the conventional code converters. III.RESULT Design Statistics for binary to gray converters Cell Usage: # BELS : 3 # LUT2 : 3 # IO Buffers : 8 # IBUF : 4 # OBUF : 4 Selected Device : 3s50pq208-5 Number of Slices : 2 out of 768 Number of 4 input LUTs : 3 out of 1536 Number of IOs : 8 Number of bonded IOBs : 8 out of 124 Maximum combinational path delay : 7.824ns Total memory usage : 140512 kilobytes Design Statistics for gray to binary converters Cell Usage: # BELS : 3 # LUT2 : 1 # LUT3 : 1 # LUT4 : 1 # IO Buffers : 8 # IBUF : 4 # OBUF : 4 Device utilization summary: Selected Device : 3s50pq208-5 Number of Slices : 2 out of 768
  • 5. Ponnuru Koteswara Rao. Int. Journal of Engineering Research and Applications www.ijera.com ISSN: 2248-9622, Vol. 6, Issue 5, (Part - 3) May 2016, pp.17-21 jerom 21 | P a g e www.ijera.com 21 | P a g e Number of 4 input LUTs : 3 out of 1536 Number of IOs : 8 Number of bonded IOBs : 8 out of 124 Maximum combinational path delay: 7.850ns Total memory usage is 140512 kilobytes Binary to Gray converter: Gray to Binary converter: IV.CONCLUSION This paper has introduced and proposed reversible logic gates and reversible circuits for realizing different code converters like BCD to Excess-3, Excess- Gray to Binary using reversible logic gates. The proposed design leads to the reduction of power consumption compared with conventional logic circuits, the design proposed is implemented with FG and URG gates only in near future with the invent of new RLG the power consumption may reduced to little more greater extent, not only that there will be a chance of implementing different logic circuits using reversible logic gates and which intern helps to increase the energy efficiency to a greater extent. REFERENCES [1]. Landauer, R., 1961. Irreversibility and heat generation in the computing process, IBM J.Research and Development, 5 (3): 183-191. [2]. Bennett, C.H., 1973. Logical reversibility of computation, IBMJ. Research and Development, 17: 525-532. [3]. Kerntopf, P., M.A. Perkowski and M.H.A. Khan, 2004. On universality of general reversible multiple valued logic gates, IEEE Proceeding Of the 34th international symposium on multiple valued logic (ISMVL’04), pp: 68- 73. [4]. Perkowski, M., A. Al-Rabadi, P. Kerntopf, A.Buller, M. Chrzanowska- Jeske, A. Mishchenko, M.Azad Khan, A. Coppola, S. Yanushkevich, V.Shmerko and L. Jozwiak, 2001A general decomposition for reversible logic, Proc. RM’2001, Starkville, pp: 119- 138. [5]. Saravanan.M, Energy Efficient Code Converters using Reversible Logic Gates, 2013. [6]. Thapliyal Himanshu, and M.B. Srinivas, 2005.Novel reversible TSG gate and its application for designing reversible carry look ahead adder and other adder architectures, Proceedings of the 10th Asia- Pacific Computer Systems Architecture Conference (ACSAC 05). Lecture Notes of Computer Science, Springer-Verlag, 3740: 775-786. [7]. Feynman, R., 1985. Quantum mechanical computers, Optics News, 11:11-20. [8]. M.Saravanan. M., Cholan K., Abhishek G, 2010. Design of Noval Reversible Multiplier Using MKG Gate in Nanotechnology, Proceedings of National Conference on Automation Control and Computing.