TESTING OF STUCK AT FAULTS IN REVERSIBLE SEQUENTIAL CIRCUITS USING VERILOG HDL

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

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

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

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

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Lesson 12 Sequential Circuits: Flip-Flops

ASYNCHRONOUS COUNTERS

Master/Slave Flip Flops

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

TRUE SINGLE PHASE CLOCKING BASED FLIP-FLOP DESIGN

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

A New Paradigm for Synchronous State Machine Design in Verilog

BINARY CODED DECIMAL: B.C.D.

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Set-Reset (SR) Latch

Lecture 8: Synchronous Digital Systems

Testing Low Power Designs with Power-Aware Test Manage Manufacturing Test Power Issues with DFTMAX and TetraMAX

Module 3: Floyd, Digital Fundamental

Theory of Logic Circuits. Laboratory manual. Exercise 3

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

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

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

Sequential Logic Design Principles.Latches and Flip-Flops

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Counters and Decoders

FPGA Implementation of an Advanced Traffic Light Controller using Verilog HDL

Design and analysis of flip flops for low power clocking system

ECE380 Digital Logic

Efficient Interconnect Design with Novel Repeater Insertion for Low Power Applications

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

Two-Phase Clocking Scheme for Low-Power and High- Speed VLSI

Design Verification & Testing Design for Testability and Scan

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

Design Verification and Test of Digital VLSI Circuits NPTEL Video Course. Module-VII Lecture-I Introduction to Digital VLSI Testing

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Design of Binary to BCD Code Converter using Area Optimized Quantum Dot Cellular Automata Full Adder

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

A Survey on Sequential Elements for Low Power Clocking System

Lecture-3 MEMORY: Development of Memory:

Introduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems

7. Latches and Flip-Flops

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.

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters

Lecture 7: Clocking of VLSI Systems

EXPERIMENT 8. Flip-Flops and Sequential Circuits

Chapter 9 Latches, Flip-Flops, and Timers

Using reverse circuit execution for efficient parallel simulation of logic circuits

Performance of Flip-Flop Using 22nm CMOS Technology

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design

CHAPTER 3 Boolean Algebra and Digital Logic

S. Venkatesh, Mrs. T. Gowri, Department of ECE, GIT, GITAM University, Vishakhapatnam, India

Fault Modeling. Why model faults? Some real defects in VLSI and PCB Common fault models Stuck-at faults. Transistor faults Summary

Wiki Lab Book. This week is practice for wiki usage during the project.

CHAPTER 11: Flip Flops

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

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

Memory Elements. Combinational logic cannot remember

CHAPTER 11 LATCHES AND FLIP-FLOPS

Asynchronous Counters. Asynchronous Counters

Combinational Controllability Controllability Formulas (Cont.)

Engr354: Digital Logic Circuits

Operating Manual Ver.1.1

CS311 Lecture: Sequential Circuits

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Combinational Logic Design Process

LOW POWER DESIGN OF DIGITAL SYSTEMS USING ENERGY RECOVERY CLOCKING AND CLOCK GATING

Latch Timing Parameters. Flip-flop Timing Parameters. Typical Clock System. Clocking Overhead

Systems I: Computer Organization and Architecture

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

CONSTRAINT RANDOM VERIFICATION OF NETWORK ROUTER FOR SYSTEM ON CHIP APPLICATION

Digital Logic Design Sequential circuits

LOW POWER DUAL EDGE - TRIGGERED STATIC D FLIP-FLOP

Power Reduction Techniques in the SoC Clock Network. Clock Power

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

Microprocessor & Assembly Language

Low-resolution Image Processing based on FPGA

Chapter 2 Logic Gates and Introduction to Computer Architecture

Static-Noise-Margin Analysis of Conventional 6T SRAM Cell at 45nm Technology

Design and Implementation of Concurrent Error Detection and Data Recovery Architecture for Motion Estimation Testing Applications

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

Understanding Verilog Blocking and Non-blocking Assignments

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

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

Finite State Machine Design and VHDL Coding Techniques

QCADesigner: A Rapid Design and Simulation Tool for Quantum-Dot Cellular Automata

Study on Differential Protection of Transmission Line Using Wireless Communication

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

An Open Architecture through Nanocomputing

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 2, Issue 3, May 2013

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

Sequential Logic: Clocks, Registers, etc.

Arbitrary Density Pattern (ADP) Based Reduction of Testing Time in Scan-BIST VLSI Circuits

Transcription:

