A New Reversible TSG Gate and Its Application For Designing Efficient Adder Circuits



Similar documents
A Beginning in the Reversible Logic Synthesis of Sequential Circuits

An Extension to DNA Based Fredkin Gate Circuits: Design of Reversible Sequential Circuits using Fredkin Gates

AN IMPROVED DESIGN OF REVERSIBLE BINARY TO BINARY CODED DECIMAL CONVERTER FOR BINARY CODED DECIMAL MULTIPLICATION

FEASIBLE METHODOLOGY FOR OPTIMIZATION OF A NOVEL REVERSIBLE BINARY COMPRESSOR

COMPARATIVE ANALYSIS OF 4-BIT AND 8-BIT REVERSIBLE BARREL SHIFTER DESIGNS USING REVKIT

Keywords Quantum logic gates, Quantum computing, Logic gate, Quantum computer

NEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell.

Design of Low Power One-Bit Hybrid-CMOS Full Adder Cells

Let s put together a Manual Processor

A Novel Low Power, High Speed 14 Transistor CMOS Full Adder Cell with 50% Improvement in Threshold Loss Problem

ONLINE TESTING IN TERNARY REVERSIBLE LOGIC

International Journal of Electronics and Computer Science Engineering 1482

CMOS Binary Full Adder

HIGH SPEED AREA EFFICIENT 1-BIT HYBRID FULL ADDER

Binary Adders: Half Adders and Full Adders

CSE140 Homework #7 - Solution

High Speed Gate Level Synchronous Full Adder Designs

ASYNCHRONOUS COUNTERS

ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path

FORDHAM UNIVERSITY CISC Dept. of Computer and Info. Science Spring, Lab 2. The Full-Adder

CHAPTER 3 Boolean Algebra and Digital Logic

BOOLEAN ALGEBRA & LOGIC GATES

An Effective Deterministic BIST Scheme for Shifter/Accumulator Pairs in Datapaths

A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Implementation of Modified Booth Algorithm (Radix 4) and its Comparison with Booth Algorithm (Radix-2)

Efficient Interconnect Design with Novel Repeater Insertion for Low Power Applications

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

DEPARTMENT OF INFORMATION TECHNLOGY

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Design of Reversible Random Access Memory

Design of Energy Efficient Low Power Full Adder using Supply Voltage Gating

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Module 4 : Propagation Delays in MOS Lecture 22 : Logical Effort Calculation of few Basic Logic Circuits

exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576

Optimization and Comparison of 4-Stage Inverter, 2-i/p NAND Gate, 2-i/p NOR Gate Driving Standard Load By Using Logical Effort

A Novel Low Power Fault Tolerant Full Adder for Deep Submicron Technology

Two's Complement Adder/Subtractor Lab L03

COMBINATIONAL CIRCUITS

Gates, Circuits, and Boolean Algebra

An Efficient RNS to Binary Converter Using the Moduli Set {2n + 1, 2n, 2n 1}

Design and FPGA Implementation of a Novel Square Root Evaluator based on Vedic Mathematics

A New Low Power Dynamic Full Adder Cell Based on Majority Function

Understanding Logic Design

Innovative improvement of fundamental metrics including power dissipation and efficiency of the ALU system

Circuits and Boolean Expressions

United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1

Floating Point Fused Add-Subtract and Fused Dot-Product Units

10 BIT s Current Mode Pipelined ADC

Module 3: Floyd, Digital Fundamental

Quantum Computing Architectures

Sistemas Digitais I LESI - 2º ano

ECE232: Hardware Organization and Design. Part 3: Verilog Tutorial. Basic Verilog

EXPERIMENT 4. Parallel Adders, Subtractors, and Complementors

Adder.PPT(10/1/2009) 5.1. Lecture 13. Adder Circuits

Quantum Computing. Robert Sizemore

Performance Comparison of an Algorithmic Current- Mode ADC Implemented using Different Current Comparators

High Speed and Efficient 4-Tap FIR Filter Design Using Modified ETA and Multipliers

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

Chapter 2 Logic Gates and Introduction to Computer Architecture

Counters and Decoders

A high Speed 8 Transistor Full Adder Design using Novel 3 Transistor XOR Gates

The concept of hierarchical design: the views of computer science and engineering students

Lecture 5: Gate Logic Logic Optimization

Lab 1: Full Adder 0.0

