Synthesis of Reversible Sequential Elements

Similar documents
Synthesis of Reversible Sequential Elements*

Synthesis of Sequential Reversible Circuits through Finite State Machine

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

DESIGN AND ANALYSIS OF FLIP-FLOPS USING REVERSIBLE LOGIC

Sequential Logic Circuits

Synchronous Sequential Logic

Chapter 5 Synchronous Sequential Logic

Design of Testable Reversible Toggle Flip Flop

Synchronous Sequential Logic

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

ELCT201: DIGITAL LOGIC DESIGN

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

Module 4:FLIP-FLOP. Quote of the day. Never think you are nothing, never think you are everything, but think you are something and achieve anything.

LAB #4 SEQUENTIAL LOGIC CIRCUIT

ELE2120 Digital Circuits and Systems. Tutorial Note 7

Combinational / Sequential Logic

Advanced Digital Logic Design EECS 303

RS flip-flop using NOR gate

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Novel Pulsed-Latch Replacement Based on Time Borrowing and Spiral Clustering

Logic Design. Flip Flops, Registers and Counters

Digital Logic Design I

ELCT201: DIGITAL LOGIC DESIGN

Unit 11. Latches and Flip-Flops

B.Tech CSE Sem. 3 15CS202 DIGITAL SYSTEM DESIGN (Regulations 2015) UNIT -IV

Sequential Circuits. Output depends only and immediately on the inputs Have no memory (dependence on past values of the inputs)

The NOR latch is similar to the NAND latch

ESE 570 STATIC SEQUENTIAL CMOS LOGIC CELLS. Kenneth R. Laker, University of Pennsylvania, updated 25Mar15

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

CH 11 Latches and Flip-Flops

Rangkaian Sekuensial. Flip-flop

DIGITAL CIRCUIT LOGIC UNIT 11: SEQUENTIAL CIRCUITS (LATCHES AND FLIP-FLOPS)

LAB 7. Latches & Flip Flops

Unit 9 Latches and Flip-Flops. Dept. of Electrical and Computer Eng., NCTU 1

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

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Experiment 8 Introduction to Latches and Flip-Flops and registers

EXPERIMENT: 1. Graphic Symbol: OR: The output of OR gate is true when one of the inputs A and B or both the inputs are true.

Synchronous Sequential Logic

Synchronous Sequential Logic. Chapter 5

1.b. Realize a 5-input NOR function using 2-input NOR gates only.

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

Engr354: Digital Logic Circuits

Retiming Sequential Circuits for Low Power

To design a sequential logic circuit using D-Flip-flop. To implement the designed circuit.

Other Flip-Flops. Lecture 27 1

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 151) Pass Marks: 24

Chapter 5 Sequential Circuits

Digital Circuits ECS 371

Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012

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

ELCT201: DIGITAL LOGIC DESIGN

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

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791)

Flip-flop and Registers

Switching Circuits & Logic Design

EL302 DIGITAL INTEGRATED CIRCUITS LAB #3 CMOS EDGE TRIGGERED D FLIP-FLOP. Due İLKER KALYONCU, 10043

Logic Design II (17.342) Spring Lecture Outline

ECE 341. Lecture # 2

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

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

CPS311 Lecture: Sequential Circuits

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

Review of Flip-Flop. Divya Aggarwal. Student, Department of Physics and Astro-Physics, University of Delhi, New Delhi. their state.

RS flip-flop using NOR gate

Chapter. Synchronous Sequential Circuits

INTRODUCTION TO SEQUENTIAL CIRCUITS

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

CprE 281: Digital Logic

Lecture 8: Sequential Logic

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

Introduction to Microprocessor & Digital Logic

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

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

Power-Driven Flip-Flop p Merging and Relocation. Shao-Huan Wang Yu-Yi Liang Tien-Yu Kuo Wai-Kei Tsing Hua University

Chapter 5: Synchronous Sequential Logic

Chapter 1: Switching Algebra Chapter 2: Logical Levels, Timing & Delays. Introduction to latches Chapter 9: Binary Arithmetic