TESTING OF STUCK AT FAULTS IN REVERSIBLE SEQUENTIAL CIRCUITS USING VERILOG HDL M. Diana Amutha Priya and R. Arun Prasath Department of Electronics and Communication Engineering, Anna University Regional Office, Madurai, India E-Mail: amuthapriya1003@gmail.com ABSTRACT Conservative logic is one of the best nano technologies to design digital circuits. This paper proposes testable reversible sequential circuits based on conservative logic. Any sequential circuit can be tested for classical unidirectional stuck at faults 1 s using only two test vectors. The completely testable sequential circuits design based on conservative logic gates using fault leeway model is proposed here. The proposing fault leeway model consist of two test vectors all 0 s and 1 s. The proposing design of D latch, master slave flip-flop, DET flip-flop is done with the help of conservative logic gate (Fredkin gate). This results in reduction of testing time. With that result the proposed work takes some advantages such as reduced number of gates, reduced power consumption and reduced delay time. Keywords: conservative logic, classical unidirectional stuck at faults, fredkin gate. INTRODUCTION Energy dissipation is one of the major issues in present day technology. According to principle of Landauer s, the one bit of information is dissipate as ktln2 joules of energy where k is the Boltzmann s constant and T is the absolute temperature. In order to avoid ktln2 joules of energy dissipation in a circuit it must be built from reversible circuits. The reversible circuits can generate a unique output vector from each input vector and vice versa that is, there is one-to-one mapping between input and output vectors. Reversible sequential circuits are considered as significant memory block for their ultra-low power consumption. Conservative logic is called by reversible conservative logic when there is a one-to-one mapping between the inputs and the outputs vectors along with the property that there are equal numbers of 1s in the outputs as in the inputs. The reversible gates used to design the conventional logic are so chosen to minimize the number of reversible gates used. The class of reversible elements that can be modeled as binary-valued logic circuits will be called classical reversible logic elements is the aim of the paper. The design can be completely testable for any unidirectional stuck-at faults by only two test vectors. In the theory of digital circuit, sequential logic is a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its inputs. The sequential logic has state (memory). In synchronic consecutive circuits, the state of the device changes only at discrete times in reaction to a clock signal. PROPOSED METHODOLOGY The objectives need to satisfy the reversible circuit. There are more number of gates present here; the design minimize the number of garbage outputs and Synthesis. In this, the design of two vectors testable sequential circuits based on conservative logic gates are proposed. The sequential circuits based on conservative logic gates outperform the sequential circuits implemented in classical gates in terms of testability is proposed here. Any sequential circuit based on conservative logic gates can be tested for classical unidirectional stuck-at faults using only two test vectors, that are all 1s and all 0s. It s for the designs of latches, master- slave flip-flops and flipflops are presented. The DET significance of the proposed work lies in the fact that it provides the design of reversible sequential circuits completely testable for any stuck- at fault by all 0s and 1s, so the need for any type of scan-path access to internal memory cells is eliminated. New reversible logic gates are introduced using Boolean expansion but the designs of reversible sequential circuits using Fredkin gate are introduced to minimize the testing time and delay number of garbage outputs. DESIGN OF FREDKIN GATE The Fredkin gate is the three-bit gate that swaps the last two bits if the first bit is 1. The basic Fredkin gate is a controlled swap gates that maps three inputs (C, I1, I2) onto three outputs (C, O1, O2). Figure-1. Fredkin gate. 2974

The C input is mapped directly to the C output. If C = 0, no swap is performed; first input maps to first output, and second input maps to O2. If not, the outputs are swapped. So that first input will map on to second output and second input will map on to first output. Table-1. Truth for Fredkin gate. A B C P Q R 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 1 0 Figure-3. C1 = 1 and C2 =1. (iii) Fredkin gate based D latch in test mode for stuck-at- 1 fault: C1 = 0 and C2 =0 0 1 1 0 1 1 1 0 0 1 0 0 1 0 1 1 1 0 1 1 0 1 0 1 a) Design of testable reversible D latch using Fredkin Gate It has two modes of operation that are normal mode and test mode. In Normal mode, when C1=0 and C2=1 the latch can work as a D latch In Test mode, when C1C2=00, the output T1=0 resulting in making it testable with all zeros input vectors. So stuck-at-1 fault can be detected. When C1C2=11, the output T1=1 resulting in making it testable with all one s input vectors. So stuck-at-0 fault can be detected. Figure-4. C1 = 0 and C2 = 0. Table-2. Truth for Fredkin gate based D latch. (i) Fredkin gate based D Latch in normal mode: C1 = 0 and C2 = 1 Figure-2. C1 = 0 and C2 = 1. b) Design of testable reversible master-slave flip-flops The master-slave strategy uses one latch as a master and the other latch as a slave is used to design the reversible flip-flops but the proposed design of testable flip-flops using the master slave strategy that can be tested for any stuck-at faults using only two test vectors, all 0s and all 1s. (ii) Fredkin gate based D latch in test mode for stuck-at-0 fault: C1 = 1 and C2 =1 2975

