An Efficient Reversible Design of BCD Adder

Similar documents
An Optimized BCD Adder Using Reversible Logic Gates

Low Power and High Speed BCD Adder using Reversible Gates

Optimized design of BCD adder and Carry skip BCD adder using reversible logic gates

Department of ECE, Vignan Institute of Technology & Management,Berhampur(Odisha), India

Design of High-speed low power Reversible Logic BCD Adder Using HNG gate

Optimization of reversible sequential circuits

Design of Digital Adder Using Reversible Logic

Analysis of Multiplier Circuit Using Reversible Logic

High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex Family

FPGA IMPLEMENTATION OF BASIC ADDER CIRCUITS USING REVERSIBLE LOGIC GATES

Quantum Cost efficient Reversible Multiplier

Design and Implementation of REA for Single Precision Floating Point Multiplier Using Reversible Logic

DESIGN OF OPTIMAL CARRY SKIP ADDER AND CARRY SKIP BCD ADDER USING REVERSIBLE LOGIC GATES

Implementation of Optimized Reversible Sequential and Combinational Circuits for VLSI Applications

A More Effective Realization Of BCD Adder By Using A New Reversible Logic BBCDC

DESIGN AND ANALYSIS OF A FULL ADDER USING VARIOUS REVERSIBLE GATES

Design of Optimized Reversible Binary and BCD Adders

Design of Low Power Adder and Multiplier Using Reversible Logic Gates

Downloaded from

Resource Efficient Design of Quantum Circuits for Quantum Algorithms

A Novel Nanometric Reversible Four-bit Signed-magnitude Adder/Subtractor. Soudebeh Boroumand

Design of Reversible Synchronous Sequential Circuits

DESIGN AND IMPLEMENTATION OF EFFICIENT HIGH SPEED VEDIC MULTIPLIER USING REVERSIBLE GATES

Design of Digital Multiplier with Reversible Logic by Using the Ancient Indian Vedic Mathematics Suitable for Use in Hardware of Cryptosystems

Optimized Nanometric Fault Tolerant Reversible BCD Adder

Implementation of Reversible ALU using Kogge-Stone Adder

Design of Reversible Even and Odd Parity Generator and Checker Using Multifunctional Reversible Logic Gate (MRLG)

A New Approach for Designing of 3 to 8 Decoder and It s Applications Using Verilog HDL

PERFORMANCE ANALYSIS OF CLA CIRCUITS USING SAL AND REVERSIBLE LOGIC GATES FOR ULTRA LOW POWER APPLICATIONS

Reversible Multiplier with Peres Gate and Full Adder.

PERFORMANCE EVALUATION OF REVERSIBLE VEDIC MULTIPLIER

OPTIMAL DESIGN AND SYNTHESIS OF FAULT TOLERANT PARALLEL ADDER/SUBTRACTOR USING REVERSIBLE LOGIC GATES. India. Andhra Pradesh India,

Design of Reversible Code Converters Using Verilog HDL

Progress in Reversible Processor Design: A Novel Methodology for Reversible Carry Look-ahead Adder

Reversible Multiplier with Peres Gate and Full Adder

PERFORMANCE IMPROVEMENT OF REVERSIBLE LOGIC ADDER

Realization of 2:4 reversible decoder and its applications

Design Methodologies for Reversible Logic Based Barrel Shifters

Carry Bypass & Carry Select Adder Using Reversible Logic Gates

Efficient Circuit Design of Reversible Square

Power Optimization using Reversible Gates for Booth s Multiplier

ASIC Design of Reversible Full Adder/Subtractor Circuits

Implementation of Reversible Control and Full Adder Unit Using HNG Reversible Logic Gate

Department of ECE, Assistant professor, Sri Padmavatimahilavisvavidyalayam, Tirupati , India

On the Analysis of Reversible Booth s Multiplier

Design of Efficient Adder Circuits Using PROPOSED PARITY PRESERVING GATE (PPPG)

Reversible ALU Implementation using Kogge-Stone Adder

DESIGN OF A COMPACT REVERSIBLE READ- ONLY-MEMORY WITH MOS TRANSISTORS

DESIGN OF PARITY PRESERVING LOGIC BASED FAULT TOLERANT REVERSIBLE ARITHMETIC LOGIC UNIT

BCD Adder Design using New Reversible Logic for Low Power Applications

An FPGA Implementation of Energy Efficient Code Converters Using Reversible Logic Gates

