Synthesis of Reversible Synchronous Counters Mozammel H A Khan Department of Computer Science and Engineering, East West University, 43 Mohakhali, Dhaka.

Slides:



Advertisements
Similar presentations
Reversible Gates in various realization technologies
Advertisements

Give qualifications of instructors: DAP
1. 1. Output depends uniquely on inputs:  Contains only logic gates, AND, OR,...  No feedback interconnects 2. Output depends on inputs and memory:
1 Combinational Logic Design&Analysis. 2 Introduction We have learned all the prerequisite material: – Truth tables and Boolean expressions describe functions.
Analysis of Clocked Sequential Circuits
Realization of Incompletely Specified Reversible Functions Manjith Kumar Ying Wang Natalie Metzger Bala Iyer Marek Perkowski Portland Quantum Logic Group.
Appendix A Logic Circuits. Logic circuits Operate on binary variables that assume one of two distinct values, usually called 0 and 1 Implement functions.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
GF(4) Based Synthesis of Quaternary Reversible/Quantum Logic Circuits
A Transformation Based Algorithm for Reversible Logic Synthesis D. Michael Miller Dmitri Maslov Gerhard W. Dueck Design Automation Conference, 2003.
Derivatives of Perkowski’s Gate k f2 g h t t De Vos gates  f1f1  A B P Q Feynman gates A B P f 2f 2  C Q R Toffoli gates Q P f 2 A C R B S D 0.
Sequential Circuits and Finite State Machines Prof. Sin-Min Lee
Synthesis of Reversible Synchronous Counters Mozammel H. A. Khan East West University, Bangladesh Marek Perkowski Portland State University,
Synthesis and Test of Quantum Circuits Dr. Marek Perkowski and Dr. Xiaoyu Song Quantum Braitenberg Automata Robots use.
Engineering Models and Design Methods for Quantum State Machines.
Design of Regular Quantum Circuits
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
Ugur Kalay, Marek Perkowski, Douglas Hall Universally Testable AND-EXOR Networks Portland State University Speaker: Alan Mishchenko.
Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Grover’s Algorithm in Machine Learning and Optimization Applications
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
Introduction to Digital Logic Design Appendix A of CO&A Dr. Farag
Synchronous Circuit Design (Class 10.1 – 10/30/2012) CSE 2441 – Introduction to Digital Logic Fall 2012 Instructor – Bill Carroll, Professor of CSE.
Circuit, State Diagram, State Table
Chapter 4 The Building Blocks: Binary Numbers, Boolean Logic, and Gates.
REVERSIBLE LOGIC SYNTHESIS. Overview of the Presentation 1. Introduction 2. Design of a Reversible Full-adder Circuit.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
Counters Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty of Information Technology The Islamic University.
1 Lecture 22 Sequential Circuits Analysis. 2 Combinational vs. Sequential  Combinational Logic Circuit  Output is a function only of the present inputs.
Important Components, Blocks and Methodologies. To remember 1.EXORS 2.Counters and Generalized Counters 3.State Machines (Moore, Mealy, Rabin-Scott) 4.Controllers.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Design of a Reversible Binary Coded Decimal Adder by Using Reversible 4-bit Parallel Adder Babu, H. M. H. Chowdhury, A.R, “Design of a reversible binary.
Analysis and Synthesis of Synchronous Sequential Circuits A “synchronizing” pulse/edge signal (clock) controls the operation of the memory portion of the.
Combinational Circuits
Garbage in Reversible Designs of Multiple Output Functions
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
CLASSICAL LOGIC SRFPGA layout With I/O pins.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Quantum Cost Calculation of Reversible Circuit Sajib Mitra MS/ Department of Computer Science and Engineering University of Dhaka
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Online Testable Fault Tolerant Full Adder in Reversible Logic Synthesis Sajib Kumar Mitra MS/ Department of Computer Science and Engineering University.
Dr. ClincyLecture Slide 1 CS Chapter 3 (3A and ) Part 8 of 8 Dr. Clincy Professor of CS.
WORKING PRINCIPLE OF DIGITAL LOGIC
Logic Design (CE1111 ) Lecture 6 (Chapter 6) Registers &Counters Prepared by Dr. Lamiaa Elshenawy 1.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
Partitioning of a digital system.
Chapter #6: Sequential Logic Design
Adapted by Dr. Adel Ammar
Learning Outcome By the end of this chapter, students are expected to be able to: Design State Machine Write Verilog State Machine by Boolean Algebra and.
CSCI-100 Introduction to Computing
Figure 12-13: Synchronous Binary Counter
FIGURE 5.1 Block diagram of sequential circuit
Digital Principles and Design Algorithmic State Machines
Instructor: Alexander Stoytchev
VLSI Testing Lecture 8: Sequential ATPG
Instructor: Alexander Stoytchev
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Instructor: Alexander Stoytchev
Combinational Circuits
Instructor: Alexander Stoytchev
EGC 442 Introduction to Computer Architecture
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
EGR 2131 Unit 12 Synchronous Sequential Circuits
SEQUENTIAL CIRCUITS __________________________________________________
Fuzzy Reversible Logic using Toffoli-like gates
Sajib Kumar Mitra, Lafifa Jamal and Hafiz Md. Hasan Babu*
Logic Gates By: Asst Lec. Besma Nazar Nadhem
Chapter5: Synchronous Sequential Logic – Part 3
Presentation transcript:

Synthesis of Reversible Synchronous Counters Mozammel H A Khan Department of Computer Science and Engineering, East West University, 43 Mohakhali, Dhaka 1212, Bangladesh. Marek A Perkowski Department of Electrical and Computer Engineering, Portland State University, 1900 SW 4 th Avenue, Portland, OR 97201, USA. ISMVL, May 2011

