Design of Testable Reversible Toggle Flip Flop

Similar documents
A METHODOLOGY IN THE DESIGN OF TESTABLE SEQUENTIAL CIRCUITS BY USING REVERSIBLE LOGIC

Implementation of BIST Test Generation Scheme based on Single and Programmable Twisted Ring Counters

A New Gate for Optimal Fault Tolerant & Testable Reversible Sequential Circuit Design

Abstract 1. INTRODUCTION. Cheekati Sirisha, IJECS Volume 05 Issue 10 Oct., 2016 Page No Page 18532

Power Optimization by Using Multi-Bit Flip-Flops

Available online at ScienceDirect. Procedia Computer Science 46 (2015 ) Aida S Tharakan a *, Binu K Mathew b

International Journal of Emerging Technologies in Computational and Applied Sciences (IJETCAS)

REDUCING DYNAMIC POWER BY PULSED LATCH AND MULTIPLE PULSE GENERATOR IN CLOCKTREE

AN EFFICIENT LOW POWER DESIGN FOR ASYNCHRONOUS DATA SAMPLING IN DOUBLE EDGE TRIGGERED FLIP-FLOPS

HIGH PERFORMANCE AND LOW POWER ASYNCHRONOUS DATA SAMPLING WITH POWER GATED DOUBLE EDGE TRIGGERED FLIP-FLOP

DESIGN AND ANALYSIS OF FLIP-FLOPS USING REVERSIBLE LOGIC

Random Access Scan. Veeraraghavan Ramamurthy Dept. of Electrical and Computer Engineering Auburn University, Auburn, AL

Chapter 10 Exercise Solutions

MODULE 3. Combinational & Sequential logic

Gated Driver Tree Based Power Optimized Multi-Bit Flip-Flops

Design for Testability

ISSN Vol.08,Issue.24, December-2016, Pages:

LATCHES & FLIP-FLOP. Chapter 7

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

Lecture 8: Sequential Logic

Instructions. Final Exam CPSC/ELEN 680 December 12, Name: UIN:

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

VLSI Technology used in Auto-Scan Delay Testing Design For Bench Mark Circuits

An FPGA Implementation of Shift Register Using Pulsed Latches

Efficient Architecture for Flexible Prescaler Using Multimodulo Prescaler

Vignana Bharathi Institute of Technology UNIT 4 DLD

Rangkaian Sekuensial. Flip-flop

Modifying the Scan Chains in Sequential Circuit to Reduce Leakage Current

Logic Design. Flip Flops, Registers and Counters

Sequential Logic Circuits

TEST PATTERN GENERATION USING PSEUDORANDOM BIST

Dynamic Power Reduction in Sequential Circuits Using Look Ahead Clock Gating Technique R. Manjith, C. Muthukumari

DUAL EDGE-TRIGGERED D-TYPE FLIP-FLOP WITH LOW POWER CONSUMPTION

Design of a Low Power Four-Bit Binary Counter Using Enhancement Type Mosfet

RS flip-flop using NOR gate

Retiming Sequential Circuits for Low Power

Figure.1 Clock signal II. SYSTEM ANALYSIS

A Low Power Delay Buffer Using Gated Driver Tree

Synthesis of Sequential Reversible Circuits through Finite State Machine

EFFICIENT DESIGN OF SHIFT REGISTER FOR AREA AND POWER REDUCTION USING PULSED LATCH

Design Of Error Hardened Flip-Flop Withmultiplexer Using Transmission Gates And N-Type Pass Transistors

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

Synthesis of Reversible Sequential Elements

Design of Low Power and Area Efficient 64 Bits Shift Register Using Pulsed Latches

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

POWER AND AREA EFFICIENT LFSR WITH PULSED LATCHES

University College of Engineering, JNTUK, Kakinada, India Member of Technical Staff, Seerakademi, Hyderabad

IT T35 Digital system desigm y - ii /s - iii

LOW TRANSITION TEST PATTERN GENERATOR ARCHITECTURE FOR MIXED MODE BUILT-IN-SELF-TEST (BIST)

