Design of a Novel Fault Tolerant Reversible Full Adder for Nanotechnology Based Systems

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

A Beginning in the Reversible Logic Synthesis of Sequential Circuits

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

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

Design of Reversible Random Access Memory

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

FEASIBLE METHODOLOGY FOR OPTIMIZATION OF A NOVEL REVERSIBLE BINARY COMPRESSOR

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

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

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

Let s put together a Manual Processor

ONLINE TESTING IN TERNARY REVERSIBLE LOGIC

Multipliers. Introduction

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

Understanding Logic Design

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

Binary Adders: Half Adders and Full Adders

Chapter 2 Logic Gates and Introduction to Computer Architecture

Implementation and Design of AES S-Box on FPGA

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

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

(Refer Slide Time: 00:01:16 min)

International Journal of Electronics and Computer Science Engineering 1482

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

Two's Complement Adder/Subtractor Lab L03

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

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

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

Binary full adder. 2-bit ripple-carry adder. CSE 370 Spring 2006 Introduction to Digital Design Lecture 12: Adders

COMBINATIONAL CIRCUITS

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

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

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

VHDL Test Bench Tutorial

Efficient Interconnect Design with Novel Repeater Insertion for Low Power Applications

ASYNCHRONOUS COUNTERS

LOW POWER MULTIPLEXER BASED FULL ADDER USING PASS TRANSISTOR LOGIC

CSE140 Homework #7 - Solution

High Speed Gate Level Synchronous Full Adder Designs

Modeling and Performance Evaluation of Internet of Things based on Petri Nets and Behavior Expression

Counters and Decoders

Figure 8-1 Four Possible Results of Adding Two Bits

SIM-PL: Software for teaching computer hardware at secondary schools in the Netherlands

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

Lecture 8: Synchronous Digital Systems

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

Lab 1: Full Adder 0.0

Module 3: Floyd, Digital Fundamental

MODIFIED RECONSTRUCTABILITY ANALYSIS FOR MANY-VALUED FUNCTIONS AND RELATIONS

Introduction to computer science

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

3.Basic Gate Combinations

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

EXPERIMENT 4. Parallel Adders, Subtractors, and Complementors

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 5. LECTURE: REGISTERS AND RELATED

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

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

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

BOOLEAN ALGEBRA & LOGIC GATES

Microprocessor & Assembly Language

An Open Architecture through Nanocomputing

IE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1)

Systems I: Computer Organization and Architecture

Theory of Logic Circuits. Laboratory manual. Exercise 3

Flip-Flops, Registers, Counters, and a Simple Processor

ABC inventory classification withmultiple-criteria using weighted non-linear programming

How To Fix A 3 Bit Error In Data From A Data Point To A Bit Code (Data Point) With A Power Source (Data Source) And A Power Cell (Power Source)

HIGH SPEED AREA EFFICIENT 1-BIT HYBRID FULL ADDER

FPGA Implementation of an Advanced Traffic Light Controller using Verilog HDL

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

Basic Logic Gates Richard E. Haskell

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

DEPARTMENT OF INFORMATION TECHNLOGY

Error Detection and Data Recovery Architecture for Systolic Motion Estimators

10 BIT s Current Mode Pipelined ADC

Gates, Circuits, and Boolean Algebra

7. Latches and Flip-Flops

Review of Error Detection of Data Link Layer in Computer Network

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

Digital Systems and Microelectronics Emphasis Area

Delay Time Analysis of Reconfigurable Firewall Unit

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

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

Lecture 4: Binary. CS442: Great Insights in Computer Science Michael L. Littman, Spring I-Before-E, Continued

Mixed Logic A B A B. 1. Ignore all bubbles on logic gates and inverters. This means

CHAPTER 3 Boolean Algebra and Digital Logic

Development of Tool for Mapping Conventional Circuit to Reversible Logic

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