Large Toffoli Gates Figure 2. Realizations of (a) 4×4 and (b) 5×5 Toffoli gates using 3×3 Toffoli gates, ancilla bits and garbage bits that is used in this paper.

4. Reversible Logic Synthesis Using Positive Polarity Reed-Muller Expression An n-variable Boolean function can be expanded on the variable using the following positive Davio (pD) expansion: where:

4. Reversible Logic Synthesis Using Positive Polarity Reed-Muller Expression If we apply pD expansion on all variables of an n-variable Boolean function, then the resulting expression is called positive-polarity Reed- Muller (PPRM) expression. An n-variable PPRM expression can be represented as where the coefficients

Calculation of PPRM coefficients Figure 3. Computation of PPRM coefficients from output vector For PPRM, very fast algorithms exist for conversion from truth table to PPRM, based on butterfly diagrams, illustrated here.

PPRM expressions for quantum circuits Figure 4. Realization of PPRM expression of (1) as cascade of Feynman and Toffoli gates.

Synthesis of Synchronous Counters

InputOutputPPRM Coefficients Table 2. Truth table and PPRM coefficients of the next state outputs for mod 8 up counter. This realizes excitation functions as PPRMs. Similarly we can design methods for FPRM, GRM or a general ESOP

Figure 6. Traditional circuit for mod 8 up counter

Modulo 8 counter Figure 5. Reversible circuit for mod 8 up counter. Q2 t+1 = Q1 t Q0 t C  Q2 t Q1 t+1 = Q0 t C  Q1 t Q0 t+1 = C  Q0 t initialization External or internal feedback wires

Figure 7. Reversible circuit for mod 8 up counter after replacement of the T flip-flops and AND gates of Figure 6 by their reversible counter parts. mod 8 up counter:

Modulo 16 Counter Figure 9. Traditional circuit for mod 16 up counter.

mod 16 up counter: Similarly, we can determine the PPRM expressions for the next state outputs of mod 16 up counter as follows:

Figure 8. Reversible circuit for mod 16 up counter. combinational External quantum memory

Figure 10. Reversible circuit for mod 16 up counter after replacement of the T flip-flops and AND gates of Figure 9 by their reversible counter parts. Figure 8. Reversible circuit for mod 16 up counter.

Table 3. Comparison of our direct design and replacement technique for mod 8 and mod 16 up counters. Our direct technique Replacement technique CounterCostGarbageCostGarbage mod mod

General pattern for,

Conclusions 1.Reversible logic is very important for low power and quantum circuit design. 2.Most of the attempts on reversible logic design concentrate on reversible combinational logic design [9-22]. 3.Only a few attempts were made on reversible sequential circuit design [23- 28, 32-35]. 4. The major works on reversible sequential circuit design [23-27] propose implementations of flip-flops and suggest that sequential circuit be constructed by replacing the flip-flops and gates of the traditional designs by their reversible counter parts. 5.This method leads to reversible sequential circuits with higher realization costs and garbage outputs. In this paper, we present a method of synchronous counter design directly from reversible gates.

Conclusions (cont) 6.This method produces circuit with lesser realization cost and lesser garbage outputs than the circuit produced by replacement method. The proposed method also generates expressions for the next state outputs, which can be expressed in general terms for all up counters. 7.This generalization of the expressions for the next state outputs makes synchronous up counter design very easy and efficient. 8. Traditionally, state minimization and state assignment are parts of the entire synthesis procedure of finite state machines. 9.The role of these two processes in the realization of reversible sequential circuits [32,34] should be further investigated. 10.We showed a method that is specialized to certain type of counters. We can create similar methods for quantum circuits specialized to other types of counters, shifters or other sequential circuits.

S. Bandyopadhyay, “Nanoelectric implementation of reversible and quantum logic,” Supperlattices and Microstructures, vol. 23, 1998, pp H. Wood and D.J. Chen, “Fredkin gate circuits via recombination enzymes,” Proceedings of Congress on Evolutionary Computation (CEC), vol. 2, 2004, pp S.K.S. Hari, S. Shroff, S.N. Mohammad, and V. Kamakoti, “Efficient building blocks for reversible sequential circuit design,” IEEE International Midwest Symposium on Circuits and Systems (MWSCAS), H. Thapliyal and A.P. Vinod, “Design of reversible sequential elements with feasibility of transistor implementation,” International Symposium on Circuits and Systems (ISCAS 2007), 2007, pp

M.-L. Chuang and C.-Y. Wang, “Synthesis of reversible sequential elements,” ACM journal of Engineering Technologies in Computing Systems (JETC), vol. 3, no. 4, A. Banerjee and A. Pathak, “New designs of Reversible sequential devices,” arXiv: v1 [quant-ph] 12 Aug M. Kumar, S. Boshra-riad, Y. Nachimuthu and M. Perkowski, “Comparison of State Assignment methods for "Quantum Circuit" Model of permutative Quantum State Machines,” Proc. CEC M. Lukac and M. Perkowski, Evolving Quantum Finite State Machines for Sequence Detection, Book chapter, New Achievements in Evolutionary Computation, Peter Korosec (Eds.), URL: computation, ISBN: , 2010 M. Kumar, S. Boshra-riad, Y. Nachimuthu, and M. Perkowski, “Engineering Models and Circuit Realization of Quantum State Machines,” Proc. 18 th International Workshop on Post- Binary ULSI Systems, May 20, 2009, Okinawa. M. Lukac, M. Kameyama, and M. Perkowski, Quantum Finite State Machines - a Circuit Based Approach, Quantum Information Processing, accepted with revisions