COPY RIGHT. To Secure Your Paper As Per UGC Guidelines We Are Providing A Electronic Bar Code

PERFORMANCE ANALYSIS OF AN EFFICIENT PULSE-TRIGGERED FLIP FLOPS FOR ULTRA LOW POWER APPLICATIONS


Low Power Implementation of Launch-Off- Shift and Launch-Off-Capture Using T-Algorithm

Modified Ultra-Low Power NAND Based Multiplexer and Flip-Flop

EET2411 DIGITAL ELECTRONICS

ELCT201: DIGITAL LOGIC DESIGN

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

LOW POWER AND HIGH PERFORMANCE SHIFT REGISTERS USING PULSED LATCH TECHNIQUE

Final Exam review: chapter 4 and 5. Supplement 3 and 4

Power Efficient Design of Sequential Circuits using OBSC and RTPG Integration

Area Efficient Pulsed Clock Generator Using Pulsed Latch Shift Register

Experiment 8 Introduction to Latches and Flip-Flops and registers

MC9211 Computer Organization

International Journal of Scientific & Engineering Research, Volume 5, Issue 9, September ISSN

Leakage Current Reduction in Sequential Circuits by Modifying the Scan Chains

CHAPTER 1 LATCHES & FLIP-FLOPS

Scan. This is a sample of the first 15 pages of the Scan chapter.

A Power Efficient Flip Flop by using 90nm Technology

Digital Circuits ECS 371

Optimizing area of local routing network by reconfiguring look up tables (LUTs)

Logic Design for Single On-Chip Test Clock Generation for N Clock Domain - Impact on SOC Area and Test Quality

Controlling Peak Power During Scan Testing

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

Computer Architecture and Organization

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

Design of New Dual Edge Triggered Sense Amplifier Flip-Flop with Low Area and Power Efficient

Digital Logic Design I

MUX AND FLIPFLOPS/LATCHES

CprE 281: Digital Logic

Testing Sequential Circuits

Dual Edge Triggered Flip-Flops Based On C-Element Using Dual Sleep and Dual Slack Techniques

Single-Fault Fault-Collapsing Analysis in Sequential Logic Circuits

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

RS flip-flop using NOR gate

Reduction of Clock Power in Sequential Circuits Using Multi-Bit Flip-Flops

Clock Tree Power Optimization of Three Dimensional VLSI System with Network

AN OPTIMIZED IMPLEMENTATION OF MULTI- BIT FLIP-FLOP USING VERILOG

VLSI System Testing. BIST Motivation

DIFFERENTIAL CONDITIONAL CAPTURING FLIP-FLOP TECHNIQUE USED FOR LOW POWER CONSUMPTION IN CLOCKING SCHEME

Chapter 8 Design for Testability

Chapter 5 Sequential Circuits

Digital Fundamentals. Lab 5 Latches & Flip-Flops CETT Name: Date:

Design of Fault Coverage Test Pattern Generator Using LFSR

REPEAT EXAMINATIONS 2002

FAULT SECURE ENCODER AND DECODER WITH CLOCK GATING

Module -5 Sequential Logic Design

Dynamic Power Reduction in Sequential Circuit Using Clock Gating

Soft Computing Approach To Automatic Test Pattern Generation For Sequential Vlsi Circuit

Efficient Path Delay Testing Using Scan Justification

Chapter 5 Synchronous Sequential Logic

Transcription:

Design of Testable Reversible Toggle Flip Flop Mahalakshmi A M.E. VLSI Design, Department of Electronics and Communication PSG college of technology Coimbatore, India Abstract In this paper, the design of two vectors testable sequential circuit is proposed. The proposed sequential circuit(toggle flipflop) based on reverible logic gates outperform the sequential circuits implemented in classical gates in terms of testability. Any sequential circuit based on reversible logic gates can be tested for classical unidirectional stuck-at faults using only two test vectors. The designs of two vectors testable latches, master-slave flip-flops and double edge triggered (DET) flip-flops are presented. The importance 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 only two test vectors, thereby eliminating the need for any type of scan-path access to internal memory cells. The reversible gate namely, Fredkin gate is used here. Keywords Fredkin gate, reversible logic II. REVERSIBLE FREDKIN GATE The Fredkin gate is a popularly used reversible conservative logic gate, first proposed by Fredkin and Toffoli in. The Fredkin gate shown in Fig. 1 can be described as a mapping (A, B, C) to (P = A, Q = A_B + AC, R = AB + A_C), where A, B, C are the inputs and P, Q, R are the outputs, respectively. The truth table for the Fredkin gate is illustrated in, which demonstrates that Fredkin gate is reversible and conservative in nature, that is, it has unique input and output mapping and also has the same number of 1s in the outputs as in the inputs. I. INTRODUCTION Reversible computing is the path to future computing technologies, which all happen to use reversible logic. In addition, reversible computing will become mandatory because of the necessity to decrease power consumption. Reversible logic circuits have the same number of inputs and outputs, and have one-to-one mapping between vectors of inputs and outputs; thus the vector of input states can be always reconstructed from the vector of output states. Consequently, a computation is reversible, if it is always possible to uniquely recover the input, given the output. Each gate can be made reversible by adding some additional input and output wires if necessary. Two constraints for reversible logic synthesis are: (1) feedback is not allowed, and (2) fan -out is not allowed (i.e., fan-out = 1). A gate with k inputs and k outputs is called a k*k gate. Several reversible gates have been proposed over the last decades. Fig 1.Fredkin gate III. DESIGN OF TESTABLE TOGGLE FLIP FLOP The characteristic equation of the T flip flop can be written as Q+ = Q. In the proposed work, enable (E) refers to the clock and is used interchangeably in place of clock. When the enable signal (clock) is 1,for the value of the input T output is reflected that is Q+ = Q. While, when E = 0 the latch maintains its previous state, that is Q+ = Q. Fig. 2(a) shows the realization of the reversible T flip flop using the cascaded Fredkin gates. The design can be tested by two input vectors. The design has two control signals, C1 and C2. The design can work in two modes: 1) normal mode and 2) test mode.1) Normal Mode: The normal mode is 353 Mahalakshmi A

shown in Fig. 2(a) in which we will have C1C2 = 10 and we will have the design working as a T flip flop without any fan-out problem. 2) Test Mode (Disrupt the Feedback): In test mode, when C1C2 = 00 as shown in Fig. 2(b) it will make the design testable with all 0s input vectors as output T1 will become 0 resulting in making it testable with all 0s input vectors. Thus, stuck-at-1 fault at T and stuck-at-0 fault at Q can be detected. When C1C2 = 11 as shown in Fig. 2(c), the output T1: will become 1 and the design will become testable with all 1s input vectors for stuck-at-0 fault at T and stuck-at-1 fault at T. It can be seen from above that C1 and C2 will disrupt the feedback in test mode, and in normal mode will take care of the fanout. Thus, the proposed design works as a reversible T Flip flop and can be tested with only two test vectors, all 0s and all 1s, for any stuck-at fault by utilizing the inherent property of conservative reversible logic. Fig 4 shows the output waveform of above mentioned conditions. (a) Fredkin gate based T flip flop with controlsignals C1 and C2. (b) Fredkin gate based D Latch in normal mode: C1 = 1 and C2 = 0. (c) Fredkin gate based T flip flop in test mode for stuck-at-1 at T & stuck-at-0 at Q faults: C1 = 0 and C2 = 0. (e) Fredkin gate based T flip flop in test mode for stuck-at-1 at Q & stuck-at-0 at T faults: C1 = 1 and C2 = 1. Fig 34.(a) Qstuck@0 Fig.3(b) T stuck @1 Fig.3(c) Q stuck @ 1 (a) (b) (c) Fig. 2. Design of testable reversible T flip flop using Fredkin gate. Fig 3 (d) T stuck @ 0 A. Design of Testable Negative Enable Reversible T flip flop A negative enable reversible T flip flop will produce output for the corresponding input when E = 0; otherwise maintains the same state. The second Fredkin gate in the design take cares of the FO. The second Fredkin gate in the design also helps in making the design testable by two test vectors, all 0s and all 1s, by breaking the feedback based on control signals C1 and C2 as illustrated above for positive enable reversible T flip flop. The negative enable T flip flopis helpful in the design of testable reversible master-slave flipflops. This is 354 Mahalakshmi A