Part II. Chapter2: Synchronous Sequential Logic

Adding Analog and Mixed Signal Concerns to a Digital VLSI Course

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Using minterms, m-notation / decimal notation Sum = Cout = Using maxterms, M-notation Sum = Cout =

Leakage Current Reduction in Sequential Circuits by Modifying the Scan Chains. Outline

CHAPTER 1 LATCHES & FLIP-FLOPS

DIGITAL CIRCUIT COMBINATORIAL LOGIC

Design for Testability

D Latch (Transparent Latch)

AIM: To study and verify the truth table of logic gates

Introduction to Sequential Circuits

Sequential Design Basics

MUX AND FLIPFLOPS/LATCHES

SYNCHRONOUS DERIVED CLOCK AND SYNTHESIS OF LOW POWER SEQUENTIAL CIRCUITS *

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1

Dr.Mohamed Elmahdy Winter 2015 Eng.Yasmin Mohamed. Problem Set 6. Analysis and Design of Clocked Sequential Circuits. Discussion: 7/11/ /11/2015

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

CprE 281: Digital Logic

WINTER 15 EXAMINATION Model Answer

Lecture 23 Design for Testability (DFT): Full-Scan

Chapter 8 Sequential Circuits

MC9211 Computer Organization

Transcription:

Synthesis of Reversible Sequential Elements Speaker:Kuang-Jung Chang Author: Min-Lun Chuang Chun-Yao Wang Dept. of Computer Science National Tsing Hua University, Taiwan

Introduction Outline Background Previous work Novel reversible sequential elements Results Conclusions 2

Motivations Reversible circuits have applications in low power design Landauer Principle E = k T ln2 Moore s Law Nanotechnology, low power CMOS, optical computing, quantum computer Every future technology have to use reversible gates in order to reduce power consumption Reversible logic synthesis on combinational logic This work presents reversible flip-flops and latches used in designing reversible sequential circuits 3

Introduction Outline Background Previous work Novel reversible sequential elements Results Conclusions 4

Reversible Computing If we know the output, we can derive the input of the function. This kind of computation is called reversible if C= A=?, B=? A B C The AND Gate f :(x, x 2,, x n ) (y, y 2,, y m ) is called reversible iff: f is a bijection function A bijection function means the function is - and onto 5

Generalized Toffoli Gate TOF(C;t),where C is the set of control variable,{x, x 2, x 3, }, t is the set of target variable {x n }and C t = {Ø} ex: NOT gate is TOF(Ø ; x n ) CN gate is TOF(x ; x n ) CCN gate is TOF(x, x 2 ; x n )... 6

The CN Gate & CCN gate Controlled NOT control x a y b target CN (Feynman) gate symbol x y a b b=y x x y z Controlled Controlled NOT gate CCN (Toffoli) gate symbol a b c=z xy c x y z a b c Truth Table for the CCN Gate Truth Table for the CN Gate 7

Irreversible Function Implementation x y xy f (x,y)=xy x y z x y xy z f (x,y,)=xy Garbage is the outputs added to make an n-input m-output function reversible. Garbage 8

Restriction Fanout count of a signal net must equal one Fanout structure is not reversible If two copies of one signal are needed, a duplication is necessary x a y x y CN gate CN CN gate b a=x b=y x b= x =x T. Toffoli. Reversible computing. Tech memo MIT/LCS/TM-5, MIT Lab for Comp. Sci, 98 9

Reversible Circuits Synthesis Objective Minimize the number of gates Gate count gives a simple estimate of the implementation cost of the reversible circuit Minimize the number of garbage outputs Minimizing the number of garbage outputs leads to minimizing area and power

Introduction Outline Background Previous work A Beginning in the Reversible Logic Synthesis of Sequential Circuits [7] Novel reversible sequential elements Results Conclusions

Basic Gate Controlled NOT gate NOT & fanout x a y b CN gate symbol x a=x CN y b=y x b= x b= x =x CN gate New gate (NG ) more complex and powerful NAND & NOR x a=x y NG b=xy z b=(xy) z c=x z y c=(x+z) New gate symbol 2