DEFECT ANALYSIS OF QUANTUM-DOT CELLULAR AUTOMATA COMBINATIONAL CIRCUIT USING HDLQ

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN.

BINARY CODED DECIMAL: B.C.D.

STUDENT OUTCOMES ASSESSMENT PLAN (SOAP)

Today. Binary addition Representing negative numbers. Andrew H. Fagg: Embedded Real- Time Systems: Binary Arithmetic

DESIGN OF AN ERROR DETECTION AND DATA RECOVERY ARCHITECTURE FOR MOTION ESTIMATION TESTING APPLICATIONS

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

Using reverse circuit execution for efficient parallel simulation of logic circuits

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

Digital Electronics Detailed Outline

TRUE SINGLE PHASE CLOCKING BASED FLIP-FLOP DESIGN

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

Transcription:

World pplied Sciences Journal 3 (1): 114-118, 28 ISSN 1818-4952 IDOSI Publications, 28 Design of a Novel Fault Tolerant Reversible Full dder for Nanotechnology ased Systems 1 Majid Haghparast and 2 Keivan Navi 1 Islamic zad University, Science and Research ranch, Tehran, Iran 2 Faculty of Electrical and omputer Engineering, Shahid eheshti University, Tehran, Iran bstract: Reversible computation plays an important role in the synthesis of circuits having application in quantum computing, low power MOS design, bioinformatics and nanotechnology-based systems. onventional logic circuits are not reversible. reversible circuit maps each input vector, into a unique output vector and vice versa. We demonstrate how the well-known and very useful, Toffoli gate can be synthesized from only two parity-preserving reversible gates. Parity preserving reversible gates refers to those reversible gates for which the parity of the outputs matches that of the inputs. The proposed parity preserving Toffoli gate renders a wide class of circuit faults readily detectable at the circuit s outputs. It allows any fault that affects no more than a single signal to be detectable at the circuit s primary outputs. We show that our proposed parity-preserving Toffoli gate is much better in terms of number of reversible gates, number of garbage outputs and hardware complexity with compared to the existing counterpart. Then we apply the proposed fault tolerant Toffoli gate to the design of a fault tolerant reversible full adder, which is a versatile and widely used building block in computer arithmetic. Key words: Quantum computing nanotechnology based systems full-adder fault tolerant reversible computing INTRODUTION Irreversible hardware computation results in energy dissipation due to information loss. ccording to R. Landauer s research in the early 196s, the amount of energy (heat) dissipated for every irreversible bit operation is given by KTln2, where K = 1.38655*1 23 JK 1 is the oltzmann constant and T is the operating temperature [1]. In 1973, ennett showed that KTln2 energy would not dissipate from a system as long as the system allows the reproduction of the inputs from observed outputs [2, 3]. gate or a circuit is said to be reversible if there is a one-to-one correspondence between its input and output assignments, i.e. not only the outputs can be uniquely determined from the inputs, but also the inputs can be recovered from the outputs [4-6]. Thus, reversible logic gates (or circuits) are information-lossless. Furthermore, reversible gates are of major interest in optical computing, low power design, quantum computing and nanotechnology based systems. It is not possible to realize quantum computing without reversible logic. Neither feedback (loop) nor fan-out is permitted in reversible logic circuits. Thus, synthesis of reversible logic is different from conventional logic synthesis [8]. It is also more difficult to make a fault-tolerant reversible circuit than a conventional logic circuit. MTERILS ND METHODS Reversible Logic Gates: There is a number of commonly used reversible logic gate such as Feynman Gate, FG [7], Toffoli Gate, [8], Fredkin Gate, [9], New Gate, NG [1], Feynman Double Gate, [11] and Peres Gate, [15]. 2*2 Feynman Gate, also known as controlled NOT (1-NOT), is depicted in Fig. 1. It imp lements the logic functions: P = and Q =. 3*3 Toffoli Gate has 3 inputs: 2 control inputs, that are copied to the first 2 outputs and one other input that is complemented if all control inputs are 1s and is directly copied to the last output otherwise [11]. 3- input, 3-output Toffoli Gate is shown in Fig. 2. The inputs and are passed as first and second outputs respectively. The third output is controlled by and to invert. Fig. 1: Feynman gate FG P Q [ orresponding uthor: Mr. Majid Haghparast, Islamic zad University, Science and Research ranch, Tehran Iran 114

World ppl. Sci. J., 3 (1): 114-118, 28 Fig. 2: Toffoli gate Fig. 3: Fredkin gate P Q R [ P Q [ R [ Table 1: Truth table of the paity preserving fredkin gate P Q R 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Fig. 4: New gate Fig. 5: Feynman double gate Fig. 6: Peres gate NG P Q [ R [ P Q [ R [ P Q [ R [ 3*3 Fredkin Gate is shown in the Fig. 3. Here the input is passed as first output. Inputs and are swapped to get the second and third outputs, which is controlled by. If =, then the outputs are simply duplicates of the inputs; otherwise if = 1, then the two input lines ( and ) are swapped. 3*3 New Gate (NG) is depicted in Fig. 4. It can be defined as I v = (,, ) and O v = (P =, Q =, R = ). Where I v and O v are the input and output vectors. 3*3 Feynman Double Gate is depicted in Fig. 5. The gate is a Feynman Gate with an additional input and one more output. The extra input and output, along with the control input define a second controlled NOT operation. 3*3 Peres Gate (), is equivalent to the transformation produced by a Toffoli Gate followed by a Feynman Gate. Fig. 6 shows the block diagram of 3*3 Peres Gate (). Several other types of reversible gates have also been used. Parity preserving reversible gates: Most of arithmetic and other processing functions do not preserve the parity of the data. Parity checking is one of the most widely used methods for error detection in digital logic Table 2: Truth table of the paity preserving feynman double gate P Q R 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 systems. The author of [12, 13] performed arithmetic operations on specially encoded operands in a way that parity checking becomes applicable. ut such methods are not in widespread use. There are some problems using standard methods of error detection in reversible logic circuits, because fan-out is not permitted and it may increase the number of gates. On the other hand, we should care of number of garbage outputs. Garbage output refers to the output that is not used for further computations [14]. sufficient requirement for parity preservation of a reversible circuit is that each gate be parity preserving. In this case the input and output data can be checked in a manner that is off the computation s critical path. We need parity-preserving reversible gates in order to construct parity-preserving reversible circuits. There exist some parity-preserving reversible gates. It is to be noted that of the gates depicted in Fig. 1-6, only the gates and are parity-preserving. The corresponding truth table of the gates and are shown in the Table 1 and 2 respectively. It can be verified from the truth tables that the input pattern corresponding to a particular output pattern can be uniquely determined. These gates are parity preserving gates. This is readily verified by comparing the input parity to the output parity P Q R. In the other words, these gates satisfy the relation = P Q R. 115

DESIGN OF PRITY PRESERVING REVERSILE IRUITS New Parity Preserving Reversible ircuit: In this section, we show how the functionality of the well-known and very useful Toffoli gate can be synthesized by using only two parity preserving reversible gates. Then we apply it to the design of a binary fault tolerant reversible full adder circuit. parity preserving reversible circuit is presented in [11], which is shown in Fig. 7. The circuit requires three reversible gates (one Fredking gate and two gates) and produces two garbage outputs. Our proposed design is depicted in Fig. 8 respectively. The circuit shows how one gate and one gate can be used to synthesize a paritypreserving Toffoli gate. It produces one garbage output. New parity preserving reversible full adder: We next show how the proposed parity preserving reversible Toffoli gate can be used to synthesis a fault tolerant full adder circuit. Full adder is a versatile and widely used building block in digital arithmetic processing. Several researchers have proposed reversible full adder circuits [14, 16-2]. These designs are not parity preservable. Fig. 9 depicts a relatively simple full-adder circuit containing two Peres gates [11]. Each Peres gate composed of a Toffoli gate and a Feynman gate. We can state that the proposed fault tolerant circuit can be used to synthesis a novel parity preserving reversible full adder via simple substitution. The proposed parity-preserving reversible full adder [ Fig. 7: Existing with parity preservation, presented in [11] Fig. 8: Proposed parity preserving implementation using only two reversible gates World ppl. Sci. J., 3 (1): 114-118, 28 P= Q= [ [ R [ P= R [ Q= 116 g 1 [ g 2 SUM OUT Fig. 9: Existing Reversible inary Full dder in [11] without parity preservation Proposed Parity Preserving g 1 g 2 g 3 [ Fig. 1: Proposed parity preserving reversible full adder Proposed Parity Preserving using the proposed circuit is depicted in Fig. 1. This shows the applicability of our proposed paritypreserving circuit. RESULTS ND DISUSSION Evaluation of The Proposed Parity Preserving Reversible ircuit: Our proposed parity preserving reversible circuit performs better than the existing circuit presented in [11]. n experimental result will comprehend it clearly. Table 3 compares the proposed reversible circuit with the existing counterpart. One of the major constraints in reversible logic is to minimize the number of reversible gates used. In our proposed design approach we used only two reversible logic gates (one gate and one ). The existing design in [11] requires three reversible gates (one Fredkin Gate and two s), so we can state that the proposed circuit is better than [11] in term of number of reversible logic gates. nother significant criterion in designing a reversible circuit is to lessen number of garbage outputs. Every output of the gate that is not used as a primary output or as input to other gate is called garbage output. heavy price is paid for every garbage bit. The proposed reversible circuit produces one garbage output. The design in [11] produces two Table 3: omparative results of different parity preserving reversible Toffoli gate circuits This work Existing circuit [11] No. of gates 2 3 No. of garbage outputs 1 2 Total clock cycle 2 3 Total logical calculation 4α+4β+2δ 6α+4β+2d σ = Unit clock cycle, α = two input EX-OR gate calculation, β = two input ND gate calculation, d = NOT calculation g 4 [ out g 5 g 6 SUM

garbage outputs. Thus, we can state that our design is better than [11] in term of number of garbage outputs. This work requires only two clock cycles, but the design in [11] requires three clock cycles. Thus we can state that our design is better than the existing design in [11] in term of required clock cycles, which is one of the main factors of a circuit. Our proposed circuit is also better than [11] in term of complexity. Let α = two input EX-OR gate calculation β = two input ND gate calculation δ = NOT calculation T = Total logical calculation So, for [11]: T = 6α+4β+2δ For our proposed circuit: T = 4α+4β+2δ Thus, the propounded parity-preserving reversible circuit requires less logical calculations than [11]. So, Our proposed circuit is better than the circuit presented in [11] in all the terms. Evaluation of the proposed parity preserving reversible full adder: The proposed parity preserving reversible full adder requires six parity preserving reversible gates (four and two Fredkin gates) and produces six garbage outputs (g 1 to g 6 in Fig. 1). It requires six clock cycles (each proposed requires two clock cycles). Given that the proposed parity preserving in Fig. 8 is better than the existing counterpart in [11], The proposed parity preserving full adder is also better than the existing full adder in [11]. ONLUSION In this research, we synthesized a parity preserving reversible circuit. Table 3 illustrates that the proposed fault tolerant reversible circuit is better than the existing counterpart. The synthesis methods using Toffoli gates are widely available. Thus, our proposed parity-preserving circuit can be used in designing fault tolerant reversible circuits. We applied the proposed parity preserving circuit to the design of a parity preserving reversible full adder. Furthermore, the restrictions of reversible circuits were highly avoided. Synthesis of more parity-preserving reversible circuits are now being studied. We are also trying to minimize reversible circuits as well as full adder. REFERENES 1. Landauer, R., 1961. Irreversibility and heat generation in the computing process. IM J. Research and Development, 5 (3): 183-191. World ppl. Sci. J., 3 (1): 114-118, 28 117 2. ennett,.h., 1973. Logical reversibility of computation. IM J. Research and Development, 17: 525-532. 3. Hayes,., 26. Reverse engineering. m. Sci., 94: 17-111. 4. Kerntopf, P., M.. Perkowski and M.H.. Khan, 24. On universality of general reversible multiple valued logic gates. IEEE Proc. 34th Intl. Symp. Multiple Valued Logic, (ISMVL 4). 5. Perkowski, M.,. l-rabadi, P. Kerntopf,. uller, M. hrzanowska-jeske,. Mishchenko, M. zad Khan,. oppola, S. Yanushkevich, V. Shmerko and L. Jozwiak, 21. general decomposition for reversible logic. Proc. RM 21, Starkville, pp: 119-138. 6. Perkowski, M. and P. Kerntopf, 21. Reversible Logic. Invited tutorial. Proc. EURO-MIRO, Sept 21, Warsaw, Poland. 7. Feynman, R., 1985. Quantum mechanical computers. Optics News, 11: 11-2. 8. Toffoli, T., 198. Reversible computing. Tech Memo MIT/LS/TM-151, MIT Lab for omputer Science. 9. Fredkin, E. and T. Toffoli, 1982. onservative logic. Intl. J. Theoretical Phy., 21: 219-253. 1. zad Khan, Md.M.H., 22. Design of full adder with reversible gate. International onference on omputer and Information Technology, Dhaka, angladesh, pp: 515-519. 11. Parhami,., 26. Fault tolerant reversible circuits, Proc. 4th silomar onf. Signals, Systems and omputers, October 26, Pacific Grove,, pp: 1726-1729. 12. Parhami,., 22. Parity preserving transformations in computer arithmetic, Proc. SPIE onf. dvanced Signal Processing lgorithms, rchitectures and Implementations XII, July 22, pp: 43-411. 13. Parhami,., 22. n approach to the design of parity-checked arithmetic circuits. Proc. 36th silomar onf. Signals, Systems and omputers, November 22, pp: 184-188. 14. Thapliyal, H. and M.. Srinivas, 25. Novel reversible TSG gate and its application for designing reversible carry look ahead adder and other adder architectures. Proceedings of the 1th sia-pacific omputer Systems rchitecture onference (S 5). Lecture Notes of omputer Science, 374: 775-786. Springer- Verlag. 15. Peres,., 1985. Reversible logic and quantum computers. Physical Rev., 32: 3266-3276.

World ppl. Sci. J., 3 (1): 114-118, 28 16. zad Khan, Md.M.H., 22. Design of full adder with reversible gate. International onference on omputer and Information Technology. Dhaka, angladesh, pp: 515-519. 17. ruce, J.W., M.. Thornton, L. Shivakumariah, P.S. Kokate and X. Li, 22. Efficient adder circuits based on a conservative logic gate. Proceedings of the IEEE omputer Society nnual Symposiu m on VLSI (ISVLSI 2). pril 22, Pittsburgh, P, US, pp: 83-88. 18. Khlopotine,., M. Perkowski and P. Kerntopf, 22. Reversible logic synthesis by gate composition. Proceedings of IWLS 22, pp: 261-266. 19. Hasan abu, H. Md., Md. Ra fiqul Islam, hsan Raja howdhury and Syed Mostahed li howdhury, 23. On the realization of reversible full adder circuit. International onference on omputer and Information Technology. Dhaka, angladesh, 2: 88-883. 2. Hasan abu, H.Md., Md. Rafiqul Islam, Syed Mostahed li howdhury and hsan Raja howdhury, 24. Synthesis of full adder circuit using reversible logic. Proceedings 17th International onference on VLSI Design (VLSI Design 24). Mumbai, India, pp: 757-76. 118