because as it can work as a slave latch in the testable reversible master-slave flip-flops in which no clock inversion is required. The corresponding output waveforms are shown in figure 5 for the above conditions. Fig.4. Negative enabled reversible T flip flop IV. DESIGN OF TESTABLE MASTER-SLAVE FLIP-FLOPS In this paper, we have proposed the design of testable flip-flops using the masterslave strategy that can be tested for any stuck-at faults using only two test vectors, all 0s and all 1s. Fig. 6 shows the design of the master-slave T flip-flop in which we have used positive enable Fredkin gate-based testable t flip flop shown in Fig. 2(a) as the master latch, while the slave latch is designed from the negative enable Fredkin gate-based testable T flip flop shown earlier in Fig.4. The testable reversible T flip-flops has four control signals mc1,mc2, sc1, and sc2. mc1 and mc2 control the modes for the master latch, while sc1 and sc2 control the modes for the slave latch. In the normal mode, when the design is working as a master-slave flip-flop the values of the controls signals will be mc1 = 1 and mc2 = 0, sc1 = 1 and sc2 = 0. In the test mode. 1) To make the design testable for T stuck-at-0 = 1 and mc2 = 1, sc1 = 1 and sc2 = 1. 2) To make the design testable for T stuck-at-1 = 0 and mc2 = 0, sc1 = 0 and sc2 = 0. 3) To make the design testable for Q stuck-at-0 = 1 and mc2 = 1, sc1 = 0 and sc2 = 0. 4) To make the design testable for Q stuck-at-1 = 0 and mc2 = 0, sc1 = 1 and sc2 = 1. Fig 4. Master slave T flip flop Fig 5(a) T stuck @ 0 Fig.5(b) T stuck @ 1 Fig 5(c). Q stuck @ 1 Fig.5. Q stuck @ 0 355 Mahalakshmi A

V. DESIGN OF TESTABLE REVERSIBLE DET FLIP-FLOPS 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 masterslave strategy is the most popular way of designing the flip flop. In the proposed work, E refers to the clock and is used interchangeably in place of clock. In the negative edge triggered master-slave flip-flop when E = 1 (the clock is high), the master latch passes the input data while the slave latch maintains the previous state. When E = 0 (the clock is low), the master latch is in the storage state while the slave latch passes the output of the master latch to its output. Thus, the flip-flop does not sample the data at both the clock levels and waits for the next rising edge of the clock to latch the data at the master latch. In order to overcome the above problem, researchers have introduced the concept of DET flip-flops, which sample the data at both the edges. Thus, DET flip-flops can receive and sample two data values in a clock period thus frequency of the clock can be reduced to half of the master-slave flip flop while maintaining the same data rate. The half frequency operations make the DET flip flops very much beneficial for low power computing as frequency is proportional to power consumption in a circuit. The DET flip-flop is designed by connecting the two latches, viz., the positive enable and thenegative enable in parallel rather than in series. The 2:1 MUX at the output transfer the output from one of these latches which is in the storage state (is holding its previous state). The conventional design of the DET flip-flop can be found in. The equivalent testable reversible design of the DET flip flop is proposed and is shown in Fig. 6(a). In the proposed design of testable reversible DET flip-flop, the positive enable testable reversible T flip flop and the negative enable testable reversible T flip flop are arranged in parallel. The Fredkin gates labeled as 1 and 2 forms the positive enable testable T flip flop, while the Fredkin gates labeled as 3 and 4 forms the negative enable testable T flip flop.the Fredkin gate labeled as 5 works as the 2:1 MUX and transfer the output from one of these testable latches (negative enable T flip flop or the positive enable T flip flop) that is in the storage state (is holding its previous state) to the output Q. In the proposed design of testable reversible DET flipflop, pc1 and pc2 are the controls signals of the testable positive enable T flip flop, while nc1 and nc2 are the control signals of the testable negative enable T flip flop. Depending on the values of the pc1, pc2, nc1, and nc2, the testable DET flipflops work either in normal mode or in the testing mode. 1) Normal Mode: The normal mode of the DET flip-flop is achieved when the pc1 = 1, pc2 = 0, nc1 = 1, and nc2=0. 2) Test Mode: There will be two test modes. a) All 1s Test Vectors: pc1 = 1, pc2 = 1, nc1 = 1, and nc2 = 1. The pc1 = 1 and pc2 = 1 help in breaking the feedback of the positive enable T flip flop, while the nc1 = 1 and nc2 = 1 help in breaking the feedback of the negative enable T flip flop. This makes the design testable for T stuck-at-0 fault. b) All 0s Test Vectors: pc1 = 0, pc2 = 0, nc1 = 0, and nc2 = 0. The pc1 = 0 and pc2 = 0 help in breaking the feedback of the positive enable T flip flop, while the nc1 = 0 and nc2 = 0 help in breaking the feedback of the negative enable T flip flop. This makes the design testable for T stuck-at-1 fault. c) Other Test Vectors: pc1 = 0, pc2 = 0, nc1 = 0, nc2 = 0,,tC1=1,tC2=1 makes the design testable for Q stuck-at-0 fault. pc1 = 1, pc2 = 1, nc1 = 1, nc2 = 1,,tC1=0,tC2=0 makes the design testable for Q stuck-at-1 fault. Fig.6.Double Edge Triggered T flip flop using fredkin gate 356 Mahalakshmi A