A Novel Reversible Gate and its Applications

Design and Implementation of Nanometric Fault Tolerant Reversible BCD Adder

FPGA Implementation of Ripple Carry and Carry Look Ahead Adders Using Reversible Logic Gates

Design and Optimization of Reversible BCD Adder/Subtractor Circuit for Quantum and Nanotechnology Based Systems

DESIGN OF COMPACT REVERSIBLE LOW POWER n-bit BINARY COMPARATOR USING REVERSIBLE GATES

Design and Synthesis of Sequential Circuit Using Reversible Logic

Performance Enhancement of Reversible Binary to Gray Code Converter Circuit using Feynman gate

Design of Reversible Sequential Circuit Using Reversible Logic Synthesis

Transistor Implementation of Reversible Comparator Circuit Using Low Power Technique

Design of Reversible Logic based Basic Combinational Circuits

Conference on Advances in Communication and Control Systems 2013 (CAC2S 2013)

International Journal of Scientific & Engineering Research, Volume 6, Issue 6, June ISSN

Design of a Compact Reversible Random Access Memory

International Association of Scientific Innovation and Research (IASIR) (An Association Unifying the Sciences, Engineering, and Applied Research)

Design of Reversible Multiplier by Novel ANU Gate

Design of 16 Bit Adder Subtractor with PFAG and TG Gates Using Verilog HDL

A NEW APPROACH TO DESIGN BCD ADDER AND CARRY SKIPBCD ADDER

Design of Universal Shift Register Using Reversible Logic

Reversible Circuit Using Reversible Gate

A Novel Design for carry skip adder using purity preserving reversible logic gates

Design and Implementation of Combinational Circuits using Reversible Gates

Quantum Cost Optimization for Reversible Carry Skip BCD Adder

Mach-Zehnder Interferometer based All Optical Reversible Carry-Look ahead Adder

FULL ADDER/ SUBTRACTOR USING REVERSIBLE LOGIC

A Unified Reversible Design of Binary and Binary Coded Decimal Adder / Subtractor

Novel Reversible Gate Based Circuit Design and Simulation Using Deep Submicron Technologies

A Novel Design of Reversible Universal Shift Register

Novel Pipelined Vedic Multiplier Constituted With Reversible Logic

FPGA IMPLEMENTATION OF 4-BIT AND 8-BIT SQUARE CIRCUIT USING REVERSIBLE LOGIC

Basic Logic Gate Realization using Quantum Dot Cellular Automata based Reversible Universal Gate

ISSN Vol.03, Issue.03, June-2015, Pages:

Design of a Compact Reversible Carry Look-Ahead Adder Using Dynamic Programming

Design & Performance Analysis of 8-Bit Low Power Parity Preserving Carry- Look Ahead Adder

ENERGY EFFICIENT DESIGN OF REVERSIBLE POS AND SOP USING URG

arxiv: v1 [quant-ph] 20 Jul 2009

Design of 8-Bit and 16-Bit Adder-Subtractor with Optimized Power and Quantum Cost

OPTIMIZED MULTIPLIER USING REVERSIBLE MULTI- CONTROL INPUT TOFFOLI GATES

Computer Science & Engineering Dept, West Bengal University of Technology 2 Information Technology Dept, Manipal University

Design Exploration and Application of Reversible Circuits in Emerging Technologies

An optimized Design of Reversible Carry Look-Ahead Adder Using RPA

Design and Implementation of Carry Adders Using Adiabatic and Reversible Logic Gates

VHDL DESIGN AND IMPLEMENTATION OF C.P.U BY REVERSIBLE LOGIC GATES

Design of Reversible Comparators with Priority Encoding Using Verilog HDL

An All Optical Implementation of Reversible Carry-Lookahead Adder Using Mach-Zehnder Interferometer

Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM Expressions

Optimized Reversible Programmable Logic Array (PLA)

A Novel 4 4 Universal Reversible Gate as a Cost Efficient Full Adder/Subtractor in Terms of Reversible and Quantum Metrics

Design of a Reversible Carry Look-Ahead Adder Using Reversible Gates

An Approach to Simplify Reversible Logic Circuits

Transcription:

An Efficient Reversible Design of BCD Adder T.S.R.Krishna Prasad 1, Y.Satyadev 2 1 Associate Professor in Gudlavalleru Engineering College Department of ECE, e-mail: ad2prasad@gmail.com 2 Student of Gudlavalleru Engineering College in ECE, India, e-mail: satyadev4c0@gmail.com Abstract Nowadays, Reversible logic plays an important role in vlsi design. It has voluminous applications in quantum computing, optical computing, quantum dot cellular automata and digital signal processing. Adders are key components in many computational units, so design efficient binary coded decimal (BCD) adder using reversible gates is needed. It is not possible to calculate quantum cost without implementation of reversible logic. This paper propose a new design for BCD adder that optimized in terms of quantum cost, memory usage and number of reversible gates. The important reversible gates used for reversible logic synthesis are NOT gate, CNOT gate, Toffoli gate, peres gate, TR gate and MTSG gate. Key words Reversible logic, quantum cost, mtsg gate I. INTRODUCTION Power dissipation is one of the most important factors in VLSI circuit design. Irreversible logic circuits dissipate KT*Log2 joules heat energy[1]. Where K is Boltzmann s constant and T is the absolute temperature at which the computation is performed. The amount of energy dissipate in a system bears a direct relationship to the number of bits erased during the computation. Some bits erased means some information is lost. Bennet showed that the KT*Log2 joules energy dissipation would not occur if a computation is carried out in a reversible manor. Reversible computation can be performed through circuits that do not lose information[11]. As the Moore s law continues to hold, the processing power doubles every 18 months[1]. The current irreversible technologies will dissipate a lot of heat and can reduce the life of the circuit. The reversible logic operations do not erase the information and dissipate very less heat. Thus, reversible logic is likely to be in demand in high speed power aware circuits. The main challenges of designing reversible circuits are to reduce number of gates, memory usage, delay and quantum cost. This paper presents a new design of reversible BCD adder. The hardware complexity of this design is very less when compared to the existing once. II. BASIC DEFINITIONS OF REVERSIBLE LOGIC In this section, the basic definitions and ideas to the reversible logic and few reversible gates which are used and relevant with this research work. A. Reversible logic It is an n-input, n-output logic function in which there is a one-to-one correspondence between the inputs and outputs[12]. Because of this one to one mapping the input vector can be uniquely determined from the output vector. B. Quantum cost Quantum cost refers of to the cost of circuit in terms of the cost of primitive gate. It is calculated knowing the number of primitive reversible logic gates required to realize the circuit[10]. C. Delay The delay of a logic circuit is the maximum number of gates in a path from any input line to any output line. This definition is based on the following assumptions[11]: (i) Each gate performs computation in one unit time. (ii) All inputs to the circuit are available before the Computation begins. E. Hardware complexity Hardware complexity refers to the total number of logic operations in a circuit. Means the total number of AND, OR and EXOR operation in a circuit. F. Ancilla inputs This refers to the number of inputs that are to be maintain constant at either 0 or 1 in order to synthesize the given logical function[7]. G. Garbage outputs Garbage outputs are the unutilized outputs in reversible circuits which maintain reversibility but do not perform any useful operations[3]. III. REVERSIBLE LOGIC GATES A. CNOT GATE Cnot gate is also known as controlled-not gate. It is a 2*2 reversible gate. The Cnot gate can be described as: 1699

Iv = (A, B) Ov = (P= A, Q= A B) Iv and Ov are input and output vectors respectively. Quantum cost of Cnot gate is 1[14]. Figure 1 shows a 2*2 Cnot gate and its symbol. D. TR GATE TR gate full name is Thapliyal-Ranganathan gate. It is a 3*3 reversible gate[14]. The TR gate can be described as: I v = (A, B, C) O v = (P = A, Q = A B, R = AB C) cost of TR gate is 4. The TR gate and its symbol is shown in figure 4. Figure 1: CNOT Gate B. TOFFOLI GATE Toffoli gate is a 3*3 reversible gate[14]. The input vector is I(A,B,C) and output vector is O(P,Q,R). the Toffoli gate can be described as: Iv = (A, B, C) Ov= (P=A, Q=B, R = AB C) Quantum cost of Toffoli gate is 5. Figure 2 shows a 3*3 Toffoli gate and symbol. Figure 2: Toffoli Gate C. PERES GATE Peres gate is a 3*3 reversible gate. It is also known as New Toffoli gate. It is constricted from CNOT gate and Toffoli gate[11]. The Peres gate can be described as: I v = (A, B, C) O v = (P = A, Q = A B, R = AB C) cost of Peres gate is 4. The Peres gate and its symbol is shown in figure 3. E. MTSG GATE Figure 4: TR Gate MTSG gate is a 4*4 reversible gate. The MTSG gate can be described as: I v = (A, B, C, D) O v = (P = A, Q = A B, R = A B C, S = (A B)C AB D) cost of MTSG gate is 6[11]. MTSG will be very useful to design reversible circuits as the quantum cost of the MTSG is very low as compared to the TSG gate[11]. it is constricted from cascading of two Pares gates. By providing 0 in the D input, easily realize the full-adder from the MTSG gate. A reversible full adder can be realized at least one gate. For designing n-bit binary ripple carry adder n MTSG gates are required. The MTSG gate and its symbol is shown in figure 5. Figure 3: Peres Gate Figure 5: MTSG Gate 1700