Gates. J. Robert Jump Department of Electrical And Computer Engineering Rice University Houston, TX 77251

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Design Methods for Binary to Decimal Converters Using Arithmetic Decompositions

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

Sequential 4-bit Adder Design Report

Xilinx ISE. <Release Version: 10.1i> Tutorial. Department of Electrical and Computer Engineering State University of New York New Paltz

7CS-A(CD_lab) Actual date of covering the. Reason for not covering the topic in due time. Month in which the topic will be covered

Title : Analog Circuit for Sound Localization Applications

Programming Logic controllers

CD4008BM CD4008BC 4-Bit Full Adder

Digital Electronics Detailed Outline

Operating Manual Ver.1.1

6.080/6.089 GITCS Feb 12, Lecture 3

LOW POWER MULTIPLEXER BASED FULL ADDER USING PASS TRANSISTOR LOGIC

INTRODUCTION TO DIGITAL SYSTEMS. IMPLEMENTATION: MODULES (ICs) AND NETWORKS IMPLEMENTATION OF ALGORITHMS IN HARDWARE

CS101 Lecture 26: Low Level Programming. John Magee 30 July 2013 Some material copyright Jones and Bartlett. Overview/Questions

FORDHAM UNIVERSITY CISC Dept. of Computer and Info. Science Spring, The Binary Adder

Theory, Synthesis, and Application of Adiabatic and Reversible Logic Circuits For Security Applications

TS555. Low-power single CMOS timer. Description. Features. The TS555 is a single CMOS timer with very low consumption:

LFSR BASED COUNTERS AVINASH AJANE, B.E. A technical report submitted to the Graduate School. in partial fulfillment of the requirements

List of Experiment. 8. To study and verify the BCD to Seven Segments DECODER.(IC-7447).

Automated Switching Mechanism for Multi-Standard RFID Transponder

VHDL Test Bench Tutorial

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

ON SUITABILITY OF FPGA BASED EVOLVABLE HARDWARE SYSTEMS TO INTEGRATE RECONFIGURABLE CIRCUITS WITH HOST PROCESSING UNIT

Implementation and Design of AES S-Box on FPGA

MULTIPLE CHOICE FREE RESPONSE QUESTIONS

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

Combinational Logic Design

5 Combinatorial Components. 5.0 Full adder. Full subtractor

earlier in the semester: The Full adder above adds two bits and the output is at the end. So if we do this eight times, we would have an 8-bit adder.

Systems I: Computer Organization and Architecture

Boolean Algebra. Boolean Algebra. Boolean Algebra. Boolean Algebra

CHAPTER 7: The CPU and Memory

Transcription:

A New Reversible TSG Gate and Its Application For Designing Efficient Adder s Himanshu Thapliyal Center for VLSI and Embedded System Technologies International Institute of Information Technology Hyderabad-500019, India (thapliyalhimanshu@yahoo.com) M.B Srinivas Center for VLSI and Embedded System Technologies International Institute of Information Technology Hyderabad-500019, India (srinivas@iiit.net) Abstract In the recent years, reversible logic has emerged as a promising technology having its applications in low power CMOS, quantum computing, nanotechnology, and optical computing. The classical set of gates such as AND, OR, and EXOR are not reversible. This paper proposes a new 4 * 4 reversible gate called TSG gate. The proposed gate is used to design efficient adder units. The most significant aspect of the proposed gate is that it can work singly as a reversible full adder i.e reversible full adder can now be implemented with a single gate only. The proposed gate is then used to design reversible ripple carry and carry skip adders. It is demonstrated that the adder architectures designed using the proposed gate are much better and optimized, compared to their existing counterparts in literature; in terms of number of reversible gates and garbage outputs. Thus, this paper provides the initial threshold to building of more complex system which can execute more complicated operations using reversible logic. I. INTRODUCTION Researchers like Landauer have shown that for irreversible logic computations, each bit of information lost, generates ktlog2 joules of heat energy, where k is Boltzmann s constant and T the absolute temperature at which computation is performed [1]. Bennett showed that ktln2 energy dissipation would not occur, if a computation is carried out in a reversible way [2], since the amount of energy dissipated in a system bears a direct relationship to the number of bits erased during computation. Reversible circuits are those circuits that do not lose information. Reversible computation in a system can be performed only when the system comprises of reversible gates. These circuits can generate unique output vector from each input vector, and vice versa. In the reversible circuits, there is a one-to-one mapping between input and output vectors. Bennett s theorem [2] about heat dissipation is only a necessary and not sufficient condition, but its extreme importance lies in the fact that every future technology will have to use reversible gates to reduce power. As the Moore s law continues to hold, the processing power doubles every 18 months. 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 (lose) information and dissipate very less heat. Thus, reversible logic is likely to be in demand in high speed power aware circuits. Reversible circuits are of high interest in low-power CMOS design, optical computing, nanotechnology and quantum computing. The most prominent application of reversible logic lies in quantum computers. A quantum computer will be viewed as a quantum network (or a family of quantum networks) composed of quantum logic gates; each gate performing an elementary unitary operation on one, two or more two state quantum systems called qubits. Each qubit represents an elementary unit of information; corresponding to the classical bit values 0 and 1. Any unitary operation is reversible hence quantum networks effecting elementary arithmetic operations such as addition, multiplication and exponentiation cannot be directly deduced from their classical Boolean counterparts (classical logic gates such as AND or OR are clearly irreversible).thus, Quantum Arithmetic must be built from reversible logical components [10]. One of the main constraints in reversible logic is to minimize the number of reversible gates used and garbage output produced. output refers to the output that is not used for further computations. In other words, it is not used as a primary output or as an input to other gate. In literature, there are a number of existing reversible gates such as Fredkin gate[3,4,5],toffoli Gate[3,4] and New Gate [6]. In this paper, the focus is on the proposal of new reversible 4*4 TSG gate. The proposed TSG gate is used to design optimized adder architectures like ripple carry adder and carry skip adder. It has been proved that the adder architectures using the proposed TSG gate are better than the existing one in literature; in terms of number of reversible gates and garbage outputs. Thus, the paper

provides the initial threshold to build more complex systems which can which can execute more complicated operations. The reversible circuits designed and proposed here form the basis of the ALU of a primitive quantum CPU[11,12,13]. II. PROPOSED 4* 4 REVERSIBLE GATE In this paper, a 4 * 4 one through reversible gate called TS gate TSG is proposed. The proposed reversible TSG gate is shown in Fig. 1. The corresponding truth table of the gate is shown in Table I. It can be verified from the Truth Table that the input pattern corresponding to a particular output pattern can be uniquely determined. The proposed TSG gate can implement all Boolean functions. Fig. 3 shows the implementation of the proposed gate as XOR function. Fig. 2 and Fig. 4 shows the implementation of the proposed gate as NOT and NOR function respectively. TABLE I. TRUTH TABLE OF THE PROPOSED TSG GATE A B C D P Q R S 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 1 1 0 0 1 1 0 1 0 0 0 1 0 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 1 0 0 0 0 1 0 1 1 1 0 0 1 1 1 0 0 0 1 1 1 0 1 0 0 1 1 1 0 1 1 0 1 0 1 1 1 1 1 0 1 1 1 1 0 0 1 1 0 0 1 0 0 1 1 1 0 1 1 0 1 1 1 1 1 0 1 0 0 0 1 1 1 1 1 0 1 0 Figure 1. Reversible TSG Gate Figure 2. TSG Gate As NOT Gate Figure 3. TSG gate as XOR Gate Figure 4. TSG Gate as NOR Gate Since, the NOR gate is a universal gate and any Boolean function can be implemented through it. Hence, the proposed gate can be used to implement any Boolean function. One of the prominent functionality of the proposed gate is that that it can work singly as a reversible Full adder unit. Fig. 5 shows the implementation of the proposed gate as the reversible Full adder. Figure 5. TSG Gate Working Singly As Reversible Full Adder A number of reversible full adders were proposed in [6,7,8,9,14]. The reversible full adder circuit in [6] requires three reversible gates (two 3*3 new gate and one 2*2 Feynman gate) and produces three garbage outputs. The reversible full adder circuit in [7,8] requires three reversible gates (one 3*3 new gate, one 3*3 Toffoli gate and one 2*2 Feynman gate) and produces two garbage outputs. The design in [9] requires five reversible Fredkin gate and produces five garbage outputs. The design in [14] requires two reversible gates (one 3*3 New gate and one 3 *3 New Toffoli Gate) and produces two garbage outputs. The proposed full adder using TSG in Fig. 5 requires only one reversible gate (one TSG gate) and produces only two garbage outputs. Hence, the full-adder design in Fig. 5 using TSG gate is better than the previous full-adder designs of [6,7,8,9,14]. A comparative result is shown in Table II.