Fig.7(a).Q stuck @ 0 Fig.7(b) Q stuck @ 1 provide the testing capability. Also as the complexity of a sequential circuit increases the number of test vector required to test the sequential circuit also increases. For example, to test a complex sequential circuit thousand of test vectors are required to test all stuck-at-faults, while if the same sequential circuit is build using proposed reversible sequential building blocks it can be tested by only two test vectors. Thus, the main advantage of the proposed conservative reversible sequential circuits compared to the conventional sequential circuit is the need of only two test vectors to test any sequential circuit irrespective of its complexity. The reduction in number of test vectors minimizes the overhead of test time for a reversible sequential circuit. The proposed work has the limitation that it cannot detect multiple stuck-at-faults as well as multiple missing/additional cell defects. In conclusion, this paper advances the state-of-the-art by minimizing the number of test vectors needed to detect stuck-at-faults as well as single missing/additional cell defects. Fig.7(c) T stuck @ 0 Fig.7(d) T stuck @ 1 VI.CONCLUSION This paper proposed reversible sequential circuits based on conservative logic that is testable for any unidirectional stuck-at faults. The proposed sequential circuits based on conservative logic gates outperform the sequential circuit implemented in classical gates in terms of testability. The sequential circuits implemented using conventional classic gates do not provide inherited support for testability. Hence, a conventional sequential circuit needs modification in the original circuitry to VII. REFERENCES [1] G. Swaminathan, J. Aylor, and B. Johnson, Concurrent testing of VLSI circuits using conservative logic, in Proc. Int. Conf. Comput. Design, Cambridge, MA, Sep. 1990, pp. 60 65. [2] Himanshu Thapliyal, Nagarajan Ranganathan and Saurabh Kotiyal, Design of testable reversible sequential circuits, in IEEE transactions on very large scale integration (vlsi) systems, vol. 21, no. 7, july 2013. [3] Rohini H, Dr. Rajashekar S, Dr. PriyatamKumar Design of basic reversible sequential circuits using reversible logic, in Proc. Int. Conf.electrical,electronics and optimization techniques,2016. [4] Rohini H., Rajashekar S., PhD, Design of Reversible Logic based Basic Combinational Circuits, in Communications on Applied Electronics (CAE ) ISSN : 2394-4714 Foundation of Computer Science FCS, New York, USA Volume 5 No.9, September 2016. [5] M. Pedram, Q. Wu, and X. Wu, A new design for double edge triggered flip-flops, in Proc. Asia South Pacific Design Autom.Conf., 1998. 357 Mahalakshmi A