A NEW APPROACH TO DESIGN BCD ADDER AND CARRY SKIPBCD ADDER

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

On the Analysis of Reversible Booth s Multiplier

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

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

Realization of 2:4 reversible decoder and its applications

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

Design of Digital Adder Using Reversible Logic

Power Optimization using Reversible Gates for Booth s Multiplier

Optimization of reversible sequential circuits

Analysis of Multiplier Circuit Using Reversible Logic

DESIGN AND ANALYSIS OF A FULL ADDER USING VARIOUS REVERSIBLE GATES

Downloaded from

Quantum Cost Optimization for Reversible Carry Skip BCD Adder

Design of Reversible Code Converters Using Verilog HDL

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

Power Minimization of Full Adder Using Reversible Logic

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

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

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

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

BCD Adder Design using New Reversible Logic for Low Power Applications

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

Design of a Compact Reversible Random Access Memory

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

Design of a compact reversible binary coded decimal adder circuit

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

SCOPE OF REVERSIBLE ENGINEERING AT GATE-LEVEL: FAULT-TOLERANT COMBINATIONAL ADDERS

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

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

Low Power and High Speed BCD Adder using Reversible Gates

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

ASIC Design of Reversible Full Adder/Subtractor Circuits

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

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

Design and Synthesis of Sequential Circuit Using Reversible Logic

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

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

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

Online Testable Reversible Circuits using reversible gate

DESIGN OF 3:8 REVERSIBLE DECODER USING R- GATE

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

An Optimized BCD Adder Using Reversible Logic Gates

FPGA IMPLEMENTATION OF BASIC ADDER CIRCUITS USING REVERSIBLE LOGIC GATES

Carry Bypass & Carry Select Adder Using Reversible Logic Gates

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

Design and Implementation of Combinational Circuits using Reversible Gates

Circuit for Revisable Quantum Multiplier Implementation of Adders with Reversible Logic 1 KONDADASULA VEDA NAGA SAI SRI, 2 M.

Implementation of Reversible ALU using Kogge-Stone Adder

A Novel Reversible Gate and its Applications

Reversible ALU Implementation using Kogge-Stone Adder

Design of Universal Shift Register Using Reversible Logic

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

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

An Efficient Reversible Design of BCD Adder

A Novel Design of Reversible Universal Shift Register

Reversible Circuit Using Reversible Gate

Implementation of Optimized Reversible Sequential and Combinational Circuits for VLSI Applications

Design of a Novel Reversible ALU using an Enhanced Carry Look-Ahead Adder

Design of Optimized Reversible Binary and BCD Adders

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

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

Realization of programmable logic array using compact reversible logic gates 1

Design of Reversible Logic based Basic Combinational Circuits

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

Design and Minimization of Reversible Circuits for a Data Acquisition and Storage System

ENERGY EFFICIENT DESIGN OF REVERSIBLE POS AND SOP USING URG

Literature Review on Multiplier Accumulation Unit by Using Hybrid Adder

Quantum Cost efficient Reversible Multiplier

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

Novel Pipelined Vedic Multiplier Constituted With Reversible Logic

A Novel Ternary Content-Addressable Memory (TCAM) Design Using Reversible Logic

PERFORMANCE EVALUATION OF REVERSIBLE VEDIC MULTIPLIER

Lakshmi Narain College of Technology, Bhopal (M.P.) India

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

Synthesis of Quantum Circuit for FULL ADDER Using KHAN Gate

Design and Optimization of Asynchronous counter using Reversible Logic

Design and Implementation of an Efficient Reversible Comparator Using TR Gate

Australian Journal of Basic and Applied Sciences

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

Design of Reversible Multiplier by Novel ANU Gate

A VLSI Design of Power Efficient Reversible Logic Gates for Arithmetic and Logical Unit

DIAGNOSIS OF FAULT IN TESTABLE REVERSIBLE SEQUENTIAL CIRCUITS USING MULTIPLEXER CONSERVATIVE QUANTUM DOT CELLULAR AUTOMATA

Optimized Nanometric Fault Tolerant Reversible BCD Adder

Reversible Multiplier with Peres Gate and Full Adder.

FPGA Implementation of Optimized 4 Bit BCD and Carry Skip Adders using Reversible Gates

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

Transistor Implementation of Reversible Comparator Circuit Using Low Power Technique

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

Reversible Circuit Synthesis of Symmetric Functions Using a Simple Regular Structure

ADVANCES in NATURAL and APPLIED SCIENCES

Design and Implementation of Nanometric Fault Tolerant Reversible BCD Adder

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