TABLE II. [6] [7,8] [9] [14] COMPARITIVE RESULTS OF DIFFERENT FULL ADDER CIRCUITS 1 2 3 3 3 2 5 5 2 2 III. APPLICATIONS OF THE PROPOSED TSG GATE To illustrate the application of the proposed TSG gate, two different types of adders ripple carry and carry skip adders are designed. It has been proved that the adders circuit drawn using the proposed gate are the most optimized one compared to their existing counterparts in literature. A. Ripple Carry Adder The full adder is the basic building block in the ripple carry adder. The full adder circuit using the proposed TSG gate is shown in Fig. 6. The ripple carry adder is obtained by cascading the full adders in series. The output expressions for a ripple carry adder are : Si= A B Ci; Ci+1=(A B).Ci AB (i=0,1,2.) result that compares the proposed ripple carry adder using TSG gate, with the existing full adders of [6,7,8,9,14]. It is observed that the proposed circuit is better than the existing circuits; both in number of reversible gates and garbage outputs. TABLE III. COMPARITIVE RESULTS OF DIFFERENT RIPPLE CARRY ADDER CIRCUITS [6] [7,8] [9] [14] N 5N B. Carry Skip Adder In the carry skip adder, delay is reduced due to the carry computation. In the full adder operation, if either input is a logical one, the cell will propagate the carry input to its carry output. Hence, the ith full adder carry input Ci, will propagate to its carry output, Ci+1, when Pi= Xi Yi. In addition, the multiple full adders, making a block can generate a block propagate signal P to detour the incoming carry around to the block s carry output signal. Fig. 7 shows a four bit carry skip adder block. It is quickly determined by each block, that whether the block s carry input is propagated to its carry output. If the block propagate P is one, the block carry input Cin is propagated as the block carry output Cout. An AND gate is used to generate a block propagate signal P. Fig. 8 shows the proposed carry skip compatible Full adder constructed with TSG gate. 5N Figure 6. Ripple Carry Adder Using The TSG Gate 1) Evaluation of the Ripple Carry Adder It can be inferred, from the Fig. 6 that for N bit addition; the proposed ripple carry adder architecture uses only N reversible gates and produces only garbage outputs. There also exists previously proposed ripple carry adders in the literature. But, the ripple carry adder using our proposed TSG gate is the most optimized one. Table III shows the Figure 7. Four Bit Carry Skip Adder Block