IV. BLOCK DIAGRAM OF BCD ADDER A BCD adder is a circuit that adds two BCD numbers and produces a sum also in BCD form. Figure 6 shows the block diagram of BCD adder. A BCD adder must include three major parts[15]. Those are (i) Binary adder (ii) Over 9 detection unit (iii) Correction unit Binary adder performs addition operation on two BCD numbers and one-bit carry input. Over 9 detection unit recognizes if the result of first part is more 9or not[16]. If the result is more than 9 it produces 1 otherwise 0. Figure 7: An irreversible BCD adder work as 4-bit binary adder produce sum and carry[11]. Second part is equivalent design of over 9 detection unit and correction unit[14]. Figure 6: Block diagram of BCD adder Correction unit, if the output of detector is 1then the sum is added by 6, else added by 0. A conventional BCD adder is shown in figure 7. The first part 4-bit binary adder is cascade of four full adders. The second part detection unit is constructed by using two AND gates and one OR gate[16]. The third part correction unit adds 0 to the binary number if the binary result is less than 10 and adds 6 to the binary result if it is more than 9[15]. Binary full adder is a basic circuit for designing binary arithmetic units such as n-bit binary adder, sub tractor and multiplier. In same manor a BCD adder/subtract or is a basic circuit for designing BCD arithmetic units such as BCD n- bit adder/sub tractor. V. EFFICIENT DESIGN OF REVERSIBLE BCD ADDER This is the equivalent design of the approach shown in figure 7. Proposed reversible BCD adder optimized for the number of reversible gates, memory usage and quantum cost. The proposed design of BCD adder is shown in figure 8. In first part 4 MTSG gates are connected in series. It can Figure 8: Proposed design of reversible BCD adder 1701