PERFORMANCE IMPROVEMENT OF REVERSIBLE LOGIC ADDER

A novel design approach of low power consuming Decoder using Reversible Logic gates

OPTIMIZED MULTIPLIER USING REVERSIBLE MULTI- CONTROL INPUT TOFFOLI GATES

FULL ADDER/ SUBTRACTOR USING REVERSIBLE LOGIC

Design of Fault Tolerant Reversible Multiplexer based Multi-Boolean Function Generator using Parity Preserving Gates

Reversible Implementation of Ternary Content Addressable Memory (TCAM) Interface with SRAM

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

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

Transcription:

A NEW APPROACH TO DESIGN BCD ADDER AND CARRY SKIPBCD ADDER K.Boopathi Raja 1, LavanyaS.R 2, Mithra.V 3, Karthikeyan.N 4 1,2,3,4 Department of Electronics and communication Engineering, SNS college of technology, Coimbatore,TamilNadu, (India) ABSTRACT Designed and proposed Reversible logic circuit has found emerging attention in nanotechnology,quantum computing and low power CMOSdesign. The construction of,low loss computational structures which are very important for the construction of arithmetic circuits used in Nano-technology,quantum computation and other low power digital circuits.the reversible BCD circuit here form the basis of the decimal ALU of a primitive quantum CPU Keywords: Reversible logic, BCD adder, BCD carry skip adder, Transmission gate. I. INTRODUCTION To detectthe power dissipation the reversible logic has received greater attention in certain years.development in higher-level integration has emerged in better logic circuits and energy loss has also been reduced over the last years. The most prominent application of the reversible logic lies in quantum computers.quantum computer will be viewed in quantum network composed of quantum logic gates. Bennett [3] showed that zero energy dissipation would be possible if the network consists of reversible gates only. Reversible logic has also found its applications in several stages such as quantum computing [4], nanotechnology [5]and DNA technology [6] The energy loss on the other hand,is an important consideration in a binary arithmetic circuit. Part of the problem of energy dissipation is related to non ideal of transistor and materials. Due to characteristics of floating point numbers and limitations on storing formats, not all floating-point numbers can be represented with given precision [8]. Faster hardware for decimal floatingpoint is also imminent as it has its importance in financial, Internet based application. A reversible logic circuit should have the following features 1.use minimum number of reversible gates. 2.use minimum number of garbage outputs. 3.use minimum constant inputs. 4.use minimum quantum costs In this paper, advanced techniques of reversible logic implementation for BCD adder and Carry Skip BCD adder are presented. We have compared the proposed designs with the ones that already exist and found that modified designs are greater than the existing ones in terms of gates, garbage output and delay. 1757 P a g e

Basic Definitions and Literature Review In this section, basic definitions and ideas related to reversible logic are givenreversible Gatescircuits in which number of inputs is always equal to the number of outputs and they will be one to one correspondence within the vector of inputs and outputs [10]. Waste output of reversible gate is said to be Garbage Output. 1. FG gate Garbage output The lag of some circuit is the maximum gatesin a way from any input. This definition is based on the following assumptions: I. In one unit time gates are performed II. Beforecomputation begins inputs are performed. A reversible gate is differentiated based on the complexity and input relation. Minimisation of delay is occurred. II. OVERVIEW OF THE EXISTING DESIGNS Combination of New gate [12] and Peres gate [13] as full-adder is designed as the reversible BCD adder.ideas of design are follows: binary addition will be performed in 4bits. Overflow of BCD is detected. Fan-out is restricted in strict reversible circuit. Error correction value is obtained by adding 4bit parallel adder, i.e. in binary 0011, when overflow obtained. First 4-bit parallel is also obtained. The design will improve the number of gates, waste outputs and lag. Overcome the limitations of the existing designs reversible BCD adder and carry skip adder is used III. PROPOSED REVERSIBLE BCD ADDERS Reversible BCD and Carry Skip Reversible BCD adder with improved designs have been presented in this paper with algorithms and figures. Basic Properties Binary Coded Decimal (BCD) number and adder with necessary terminology arepresented here. Definition The important measuring parameter for logic design using reversible gate includes the number of gates used for the design with the less number of unused outputs.the quantum cost of each reversible logic gate is an important optimization parameter. The quantum cost of a 1*1 reversiblegate is assumed o be zero. The quantum cost of the 2*2 reversible logic gate is taken as unity.the result of the binary addition of the two BCD numbers overflow is checked by combinational circuit for BCD detection. 1758 P a g e

