Presentation is loading. Please wait.

Presentation is loading. Please wait.

Online Testable Fault Tolerant Full Adder in Reversible Logic Synthesis Sajib Kumar Mitra MS/2008-09 Department of Computer Science and Engineering University.

Similar presentations


Presentation on theme: "Online Testable Fault Tolerant Full Adder in Reversible Logic Synthesis Sajib Kumar Mitra MS/2008-09 Department of Computer Science and Engineering University."— Presentation transcript:

1 Online Testable Fault Tolerant Full Adder in Reversible Logic Synthesis Sajib Kumar Mitra MS/2008-09 Department of Computer Science and Engineering University of Dhaka sajibmitra.csedu@yahoo.com

2 Overview Background Study  Reversible Logic  Fault Tolerant Method  Online Testability Online Testable Fault Tolerant Circuit Full Adder Circuit  Existing Design  Proposed Design Performance Analysis About Authors Conclusion

3 Reversible Logic Unique mapping between input and output vectors which governs to have same number of input-output lines of any reversible circuit Recovers heat dissipation unlikely irreversible logic and uses low power CMOS technology Feedback and Fan-out are not allowed Single unit able to compute more than one operation

4 Reversible Logic (cont…) An (n x n) Reversible Circuit

5 Reversible Logic (cont…) Unique mapping of Reversible Circuit O1O2O3...OnO1O2O3...On Output Vector I1I2I3...InI1I2I3...In Input Vector

6 Reversible Logic (cont…) An (n x n) Reversible Circuit Architecture

7 Reversible Logic (cont…) Reversible EX-OR operation and 2x2 Feynman Gate

8 Reversible Logic (cont…) Popular 3x3 Reversible Gates

9 Reversible Logic (cont…) 4x4 Reversible Gates

10 Reversibility prevents Bit Loss but not able to detect Bit Error or Fault in Circuit

11 Fault Tolerant Method Bit Error means the alteration of the value of output bits because of internal fault of digital circuit. InputOutput ABAA B 0000 0101 1011 1110 What is the meaning of Bit Error? Bit Error in Reversible Circuit

12 Fault Tolerant Method (cont…) Bit Error means the alteration of the value of output bits because of internal fault of digital circuit. InputOutput ABAA B 0000 0101 1011 1110 What is the meaning of Bit Error? Bit Error in Reversible Circuit

13 Fault Tolerant Method (cont…) Preserves same parity between Input and Output vectors over one to one mapping of reversible circuit Parity Preservation of Reversible Circuit

14 Fault Tolerant Method (cont…) Let, I v and O v are input and output vectors of a reversible circuit, so the relation is I v ↔O v. But to be a Reversible Fault Tolerant circuit, itself must preserve following equation: where I v ={ I 1, I 2, I 3, …, I n } and O v ={ O 1, O 2, O 3, …, O n } Input Parity = Output Parity

15 Fault Tolerant Method (cont…) Parity Preservation over reversibility between Input and Output vectors can be realized from the Truth Table of Fredkin Gate as shown below: Fredkin Gate and Corresponding Truth Table InputOutput ABCPQR 000000 001001 010010 011011 100100 101110 110101 111111

16 Fault Tolerant Method (cont…) InputOutput ABCPQR 000000 001001 010010 011011 100100 101110 110101 111111 Fredkin Gate and Corresponding Truth Table Now Verify the following equation:

17 Fault Tolerant Method (cont…) Fault detection of FRG gate Verify the following equation: Fault exist in Circuit No Fault exist in Circuit

18 Fault Tolerant Method (cont…) But the minimum dimension of Fault Tolerant gates is 3. Why? Finally Reversible Gate which preserves same parity between input and output vectors is called Fault Tolerant Gate or Parity Preserving Gate InputOutput AA’ 01 10 1x1 Reversible Gate Never be a Fault Tolerant Gate NOT operation