D Latch D Q CLK Q CLK D + D latch truth table 3

Reversible D Latch CLK NG NG CN Q D CN CLK NG NG CN Q Garbage Gate outputs counts [7] 8 7 4

Introduction Outline Background Previous work A New Look at Reversible Memory Elements [5] Novel reversible sequential elements Results Conclusions 5

Basic Gate Controlled Swap gate (CS): Controlled Swap gate is also called Fredkin gate control x y z a b CS (Fredkin) gate symbol x y z CS c a b c x y z a b c Truth Table for the CS gate 6

Reversible RS Latch S Q Fanout Structure S Q R Q R Q The reversible RS latch proposed by Picton The reversible RS latch proposed by Rice [5] 7

D Flip-Flop Flop CLK CS CN CCN S CCN S Q D CN CCN R CCN R Q D flip-flop Garbage outputs Gate counts [5] 2 8

Introduction Outline Background Previous work Novel reversible sequential elements Results Conclusions 9

Truth Table Extension Synthesis Method Add garbage outputs to make the truth table reversible Input: A general truth table CLK J K + JK latch truth table extend CLK CLK J KJ QK n CLK QJ n+ K + 2

in K J CLK out Synthesis Procedure [9] S S2 S3 D. M. Miller, A transformation based algorithm for reversible logic synthesis, DAC 23 K J CLK Our design Existing one Garbage outputs 3 2 + K J CLK + Gate counts 4 2

Function Verification Obtained by JK latch truth table C = C + = JC CK CJ K J CLK + K J CLK + K JC K JC K + =(JC CK J)C = JC CK CJ J J (JC K) C J = JC CK J C C C C = C 22

Reversible T Latch & D Latch T Latch D Latch + + T CLK T CLK + D D CLK CLK + Evaluation of T latch Our design Existing one Garbage outputs Gate counts 2 2 2 Evaluation of D latch Our design Existing one Garbage outputs Gate counts 2 2 8 7 23

Reversible D Flip-Flop Flop D flip-flop D CLK D + clk * * CLKD D C D latch D (master) latch Q Q D + + Evaluation of D flip-flop Garbage bits D D C Gate counts D latch D latch (slave) CLK Q + + Q Q Q Our design 3 5 Existing one 2 24

Reversible JK Flip-Flop Flop CLK J * * JK flip-flop K + * * CLK J J JK K latch K + + D D latch CLK D + + Evaluation of JK flip-flop Our design Existing one Garbage bits Gate counts 4 7 2 8 25

Reversible T Flip-Flop Flop T flip-flop CLK CLK CLK T + * * T T T latch + + D D latch D + + Evaluation of T flip-flop Our design Existing one Garbage bits Gate counts 3 5 4 3 26

Introduction Outline Background Previous work Novel reversible sequential elements Results Conclusions 27

Results No. of garbage outputs No. of gates Ours 25 Ratio(%) Ours 25 Ratio(%) D-latch 2 8 25. 2 7 28.6 JK-latch 3 2 25. 4 4. T-latch 2 2 6.6 2 2. D flip-flop 3 5 JK flip-flop 4 2 9. 7 8 38.9 T flip_flop 3 5 Average 2.4 3.9 H. Thapliyal and M. B. Srinivas, A beginning in the reversible logic synthesis of sequential circuits, in Proc. of MAPLD, 25. 28

Results No. of garbage outputs No. of gates Ours 26 Ratio(%) Ours 26 Ratio(%) D flip-flop 3 2 25. 5 45.5 JK flip-flop 4 4 28.6 7 2 58.3 T flip_flop 3 4 2.4 5 3 38.5 Average 25. 47.4 J. E. Rice, A New Look at Reversible Memory Elements", in Proc. of the IEEE International Symposium on Circuits and Systems, 26 29

Introduction Outline Background Previous work Novel reversible sequential elements Results Conclusions 3

Conclusions We propose novel designs of reversible latches and flip-flops The implementation costs of our new designs are more competitive 3

Thank You