The resulting number is greater than 1001,and then the BCD adder overflow occurs. Let A 0-4 and B 0-4 be the two BCD numbers to be added and the resulting number is represented by T0-4. Carry out is represented by C 5. Resulting number is greater than 1111, and then the c5 is set. It is easy to note (T 2 +T 1 ). T 4 and C 5 are not set at the same time. T 3 T 2 T 1 T 0 and any carry out from this addition is ignored. Carry out from the addition of two BCD numbers A 3 A 2 A 1 A 0 and B 3 B 2 B 1 B 0 is already computed along with F. If F is not set, no error correction is needed. The final result is the partial sum of T 0-4. Proposed Reversible BCD Adder The basic building blocks which are logically reversible should have three binary inputs and three binary outputs.there are three components of BCD binary adder: a 4-bit parallel adder, overflow detection logic and overflow correction logic. Proposed reversible 4-bit ripple carry adder has been designed using four 1bit reversible adders.the proposed design performs better in terms of quantum cost has been reduced by18.75%. ALGORITHM Input: T: The partial sum received from the binary adder which was mentioned by 4bit vector discussed. Output: From this algorithm the vector would b the output, overflow detection bit is F. After overflow detection it is noted that the vector is required for correction, but detection circuit was featuredthere are numerous ways of generating copies are in numerous way of T vector at any level, but the detection circuits preferred to produce T vector Overflow detection bit, the resulting circuit of the expression may contain at least 2 blocks. The approach might be same for the following - 1) The first block will take T 1 and T 2 and output will bet 2 +T 1 2) The second block will take the T 4, C 4 and output from first block will be T 2 +T 1 and compute the result F = (T 2 +T 1 ). T 3 C 4. Return R: = T F; end 1759 P a g e

Example Figure 4.2.1 shows a direct implementation of Algorithm 4.2.1 where T = (C 4, T 3, T 2, T 2 T 1 FRG FRG 1 1 T 2 T 1 T 3 C 4 TG T 3 F = (T 2 + T 1 ) T 3 C 4 T 1 ). Figure digit BCD adder s overflow detection logic Algorithm OCA (R) Input: R: From the overflow detection logic circuit a 4bit vector is received. 1760 P a g e

Output: S(C out, S 3, S 2, S 1, S 0 )final corrected BCD sum. The detection logicas T vector that was fed does not include T 0, it is free and intact to use as S 0. waiting for the for the final carry outis not mandatory, because if F is 1, it is sure that the C out = 1, so we need not propagate further to compute this carry. begin 1)The first block will take T 1 and F from the overflow detection logic circuit and generate S 1 = T 1 F and carry_out 1 = T 1.F. 2)The second block will take carry out of the first block, T 2 from the overflow detection circuit and F (this F can be duplicated using numerous techniques, in our circuit first block generates F again) and generate S 2 = T 2 F carry_out 1. It will also generate carry_out 2 = (T 2 F). carry_out 1 + T 2.F. 3) The third block will take carry out of the second block, T 3 from the overflow detection circuit and generate S 3 = T 3 carry_out 2. returns; end Example 4.2.2. Figure 4.2.2 shows a direct implementation of Algorithm 4.2.2. Algorithm BCD_ADDER_CONSTRUCTION _ ALGORITHM (A, B) Input: A = (A 3, A 2, A 1, A 0 ) and B= (B 3, B 2, B 1, B 0 ) are two 4-bit input BCD vectors. Output: Final corrected BCD sum S (C out, S 3, S 2, S 1, S 0 ). begin T:= Binary Adder output(a, B); R:= ODA(T); S:= OCA(R); ReturnS; end Proposed Carry Skip Reversible BCD Adder figure:carry skip 1digit BCD adder 1761 P a g e