Figure 8. Full adder (With Propagate) Using TSG Gate The conventional skip block in Fig. 7 uses the AND-OR gate combination. Fig. 9 shows the block diagram of the carry skip adder block constructed with TSG gates and Fredkin gates (FG). The three FGs in the middle of Fig. 9 are used to perform the AND4 operation. This will generate the block propagate signal P. The single FG in the left side of Fig. 9 performs the AND-OR function to create the carry skip logic and generate the block carry out signal Cout. In the proposed carry Skip adder, the FG propagates the block s carry input to the next block if the block propagate signal P is one; otherwise, the most significant full adder carry C4 is propagated to the next block. The traditional carry skip AND-OR logic in Fig. 7 and the carry skip logic in Fig. 9 do not have the equivalent truth Tables but it must be noted that the Fredkin carry skip logic more faithfully adheres to the spirit of carry skip addition by propagating the correct value of Cin to Cout. The FG carry skip logic in Fig. 9 can lead to improve carry propagation, when the block carry propagate signal P is one. When P is one, the block carry input Cin must propagate to the next block, independent of the result of the carry C4 created by the full adders within the block. When P=0, the traditional AND-OR carry skip logic in Fig. 9 must account for sending C4, it does not perform its carry skip operation efficiently. The Fredkin carry skip logic in Fig. 9 passes Cin to Cout whenever P=1, regardless of C4. The savings in time can be quite significant as block sizes increases. The proposed N bit carry skip adder requires N TSG gates for implementation of ripple carry adder. Further, the N input AND gate will require N-1 FGs. Thus the total gates required in proposed N bit carry save adder is. Table IV shows the comparative results of reversible carry skip adders. TABLE IV. [9] COMPARATIVE RESULTS OF DIFFERENT REVERSIBLE CARRY SKIP ADDER CIRCUITS 6N 1 Figure 9. Four Bit Carry Skip Adder Block Using TSG and Fredkin (F) gates IV. CONCLUSIONS The focus of this paper is the proposal of new reversible 4*4 TSG gate. The proposed TSG gate is being used to design optimized architectures of ripple carry and carry skip adders. It is proved that the adder architectures using the proposed TSG gate are better than the existing counterparts in literature, in terms of number of reversible gates and garbage outputs. All the proposed architectures are analyzed in terms of technology independent implementations. The technology independent analysis is necessary since quantum or optical logic implementations are not available. There are a number of significant applications of reversible logics such as low power CMOS, quantum computing, nanotechnology, and optical computing and the proposed TSG gate and efficient adder architectures are one of the contributions to reversible logic. The proposed circuit can be used to design large reversible systems. In a nutshell, the advent of reversible logic will significantly contribute in reducing the power consumption. Thus, the paper provides the initial threshold to build more complex systems which can which can execute more complicated operations. The reversible circuits designed and proposed here form the basis of the ALU of a primitive quantum CPU.

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 Reversibility of Computation, IBM J. Research and Development, pp. 525-532, November 1973. [3] E. Fredkin, T Toffoli, Conservative Logic, International Journal of Theor. Physics, 21(1982),pp.219-253. [4] T. Toffoli., Reversible Computing, Tech memo MIT/LCS/TM- 151, MIT Lab for Computer Science (1980). [5] Alberto LEPORATI, Claudio ZANDRON, Giancarlo MAURI," Simulating the Fredkin Gate with Energy{Based P Systems", Journal of Universal Computer Science,Volume 10,Issue 5,pp 600-619. [6] Md. M. H Azad Khan, Design of Full-adder With Reversible, International Conference on Computer and Information Technology, Dhaka, Bangladesh, 2002, pp. 515-519. [7] Hafiz Md. Hasan Babu, Md. Rafiqul Islam, Syed Mostahed Ali Chowdhury and Ahsan Raja Chowdhury, Reversible Logic Synthesis for Minimization of Full Adder, Proceedings of the EuroMicro Symposium on Digital System Design(DSD 03), 3-5 September 2003, Belek- Antalya, Turkey,pp-50-54. [8] Hafiz Md. Hasan Babu, Md. Rafiqul Islam, Syed Mostahed Ali Chowdhury and Ahsan Raja Chowdhury," Synthesis of Full- Adder Using Reversible Logic",Proceedings 17th International Conference on VLSI Design (VLSI Design 2004), January 2004, Mumbai, India,pp-757-760. [9] J.W. Bruce, M.A. Thornton,L. Shivakumariah, P.S. Kokate and X.Li, "Efficient Adder s Based on a Conservative Logic Gate", Proceedings of the IEEE Computer Society Annual Symposium on VLSI(ISVLSI'02),April 2002, Pittsburgh, PA, USA, pp 83-88. [10] Vlatko Vedral, Adriano Bareno and Artur Ekert, Quantum Networks for Elementary Arithmetic Operations, arxiv:quantph/9511018 v1, nov 1995. [11] Himanshu Thapliyal, M.B Srinivas and Hamid R. Arabnia, "A Need of Quantum Computing: Reversible Logic Synthesis of Parallel Binary Adder-Subtractor", The 2005 International Conference on Embedded System and Applications(ESA'05), Las Vegas, U.S.A, June 2005, pp- 60-67. [12] Himanshu Thapliyal, M.B Srinivas and Hamid R. Arabnia, " A Reversible Version of 4 x 4 Bit Array Multiplier With Minimum and ", The 2005 International Conference on Embedded System and Applications(ESA'05), Las Vegas, U.S.A, June 2005,pp-106-114. [13] Himanshu Thapliyal, M.B Srinivas and Hamid R. Arabnia, "Reversible Logic Synthesis of Half, Full and Parallel Subtractors", The 2005 International Conference on Embedded System and Applications (ESA'05), Las Vegas, U.S.A, June 2005,pp-165-172. [14] Hafiz Md. Hasan Babu, Md. Rafiqul Islam, Ahsan Raja Chowdhury and Syed Mostahed Ali Chowdhury, On the Realization of Reversible Full-Adder, International Conference on Computer and Information Technology, Dhaka, Bangladesh, 2003, Vol. 2, pp. 880-883.