19 Fault Tolerant Method (cont…) But the minimum dimension of Fault Tolerant gates is 3. Why? InputOutput ABPQ 0000 0101 1010 1111 2x2 Reversible Gates have no any significance as Fault Tolerant Gate InputOutput ABPQ 0000 0110 1001 1111 InputOutput ABPQ 0011 0110 1001 1100 InputOutput ABPQ 0011 0101 1010 1100

20 Fault Tolerant Method (cont…) Existing 3x3 and 4x4 Fault Tolerant Gates

21 Online Testability Built-In Self Testing method Detects bit-error at outputs of any circuit in run time Reversible gates able to adopt testability feature by deducing output and corresponding input bits To be online testable an ( n x n) reversible gates must preserve the following properties: where I v ={ I 1, I 2, I 3, …, I n } and O v ={ O 1, O 2, O 3, …, O n }

22 Online Testability (cont…) To be online testable an ( n x n) reversible gates must have the following properties: 3x3 F2G is not online Testable Gates But F2G can be Testable by deducing extra an input and corresponding output line.

23 Online Testability (cont…) To be online testable an ( n x n) reversible gates must have the following properties: Testing OutputTesting Input

24 Online Testability (cont…) Verification of Testable F2G at Runtime

25 Online Testability (cont…) Verification of Testable F2G at Runtime

26 Online Testability (cont…) Verification of Testable F2G at Runtime

27 Online Testability (cont…)

28

29 Operational Outputs Testing Outputs Testing Inputs (Constant Value) Operational Inputs TRC is a Cascading Block not Gate

30 Online Testability (cont…) Conversion of nxn Reversible Gate into (n+2)x(n+2) reversible Cell Testable R based on following Law: Testable Reversible Cell by using Cascading Attachment

31 Reversible Fault Tolerant Full Adder Circuit Full Adder circuit produces Sum and C out as following equations respectively: Full Adder can be realized by using only one MTSG gate as follows:

32 Reversible Fault Tolerant Full Adder Circuit (cont…) Pros o Garbage = 2 o Gate = 1 o Quantum Cost = 6 Cons Neither Fault Tolerant nor Online testable You have to make Fault Tolerant and Online Testable circuit by using fault Tolerant Gates. So start now…

33 Existing Fault Tolerant Fault Tolerant Adder Circuit By using MIG… Design is Fault tolerant but uses higher dimensional reversible Gates To make online testable, circuit has to increase an extra input-output line

34 Proposed Design of Fault Tolerant Full Adder Uses 3x3 Fault Tolerant gates Easily adoptable to online testable full adder Minimum number of Garbage, 3 Preferable for Carry Look Ahead adder

35 Proposed Design of Online Testable Fault Tolerant Full Adder

36 Performance Analysis Fault Tolerant Full Adder Total Gates Total Garbage Quantum Cost 3x34x4 Proposed [b]40311 Existing [a]02314 Table 1: Comparison between proposed and existing design

37 About Author Ahsan Raja Chowdhury received his B.Sc.and MS degrees in Computer science and Engineering from the University of Dhaka, Bangladesh, in 2004 and 2006, respectively. He worked with the Department of Computer Science and Engineering, Northern University, Bangladesh, from 2004 to 2007 as faculty member. He is the faculty member of the Department of Computer Science and Engineering, Sajib Kumar Mitra is an MS student of Dept. of Computer Science and Engineering, University of Dhaka, Dhaka, Bangladesh. His research interests include Electronics, Digital Circuit Design, Logic Design, and Reversible Logic Synthesis. Md. Faisal Hossain has completed his undergraduate from Dept. of Computer Science and Engineering, University of Dhaka, Dhaka, Bangladesh. His research interest includes Logic Design, especially Reversible Logic Design.

38 Thanks To All


Download ppt "Online Testable Fault Tolerant Full Adder in Reversible Logic Synthesis Sajib Kumar Mitra MS/2008-09 Department of Computer Science and Engineering University."

Similar presentations


Ads by Google