It uses two four bit adders, carry skip logic circuits and a correction logic circuit. Carry skip logic may generate the carry out, C out instantaneously. We will present these components with proper algorithms and appropriate figures. The proposed design is found to be much better than the existing one [11] in terms of number of gates, number of garbage and delay.. The quantum cost of the 2*2 reversible logic gate is taken as unity. the result of the binary addition of the two BCD numbers overflow is checked by combinational circuit for BCD detection. Proper expression for this condition is: P i = A i B i and C in to the block will propagate to the carry output of the block if the entire P i s are set. In this way, we can generate C out without waiting for it to be generated in ripple carry fashion. Let, the propagation signal for the block is denoted by P. Then, P = P. 3 P. 2 P. 1 P 0. If P is set, C in will be propagated to the C out. However, in the other case, C out will be generated in the ripple carry fashion. So, carry skip logic bit of the block is K = P.C in + C 4 where C 4 is the carry generated in the ripple carry fashion. The overall overflow detection bit, F= (T 1 +T 2 ). T 3 K is generated in the same way with Reversible BCD adder presented earlier in this paper. Overflow correction logic incorporated is the same as the Reversible BCD adder. The following procedure (Algorithm 4.3.1) is used for the design of Carry Skip 1-digit BCD adder. This procedure is presented along with appropriate figure. Algorithm CARRY_SKIP_BCD_ADDER_ ALGORITHM (A, B, C i ) Input:A (A 3, A 2, A 1, A 0 )andb (B 3, B 2, B 1, B 0 ) are two input vectors and C in is the carry in. Output: A BCD adder capable of performing the sum = A + B. The buffer vector S (C out, S 3, S 2, S 1, S 0 ) will store the result. begin Step 1:ComputeP (propagate bit). Initially P:=truefor all i in {0, 1 3} do P: = P AND (A i B i ). Step 2: Compute T: = {C 4, T3, T2,T1,T0}, where T i : = A i B i C i and C i s are generated from each adder block. Step 3: Compute carry skip logic bit, K:=P.C in + C 4. Step 4: The overall overflow detection bit F: = (T 1 +T 2 )T 3 K, which is true whenever a BCD overflow is detected. Step 5: Add binary 0110 to T if overflow detection bit F istrue. Step 6: Compute S: = (C out, S 3, S 2, S 1, S 0 ), the final sum of the addition process. ReturnS; end shows a direct implementation of Algorithm 1762 P a g e

The Fredkin gates in the middle of the Figure 4.3.1 generate the block propagation, P and carry skip logic bit, K.Fredkin gates and Toffoli gate on the left side performs the BCD overflow detection same as for reversible BCD adder. BCD overflow correction logic is also like the reversible BCD adder. Table 2 shows the comparative analysis of the improved Carry Skip Reversible BCD adder with the one presented in [11] and it clearly shows that the proposed design outperforms the existing one in every metrics. Circuit presented in [11] allows multiple fan-outs that are prohibited in strict reversible sense. Output waveform of BCD adder Output waveform of carry skip 1digit BCD adder IV. CONCLUSIONS In this paper, reversible logic syntheses were carried out for both BCD adder and carry skip BCD adder. The designs have been done for ease of reversible logic implementation and it has been found that the proposed designs are far better than the existing ones [9,11] in terms of number of gates needed, number of garbage outputs produced and delay. Improved Carry Skip BCD adder can perform much faster than the BCD adder. If multiple BCD blocks are used in the carry skip adder, i.e. m-digit BCD numbers, then carry skip BCD adder 1763 P a g e

has the potential to perform the desired operation much faster. BCD adders can be an important part of some other larger and more complex reversible circuits. Fast and improved BCD adders may also find its use in future quantum computers [4]. REFERENCES [1] Keyes R, Landauer R. Minimal Energy Dissipation in Logic. IBM Journal of Research and Development 1970; 14: 153-7. [2] Landauer R. Irreversibility and heat generation in the computational process s. IBM Journal of Research Development 1961; 5: 183-91. [3] Bennett CH. Logical reversibility of computation. IBM Journal of Research and Development 1973; 17: 525-32. [4] Shende VV, Prasad AK, Markov IL, Hayes JP. Synthesis of reversible logic circuits. IEEE Transaction on CAD 2003; 22.(6): 723-9. [5] Moore GE. Cramming more components onto integrated circuits. Journal of Electronics 1965; 38(8). [6] Frank M. Physical Limits of Computing. CIS 4930.1194X/6930.1078X, 2000. [7] Perkowski M. Reversible Computation for Beginners. Lecture Series 2000. Portland State University. http://www.ee.pdx.edu/~mperkows. [8] Hayes JP. Computer Architecture and Organization, 3rd ed. McGraw-Hill; 1998. [9] Babu HMH, Chowdhury AR. Design of a Compact Reversible Binary Coded Decimal Adder Circuit. [10] Babu HMH, Islam MR, Chowdhury AR, Chowdhury SMA. Synthesis of full-adder circuit using reversible logic. 17 th International Conference on VLSI Design 2004; 757-60. [11] Thapliyal H, Kotiyal S, Srinivas MB. Novel BCD Adders and their Reversible Logic Implementation for IEEE 754r Format. 19 th International Conference on VLSI Design 2006; 387-92. [12] Khan M. H. A andperkowski M. Multi-output ESOP synthesis with cascades of new reversible families. 6 th International Symposium on Representations and Methodology of Future Computing Technologies, March 2003, 144-153. [13] Peres A. Reversible Logic and Quantum Computers. Physical Review 1985; 3266-76. 1764 P a g e