A. Quantum cost calculation For n-bit proposed methodology needs n MTSG gates working in series thus in this stage has the quantum cost is 6n. In next stage (n-3) toffoli gates are working in series thus in this stage quantum cost is 5(n-3). In next stage (n-3) CNOT gates are working in series thus in this stage quantum cost is (n-3). In next stage (n-3) Peres gates are working in series thus in this stage quantum cost is 4(n-3). In next stage (n-3) CNOT gates are working in series thus in this stage quantum cost is (n-3). In next stage (n-3) Peres gates are working in series thus in this stage quantum cost is 4(n-3). In next stage (n-3) CNOT gates are working in series thus in this stage quantum cost is (n-3). Thus the total quantum cost of n bit reversible BCD adder is 6n+5(n-3)+n-3+4(n-3)+n-3+4(n-3)+n-3=22n-48. In this paper we are discuss about 4-bit reversible BCD adder so quantum cost of proposed reversible BCD adder is 40. Number of reversible gates used in this design is 10. VI. RESULTS AND DISCUSSION The proposed reversible BCD adder design has quantum cost 4 and delay is 11.228ns. To construct proposed BCD adder 10 reversible gates and 10 BELS and 6 slices are required. A comparison with the existing designs of the Reversible BCD adder is illustrated in Table I. the design in [14] is the best existing design literature considering the Number of reversible gates, Quantum cost, Delay and BELS. It Needs 36 reversible gates and has the quantum cost 70 and it require 9 slices. The delay of design in [14] is 11.153ns. it can be observed from the comparison table that the proposed design is better than the design in [14] in terms of number of reversible gates, area, delay, quantum cost. Thus the proposed design is efficient compared to existing designs. TABLE I A COMPARISION OF REVERSIBLE BCD ADDERS BCD Adder Existing [14] Proposd Design No.of No.of Quantm Delay BELS slices gates cost (ns) 9 36 70 12.15 22 6 10 40 11.22 10 VII. Conclusion In this paper, reversible logic was implemented for BCD adder. By comparing the existing design with proposed design is less costly in terms of number of gates and quantum cost and delay and area and BELS. The proposed design is highly optimized. The efficient design of the BCD adder depends on the Design methodology used for designing the reversible ripple carry adder and the reversible binary to BCD converter. Thus for future research, efficient design schemes for reversible ripple carry adder and the reversible binary to BCD converter is an interesting area to investigate. REFERENCES [1] Himanshu Thapliyal, M.B.Srinivas, and M.Zwolinski, "A Beginning in the Reversible LogicSynthesis of Sequential Circuits,MAPLD Conference (NASA office of Logic Design ), vol.8 2005.International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December [2] M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information. New York: Cambridge Univ. Press, 2000. [3] Y. Takahashi, Quantum arithmetic circuits: a survey, IEICE Trans.Fundamentals, vol. E92-A, no. 5, pp. 276 1283, 2010. [4] Y. Takahashi and N. Kunihiro, A linear-size quantum circuit for additionwith no ancillary qubits, Quantum Information and Computation, vol. 5,no. 6, p. 440448, 2005. [5] T. Toffoli, Reversible computing, MIT Lab for Computer Science, Tech. Rep. Tech memo MIT/LCS/TM-151, 1980. [6] A. Peres, Reversible logic and quantum computers, Phys. Rev. A, Gen.Phys., vol. 32, no. 6, pp. 3266 3276, Dec. 1985. [7] H. Thapliyal and N. Ranganathan, Design of reversible sequentialcircuits optimizing quantum cost, delay and garbage outputs, ACMJournal of Emerging Technologies in Computing Systems, vol. 6, no.4, Article 14, pp. 14:1 14:35, Dec. 2010. [8] H. Thapliyal and N. Ranganathan, Design of efficient reversible binarysubtractors based on a new reversible gate, in Proc. the IEEE ComputerSociety Annual Symposium on VLSI, Tampa, Florida, May 2009, pp.229 234. [9] S. A. Cuccaro, T. G. Draper, S. A. Kutin, and D. P. Moulton, A new quantum ripple-carry addition circuit, http://arxiv.org/quantph/0410184, Oct 2004. [10] Y. Takahashi, S. Tani, and N. Kunihiro, Quantum addition circuits andunbounded fan-out, http://arxiv.org/abs/0910.2530, Oct 2009. [11] A. K. Biswas, M. M. Hasan, A. R. Chowdhury, and H. M. Hasan Babu, Efficient approaches for designing reversible binary coded decimaladders, Microelectron. J., vol. 39, no. 12, pp. 1693 1703, 2008. [12] M. Thomsen and R.Gl uck, Optimized reversible binary-coded decimaladders, J. Syst. Archit., vol. 54, no. 7, pp. 697 706, 2008. [13] M. Mohammadi, M. Haghparast, M. Eshghi, and K. Navi, Minimizationoptimization of reversible bcd-full adder/subtractor using genetic algorithmand don t care concept, International J. Quantum Information, [14] Himanshu Thapliyal, Nagarajan Ranganathan, A New Reversible Design of BCD Adder 978-3-9810801-7-9/DATE11/@2011 EDAA. [15] Majid Mohammadi, Mohammad Eshghi, Majid Haghpaarast and Abbas Design and of Reversible BCD Adder/Subtractor Circuit for Quantum and Nanotechnology Based systems World applied Sciences Journal 4(6):787-792,2008 [16] Sreehari Veeramachaneni,M.Kirthi Krishna, Lingamneni Avinash, Sreekanth Reddy P, M.B.Srinivas Novel,High-speed 16-Digit BCD Adders Conforming to IEEE 754r Format IEEE Computer society Annual Symposium on VLSI 2007 1702

SPEAKER BIOGRAPHY Mr. T. S. R. Krishna Prasad Associate Professor in Electronics and Communication Engineering has received his B-tech degree from S.R.K.R. Engineering College, Bhimavaram, Andhra Pradesh. He obtained his M- tech degree from Gudlavalleru Engineering College, Gudlavalleru, Andhra Pradesh. His main interesting areas are Biomedical, Signal Processing, Security and Cryptography. He has published 1 International journal and attended for 3 International conferences and 3 national Conferences. Y. Satyadev Student of Gudlavalleru Engineering College, Gudlavalleru, Andhra Pradesh. His interested mostly in digital logic synthesis and design, reversible logic circuit design and quantum computations. 1703