Figure-6. Fredkin gate based reversible det flip-flop. Figure-5. Fredkin gate based reversible master slave flipflop. Table-4. Truth for Fredkin gate based reversible masterslave flip-flops. Table-3. Truth for Fredkin gate based reversible masterslave flip-flops. RESULTS FOR PROPOSED SYSTEM SIMULATION Result for Fredkin gate c) Design of testable double edge triggered flipflop The DET flip-flop is a computing circuit that samples and stores the input data at both the edges that is at both the rising and the falling edge of the clock. The most popular way of designing the flip flop is the master slave strategy. E refers to the clock and is used interchangeably in place of clock here. In the negative edge triggered master-slave flip-flop when E = 1 (the clock is high), the master passes the input data where the slave maintains the previous state. When E = 0 (the clock is low), the master latch is storage state, at that time the slave latch passes the output of the master latch to its output. 2976

Simulation result for fredkin gate based D latch Simulation result for fredkin gate based master slave flip flop CONCLUSIONS The design of conservative reversible sequential circuit using Fredkin gate is designed. The design is tested using the two test vectors all zeros and all ones. The testing of conservative reversible sequential circuits like Fredkin gate based D latch, Fredkin gate based Master Slave D flip flop can be tested using the test vectors of all zeros and all ones but the double edge triggered flip flop cannot. Due to the faulty parts which are present in the DET flip flop the 100% result is achieved and also the coverage of stuck at zero fault and stuck at 1 fault using two test vectors as all zeros and all ones is achieved for Master Slave D-Flip Flop and D-Latch. REFERENCES [1] Himanshu Thapiliyal, Nagarajan Ranganathan and SaurabhKotiyal. 2013. Design of Testable Reversible Sequential Circuits IEEE transaction on vlsi systems, vol. 21. No. 7, July. [2] J. Ren and V. K. Semenov. 2011 Progress with physically and logically reversible superconducting digital circuits, IEEE Trans. Appl. Superconduct., Vol. 21, no. 3, pp. 780 786, June. Simulation result for fredkin gate based det flip flop [3] S. F. Murphy, M. Ottavi, M. Frank, and E. DeBenedictis. 2006. On the design of reversible QDCA systems, Sandia National Laboratories, Albuquerque, NM, Tech. Rep. SAND2006-5990. [4] H. Thapliyal and N. Ranganathan. 2010. Reversible logic-based concurrently testable latches for molecular QCA, IEEE Trans. Nanotechnol., Vol. 9,no. 1, pp. 62 69, January. [5] P. Tougaw and C. Lent. 1994. Logical devices implemented using quantum cellular automata, J. Appl. Phys., Vol. 75, no. 3, pp. 1818 1825, November. Table-5. Comparison result. [6] H. Thapliyal, M. B. Srinivas, and M. Zwolinski. 2005. A beginning in the reversible logic synthesis of sequential circuits, in Proc. Int. Conf. Military Aerosp. Program. Logic Devices, Washington, DC, September, pp. 1 5. [7] P. Tougaw and C. Lent. 1996. Dynamic behavior of quantum cellular automata, J. Appl. Phys., Vol. 80, no. 8, pp. 4722 4736, October. [8] M. B. Tahoori, J. Huang, M. Momenzadeh and F. Lombardi. 2004. Testing of quantum cellular automata, IEEE Trans. Nanotechnol., Vol. 3, no. 4, pp. 432 442, December. [9] G. Swaminathan, J. Aylor and B. Johnson. 1990. Concurrent testing of VLSI circuits using 2977

conservative logic, in Proc. Int. Conf. Comput. Design, Cambridge, MA, September, pp. 60 65. [10] E. Fredkin and T. Toffoli. 1982. Conservative logic, Int. J. Theor.Phys., Vol. 21, nos. 3 4, pp. 219 253. [11] P. Kartschoke. 1992. Implementation issues in conservative logic networks, M.S. thesis, Dept. Electr. Eng., Univ. Virginia, Charlottesville. [12] G. Swaminathan. 1989. Concurrent error detection techniques using parity, M.S. thesis, Dept. Electr. Eng., Univ. Virginia, Charlottesville. [13] M. Pedram, Q. Wu and X. Wu. 1998. A new design for double edge triggered flip-flops, in Proc. Asia South Pacific Design Autom. Conf., pp. 417 421. [14] X. Ma, J. Huang, C. Metra and F. Lombardi. 2008. Reversible gates and testability of one dimensional arrays of molecular QCA, J. Electr. Test., vol. 24, nos. 1 3, pp. 1244 1245, January. [15] M. Momenzadeh, M. Ottavi and F. Lombardi. 2005. Modeling QCA defect at molecular level in combinational circuits, In: Proc. DFT VLSI Syst., Monterey, pp. 208 216. 2978