Synthesis of Sequential Reversible Circuits through Finite State Machine

Size: px
Start display at page:

Download "Synthesis of Sequential Reversible Circuits through Finite State Machine"

Transcription

1 Synthesis of Sequential Reversible Circuits through Finite State Machine A Dissertation Submitted in partial fulfillment for the award of degree of Master of Technology (with specialization in Computer Science) in Department of Computer Science and Engineering Supervisor Dr. S.C. Jain Professor, CSE Submitted By: Shubham Gupta Enrollment No: 12E2UCCSM45P616 Department of Computer Science and Engineering University College of Engineering Rajasthan Technical University Kota (Rajasthan) August 2014

2 Candidate's Declaration I hereby declare that the work, which is being presented in the Dissertation, entitled Synthesis of Sequential Reversible Circuits Through Finite State Machine in partial fulfillment of Master of Technology with specialization in Computer Science and Engineering, submitted to the Department of Computer Science & Engineering, University College of Engineering, Rajasthan Technical University, Kota is a record of my own investigations carried under the guidance of Dr. S. C. Jain Professor, Computer Science, University College of Engineering, RTU Kota. I have not submitted the matter presented in this Dissertation Report any where for the award of any other degree. Shubham Gupta Computer Science Engineering Enrollment No.: 12E2UCCSM45P616 University College of Engineering, RTU, Kota (Rajasthan) Counter Signed by Supervisor Dr. S.C. Jain Professor, Department of Computer Science & Engineering, University College of Engineering, Kota (Rajasthan) ii

3 Certificate This is to certify that this Dissertation entitled Synthesis of Sequential Reversible Circuits Through Finite State Machine has been successfully carried out by Shubham Gupta (Enrollment No.: 12E2UCCSM45P616), under my supervision and guidance, in partial fulfillment of the requirement for the award of Master of Technology Degree in Computer Science & Engineering from University College of Engineering, Rajasthan Technical University, Kota for the year Dr. S.C. Jain Professor, Department of Computer Science & Engineering, University College of Engineering, Kota (Rajasthan) iii

4 Acknowledgments It is matter of great pleasure for me to submit this report on dissertation entitled Synthesis of Sequential Reversible Circuits through Finite State Machine, as a part of curriculum for award of Master in Technology with specialization in Computer Science & Engineering degree of Rajasthan Technical University, Kota. I am thankful to my Dissertation guide Dr. S. C. Jain, Professor in Department of Computer Science for his constant encouragement, able guidance and for giving me a new platform to build by career by giving me a chance to learn different fields of this technology. I am also thankful to the Head of Computer Science Department for the valuable support. I would like to acknowledge my thanks to entire faculty and supporting staff of Computer Engineering Department in general and particularly for their help, directly or indirectly during my dissertation work. I express my deep sense of reverence to my parents, family members and my friends for their unconditional support, patience and encouragement. DATE Shubham Gupta iv

5 List of Figures Figure 1.1 ITRS Feature Size Projection 3 Figure 1.2 Cost Efficiency Benefits 4 Figure 1.3 Feynman Gate 5 Figure 1.4 Block Diagram of Sequential Logic Circuit 6 Figure 1.5 Design of D flip-flop 6 Figure 2.1 Block diagram of NOT Gate 13 Figure bit Feynman Gate (a) Truth Table; (b) Block Diagram 13 Figure bit Toffoli Gate (a) Truth Table; (b) Block Diagram 14 Figure bit Fredkin Gate (a) Truth Table; (b) Block Diagram 14 Figure bit Peres Gate (a) Truth Table; (b) Block Diagram 15 Figure bit New Gate (a) Truth Table; (b) Block Diagram 15 Figure 2.7 Block Diagram of Sayem Gate 16 Figure 2.8 Block Diagram of HNFG Gate 16 Figure 2.9 Flow Chart of Transformation Based Approach 18 Figure 2.10 (a)moore and (b) Mealy FSM Machine 19 Figure 2.11 (a) An original FSM and (b) its Reverse 20 Figure 3.1 Proposed 4 4 reversible SVS gate 25 Figure 3.2 Proposed Reversible Design of T Flip-Flop 27 Figure 3.3 Block Diagram of Proposed T Flip-Flop 28 Figure 3.4 A Conventional 4-bit Asynchronous Up-Counter 29 Figure 3.5 Proposed 4-bit Reversible Asynchronous Up-Counter 29 Figure 3.6 Proposed 4-bit Reversible Asynchronous Down-Counter 32 Figure 3.7 Proposed 4-bit Reversible Asynchronous Up/ Down-Counter 33 v

6 Figure 3.8 Conventional 4 bit Synchronous Up Counter 34 Figure 3.9 Proposed 4-bit Reversible Synchronous UP Counter 35 Figure 3.10 Conventional 4 bit Synchronous Up/ Down Counter 37 Figure 3.11 Proposed 4-bit Reversible Synchronous Up/Down Counter Design 38 Figure 4.1 A flow chart for realizing the reversible circuits from an FSM 42 Figure 4.2 Original FSM of String Accepter 44 Figure 4.3 Reverse FSM of String Accepter 44 Figure 4.4 Reversible FSM of String Accepter 45 Figure 4.5 Realization of reversible string accepter by reversible FSM 46 Figure 4.6 Original FSM of 3-bit odd parity generator 49 Figure 4.7 Reverse FSM of 3-bit odd parity generator 49 Figure 4.8 Reversible FSM of 3-bit odd parity generator 50 vi

7 List of Tables Table 2.1 Truth Table Method 10 Table 2.2 Truth table for a 3-input and 3-output function 11 Table 2.3 A reversible truth table 12 Table 2.4 A logical reversible AND function 12 Table 2.5 Truth Table of Sayem Gate 16 Table 2.6 Truth Table of HNFG Gate 17 Table 3.1 Truth Table of the Proposed Reversible Gate 26 Table 3.2 Truth Table of T Flip-Flop 27 Table 3.3 Truth Table of 4 bit Asynchronous Reversible Up-Counter 31 Table 5.1 Comparative Results of Proposed Reversible T Flip-Flops 53 Table 5.2 Comparison Between Existing and Proposed Reversible Asynchronous UP Counter Design Table 5.3 Comparison Between Existing and Proposed Reversible Asynchronous DOWN Counter Design Table 5.4 Comparison Between Existing and Proposed Reversible Asynchronous UP/ DOWN Counter Design Table 5.5 Comparison of Existing and Proposed Reversible Synchronous UP Counter Design Table 5.6 Comparison Between Existing and Proposed Reversible Synchronous UP/ Down Counter Design vii

8 CONTENTS List of Figures List of Tables Table of Contents v vii viii Abstract 1 1 Introduction Motivation Reversible Computing Reversible Gates and Reversible Circuits Sequential Reversible Computing Sequential Reversible Circuits Objectives Organization of Thesis 7 2 Background & Literature Survey Boolean Algebra Reversible Gates and Circuits Definition of Reversible Logic Basic Reversible Gates Sequential Reversible Gates Synthesis Approaches of Sequential Reversible Computing Optimization Parameters Gate Counts Garbage Outputs 18 viii

9 2.4.3 Constant Inputs Finite State Machine (FSM) Background Symbols and Formalism of FSM Related Work Reversible Finite State Machine Reversible T Flip-Flop Reversible Asynchronous and Synchronous Counters Survey Extraction 24 3 Design of Sequential Reversible Counters Proposed Reversible Gate Proposed Reversible T Flip-Flop Design of Asynchronous Reversible Counters Proposed 4-bit Asynchronous Reversible Up-Counter Proposed 4-bit Asynchronous Reversible Down-Counter Proposed 4-bit Asynchronous Reversible Up/ Down-Counter Design of Synchronous Reversible Counters Proposed 4-bit Synchronous Reversible Up-Counter Proposed 4-bit Synchronous Reversible Up/ Down Counter Summary 40 4 Approach and Realization of Sequential Reversible Circuit from FSM General Model of Sequential Circuit Approach of Realization the Sequential Reversible Circuit Experimental Setup of Reversible Circuits To realize reversible circuit of string accepter by reversible FSM 43 ix

10 4.3.2 To realize the reversible circuit of odd parity generator of 3-bit with a single space between successive strings by reversible FSM Summary 51 5 Results Comparative Results of Proposed Reversible T Flip-Flop Comparative Results of Proposed Asynch. Reversible Counters Comparative Results of Proposed Reversible Asynchronous Up- Counter Design Comparative Results of Proposed Reversible Asynchronous Down-Counter Design Comparative Results of Proposed Reversible Asynchronous Up/ Down-Counter Design Comparative Results of Proposed Synch. Reversible Counters Comparative Results of Proposed Reversible Synchronous Up- Counter Design Comparative Results of Proposed Reversible Synchronous Up/ Down-Counter Design Results of Sequential Reversible Circuits (From FSM) Summary 56 6 Conclusion and Future Scope Contributions Future Scope 57 Paper Publications Out of the Dissertation 59 7 Reference 60 x

11 ABSTRACT Reversible computing has attracted the attention of researchers due to its low power consumption and less heat dissipation compared to conventional computing. A number of reversible gates have been proposed by different researchers and various combinational circuits based on reversible gates have been developed. However the realization of sequential circuit in reversible logic is still at premature stage. Sequential circuits were not available because of feedback was not allowed in reversible circuit. However allowing feedback in space (not in time), some sequential reversible gates and circuits have been reported in the literature. In this dissertation, we have addressed the problem from two sides. One side is to propose a low cost reversible gate suitable for sequential building block i.e. T flip-flop and hence designing low cost synchronous and asynchronous counters. Another side is to generate the circuit from its behavioral description described in FSM form. Our propose designs of reversible counters are significantly better in optimization parameters such as gate counts, garbage outputs and constant inputs available in literature. We have also proposed a procedure for obtaining reversible circuit from behavioral description through FSM. A very few attempts have been reported in the literature for the conversion FSM to reversible FSM. We have found no such complete procedure for obtaining reversible sequential circuit in literature. It was observed that the attempt made in [27] for generating reversible FSM from traditional (original) FSM were not suitable for generating sequential reversible circuit. This work has improved the generation of reversible FSM and evolved the step by step procedure to generate the sequential reversible circuit from reversible FSM. Because of non-availability of generated sequential reversible circuit in literature, our results cannot be compared with any other circuits. We expect that the sequential reversible circuits will help in debugging the reversible circuits, handling the ambiguous state of an FSM and generating the original input in reverse direction by reversing the original output. 1

12 Chapter - 1 INTRODUCTION The computing technology and operating requirements are increasing at a high speed and achieving high packaging densities in current computing scenario. Due to the limitations such as heat dissipation, low packaging density, etc. the conventional computing is not capable to deal with such fast growing demand. Today s computing scenario demands moving beyond conventional way of computing. Some alternatives are addressed to resolve the issues of conventional computing. Out of these alternatives, the reversible computing is emerging as a promising technology that produces high packaging density, computation speed and low power consumption, etc. In this chapter, section 1.1 describes the motivation behind reversible computing as an alternative technology, section 1.2 introduces of reversible computing, section 1.3 illustrates the reversible gates and reversible circuits, section 1.4 describes the concept of sequential reversible computing, section 1.5 elaborates the sequential reversible circuits, section 1.6 describes the objectives of the dissertation work and finally section 1.7 states the organization of thesis. 1.1 Motivation Tremendous changes has been occurred in the world of computing such as computer power, speed, efficiency is increased. From 1950 s to today, hardware technology has changed from vacuum tubes to multi-million gate solid-state devices. According to Moore s law in 1960 [1], on every one and half year to two years, the count of transistors per unit area will be almost double. A road map has been drawn by ITRS of required feature size projection in future at atomic level in 2050 [2] as shown in Figure 1.1. By Moore s prediction, particularly energy loss has evolved as a major limitation of conventional computing. The problem of energy dissipation is related to technological non-ideality of switches and materials. Over the last decades, the use of new fabrication processes and higher level of integration have dramatically reduced the energy. According to R. Landauer's principle [3], some other part of problem arises which does not have a solution. The principle of R. Landauer states that KT ln2 joules of energy for every bit of information is lost if logic computations are not necessarily reversible in nature. Here, K is Boltzmann's constant and T is the absolute temperature at which operation is performed. In modern computers, the energy loss is 2

13 considered due to the loss of information. On a loss of bit information, the current processors dissipate 100 times of this amount of heat. G. Moore [1] predicted that the information loss is main reason for exponential growth of heat dissipation and it will become a significant amount of energy loss in next future. Figure 1.1 ITRS Feature Size Projection Packaging density limitations may also generate the problem of portability. Social, economic and budgeting problems may also arise due to the energy dissipation that leads power consumption. In current scenario, it is very difficult to improve the parameters of conventional computing to overcome the energy loss. The researchers found a new technology that offers comprehensive improvement and continue growth momentum over conventional computing limitations. Reversible computing has shown this potential to support this momentum. 3

14 1.2 Reversible Computing The limitations and problems in conventional computing can be overcome by a new emerged technology reversible computing. No information loss in result of circuit/ device design is called reversible. In circuit design, it naturally manages the generated energy due to the loss of information. C. H. Bennett [4] proved that almost negligible heat dissipation would be possible if the digital circuit built from reversible gates. Because of this characteristic, reversible computing has high packaging density, high computation speed and no heat dissipation. Therefore, reversibility will become an important characteristic in future circuit design. As shown in Figure 1.2, ITRS [2] defined that in the best case a reversible computer may have 1, 00,000 times better cost efficient as compare to conventional computers. The applications of reversible computing are quantum computation, optical computing, ultra low power CMOS design, DNA computing and nanotechnology etc. From reversible environment, reversible computing has physical and logical reversibility. The logical operations are operated by reversible logic blocks which are known as reversible gates in reversible computing. Figure 1.2 Cost Efficiency Benefits 1.3 Reversible Gates and Reversible Circuits In digital system design, most of the gates are not reversible. The reversible operations are not performed in the gates such as AND, OR, EXOR and EXNOR but most commonly gate only NOT gate follow the characteristic of reversibility. A reversible gate performs a 4

15 bijective (onto) function between input and output vectors. It means that in a reversible gate inputs and outputs are same in number. In 1985, R. Feynman [5] addressed a Feynman gate. The block diagram of Feynman gate has two inputs and two outputs as shown in Figure 1.3. Figure 1.3 Feynman Gate In the next chapter, a detailed study is presented on the reversible gates. To design the reversible circuits a set of reversible gates are needed. Theree is a different synthesis mechanism of reversible circuits from conventional circuits. No fan-out, each inputof the reversible output pattern should be unique and acyclic nature is the main characteristics circuits. A reversible circuit that uses only Feynman gates called as Feynman circuit or Feynman based reversible circuit (Feynman Network). In the literature, a number of reversible circuits have been addressed to build large and complex circuits. The synthesis mechanism and techniques are well established for combinational circuits. Recently, the development on sequential reversible circuits is started. The next section describes the basics of sequential reversible computing and synthesis techniques. 1.4 Sequential Reversiblee Computing Researchers have made a significant research work in reversible logic and the area of reversible combinational logic is well developed. However, there is not much research is carried out in the field of synthesis of sequential reversible circuit. There are some reasons behind a slowdown research work in this area. In the beginning, there is a wide convention that the feedback is not allowed in reversible computing but in one of the well known fundamental paper, T. Toffoli [6] has defined that feedback can be allowed in reversible computing. According to T. Toffoli, A sequential network is reversible if its combinational part (i.e., the combinational network obtained by deleting the delay elements and thus breaking the corresponding arcs) is reversible. In 1982, E. Fredkin [7] has adapted this concept to propose the first design of the reversible sequential circuit called the JK latch [7] having the feedback loop from the output to input. Apart from this, J.E. Rice [8] and other researchers have also claimed that sequential circuits are reversible in nature. Recently, A. 5

16 Banerjee et al. [9] have redefined that feedback is allowed in space but not in time. Hence, the development of reversible sequential circuits has begun. The synthesis of sequential building blocks such as flip-flops, counters, registers and synchronous sequential circuits can be carried out by sequential reversible logic. In this work, we propose the realization of reversible counters (synchronous and asynchronous) and synchronous sequential reversible circuits such as string accepter, odd parity generator. The chapter 2 describes the proposed work on the realization. 1.5 Sequential Reversiblee Circuits The sequential reversible circuit output depends upon the present input and also on past output. Therefore, a memory element is required to store the past output. In Figure 1.4, the block diagram of sequential reversible logic circuit is shown. The combinational reversible logic circuit operates on these inputs to produce the outputs [10]. Figure 1.4 Block Diagram of Sequential Logic Circuit In 2012, the design of D flip-florealization of D flip-flop is shown in Figure is proposed by Md. Selim Al Mamun et.al [11]. The 1.5. Figure 1..5 Design of D flip-flop, presented in [11] 6

17 The realization of D flip-flop has two gates, modified Fredkin gate and Double Feynman gate [11]. The detailed explanation of these gates is given in chapter 2. The design of D flip-flop has one normal output and other one is complemented output. In the proposed realization CLK is the clock. The design has 1 garbage output (g 1 ) and two constant inputs. 1.6 Objectives In this dissertation work, we have taken up the project to synthesis and optimize the sequential circuits in reversible computing. The key points of the dissertation are as follows: To propose a reversible gate and design T flip-flop from proposed reversible gate with minimum optimization parameters To realize the reversible synchronous and asynchronous counter (Up, Down, Up/Down) from the proposed reversible T flip-flop To improve the method of generating the reverse Finite State Machine (FSM) to construct reversible FSM To propose a method for the realization of synchronous sequential reversible circuit from FSM To realize the reversible circuit for string accepter and odd parity generator from proposed method To prove the proposed method of realizing the sequential reversible circuit from theorems and to compare the results with previous proposed designs in literature 1.7 Organization of Thesis The work of dissertation is as follows: Chapter 2, titled Background & Literature Survey describes the classic definition and related objects of reversible logic are explained. By this brief introduction, the reader gains the real objective and notations of reversible logic theory. The previous work on sequential circuit realization is summarized and analyzed in this section. The introduction, background and formalism of FSM are explained in this chapter. The main focus of this chapter is to point out the weakness of previous design and approaches. 7

18 The first step in our research is to propose a reversible gate and design T flip-flop using proposed reversible gate with minimum optimization parameters. The chapter 3, titled Design of Sequential Reversible Counters is focused on minimization of the T flip-flop and to propose the design of sequential reversible counters. The theorems are also proposed to explain the realization of reversible counters. Chapter 4, titled Approach & Realization of Sequential Reversible Circuit from FSM explains the improvement method of generating reverse FSM is explained to construct the reversible FSM. At last, the reversible circuit is realized from reversible FSM using our method. Chapter 5, titled Results proposes a comparative and statistical study on the synthesis of flip-flop and counters. The reversible circuit of string accepter and odd parity generator are used for verification of results. Chapter 6, titled Conclusion and Future Scope concludes the thesis work and points out to the directions of further research in the area of sequential reversible logic synthesis. 8

19 Chapter - 2 BACKGROUND & LITERATURE SURVEY The development of sequential reversible computing is introduced in the chapter 2. Boolean algebra, definition of reversible logic, reversible gates, synthesis methods of sequential reversible computing, FSM formalism and related work are covered in this chapter. The synthesis of circuits in conventional computing is well established but the synthesis and optimization of sequential reversible computing is still at premature stage. In this chapter, the proposed method and designs of sequential reversible circuits such as flip-flops and counters are addressed and analyzed. The techniques for obtaining conventional irreversible circuits from FSM are well established. A very few attempts have been reported in the literature for the conversion FSM to reversible FSM. To the best of our knowledge, this is the first attempt for realizing sequential reversible circuit using reversible FSM. The proposed work related to reversible FSM is also addressed in this chapter. We organize the background (reversible logic and FSM) and survey in following categories: Boolean Algebra Reversible Gates and Circuits Synthesis Approaches of Sequential Reversible Computing Optimization Parameters Introduction, Background and Formalism of FSM Related work Survey Extraction 2.1 Boolean Algebra To start a discussion on reversible logic, it is good to have some brief overview on Boolean logic. 0 and 1 are the two Boolean constants. To describe a Boolean function of n variables truth table is useful. In conventional computing, a truth table has 2 n rows and n+ 1 column. A function of n Boolean variables has 2 n number of different inputs. In this way, the truth table has 2 n rows [12]. The conventional way of representing the truth table is to arrange 2 n 9

20 Boolean patterns in a lexicographical order. A lot of storage space is required for the truth table though ordering of input is not important. For the simplification and to save storage space, the truth vector is used. The usefulness of truth vector can be explained by comparing a function with truth table method. Example 1: Consider a truth table as shown in Figure 2.1. For the same function, the truth vector is {0, 1, 0, 0, 1, 0, 1, 1}. In general, a function of n variables the truth vector requires n+ 1 times less storage than truth table. So, the truth vector is useful wherever it is convenient. Table 2.1 TRUTH TABLE METHOD A B C F(A, B, C) A p-input and q-output (multiple output) defines a Boolean function (f 1 (x 1, x 2, x 3,., x p ), f 2 (x 1, x 2, x 3,., x p ),,f q (x 1, x 2, x 3,., x p )) with (p+ q) columns in truth table. Equivalently, p-input q- output (multiple output) Boolean function is a vector-function of q Boolean functions. A multiple output function can be represented as truth vector. So, the binary representation of output pattern for each of the 2 p elements of this vector is an integer bearing an interval of [ q -1] [12]. From the Example 1, one can conclude that the above described truth table method saves onefourth of the storage space. Example 2: In table 2.2, a 3-input and 3-output (multiple outputs) Boolean function is given. The truth vector is {0, 1, 2, 3, 7, 6, 5, 4}. 10

21 Table 2.2 TRUTH TABLE FOR A 3-INPUT AND 3-OUTPUT FUNCTION A B C f 1 f 2 f Here, the operations of concatenation or conjunction, negation and EXOR are used. For more details on Boolean logic refer [12]. 2.2 Reversible Gates and Circuits Before an introduction of popular reversible gates and circuits, we are addressing the definition of reversible logic in this section Definition of Reversible Logic Definition 1: The reversible function is the main object in reversible logic theory. It is defined as follows [13]: A Boolean function F(x 1, x 2, x 3,., x n ) with multiple output of n variables is reversible if: The number of outputs is equal to the number of inputs Each output pattern has a bijection function In this way, the reversible function performs one to one correspondence between input and output vectors. Example 3: A formula (A, B) (A, AÅB) satisfies a 2-input and 2-output function. The given truth table below is reversible. 11

22 Table 2.3 A REVERSIBLE TRUTH TABLE A B A AÅ B The analysis of the truth table verifies the reversibility. Example 4: Consider a function (A, B) AB (logical AND operation). It is not possible to make it reversible by adding a single output [6]. If we add one input and two outputs then, the function becomes reversible which is shown in Table 2.4. Table 2.4 A LOGICAL REVERSIBLE AND FUNCTION A B C A B ABÅC As observed in the truth table, variable C will be zero at third output column value to get the desired function. In other words, the input C must be constant zero to realize the function. A, B are two garbage outputs. This function realizes the Toffoli gate [6]. Therefore, to make a function reversible, it is necessary to add input and output values. Definition 2: To make p-input and q-output function reversible garbage outputs are added. To make (p, q) function reversible constant inputs (present value inputs) are added. A single constant input C=0 is added as shown in Example 4. 12

23 A simple formula derives a relation between the constant inputs and number of garbage outputs [12] input + constant input = output + garbage outputs Basic Reversible Gates In this section, we illustrate about the popular reversible gates which are use in synthesis of sequential reversible circuits. In 1973, C.H. Bennett [4] showed that if reversible gate are using for circuit realization then it is possible to gain less or almost no energy loss. Researchers have proposed a number of reversible gates. These are: NOT Gate: It is a 1 1 basic reversible logic gate. In 1980, T. Toffoli showed that NOT gate is reversible [6]. The block diagram is shown in Figure 2.1. A P=A Figure 2.1 Block diagram of NOT Gate Feynman Gate: The truth table of a 2-bit Feynman gate (FG) is shown in Figure 2.2(a), and its block diagram is shown in Figure 2.2(b) [5]. Feynman Gate can be used as a copying gate. Since a fan-out is not allowed in reversible logic, this gate can be used for duplication of the input to two outputs. Figure bit Feynman Gate (a) Truth Table; (b) Block Diagram Toffoli Gate: In 1980, T. Toffoli introduced a famous Toffoli gate. The truth table of a 3- bit Toffoli gate (TG) is shown in Figure 2.3(a), and its block diagram is shown in Figure 2.3(b) [6]. Toffoli gate is used as a universal gate in reversible logic. 13

24 Figure bit Toffoli Gate (a) Truth Table; (b) Block Diagram Fredkin Gate: The truth table of a 3-bit Fredkin gate (FRG) is shown in Figure 2.4(a) and its block diagram is shown in Figure 2.4(b) [7]. Fredkin gate is the mostly used reversible gate to design reversible latches and flip-flops. Figure bit Fredkin Gate (a) Truth Table; (b) Block Diagram Peres Gate: It is a 3 3 reversible gate. The truth table of the Peres gate is shown in Figure 2.5(a) and its block diagram is shown in Figure 2.5(b) [14]. The Peres Gate is the combination of Feynman Gate (FG) and Toffoli Gate (TG). 14

25 Figure bit Peres Gate (a) Truth Table; (b) Block Diagram Figure bit Peres Gate (a) Truth Table; (b) Block Diagram Sequential Reversible Gates In this subsection, some important reversible gates are explained which are also used in the synthesis of sequential reversible circuits. These are: New Gate: The truth table of a 3 3 reversible gate is shown in figure 2.6(a). Figure 2.6(b) shows the block diagram of New Gate (NG). The first attempt on the realization of sequential reversible building blocks H. Thapliyal et al. [15] has used New Gate. Figure bit New Gate (a) Truth Table; (b) Block Diagram Sayem Gate: A new reversible 4 4 gate named Sayem Gate (SG) is proposed by Abu Sadat Md. Sayem et al. [16]. The truth table of Sayem gate is shown in Table 2.5. Its block diagram is shown in figure 2.7. V. Rajmohan et al. [17] used this gate for the realization of T, D flip-flops, counters and shift registers. 15

26 Table 2.5 TRUTH TABLE OF SAYEM GATE Figure 2.7 Block Diagram of Sayem Gate HNFG Gate: M. Haghparast et al. [18] have proposed a reversible gate which is used for the realization of shift registers. The block diagram of HNFG Gate is shown in Figure 2.8 and its truth table is shown in Table 2.6 respectively. Figure 2.8 Block Diagram of HNFG Gate 16

27 Table 2.6 TRUTH TABLE OF HNFG GATE There are several reversible gates are which are used for the realization of sequential reversible circuits. For the synthesis of sequential reversible circuits such as flip-flops, counters and registers the above proposed gate, Fredkin Gate, Feynman Gate etc. are used. 2.3 Synthesis Approaches of Sequential Reversible Computing For the synthesis and optimization of combinational reversible circuits, the approaches such as transformation based methods [19], Search-based methods [20], Cycle-based methods [21] and BDD [23] were proposed by different researchers. However, in the synthesis techniques of sequential reversible circuits only transformation based method is used. The transformation based synthesis method proposes to compares the identity function (I) with a given permutation (F) as shown in figure 2.9. It applies reversible gates to transform F into I. The synthesis of sequential reversible logic can be done by two approaches. Often, it is useful to have two approaches to solve a problem [23]. The first approach can be considered by examining the conventional logic implementations of sequential reversible circuits such as flip-flops and counters. The replacement of conventional gates in these elements by reversible gates will be the resultant sequential reversible logic 17

28 circuits. According to the second approach, the problem is examined from a logic synthesis point of view. A truth table is given with the desired logic [24]. We can make a cascade of reversible logic elements which transforms the inputs to final outputs. Figure 2.9 Flow Chart of Transformation Based Approach Thus, after a careful selection of sequential reversible gates, we can start incorporating these gates into a process of synthesis with the target of generating sequential logic circuits. From a careful survey of sequential reversible circuit synthesis (the details is given in section 2.6), we can conclude that the technique of incorporating the sequential networks into reversible logic synthesis is not yet investigated. However, the above explained transformation based approaches are reasonably useful for the synthesis of sequential reversible networks. 2.4 Optimization Parameters The synthesis of sequential reversible logic is carried out by transformation based. After the synthesis process, the optimization of the circuit is required. The optimization process can be started with the synthesis process or after the synthesis. It is also called the post synthesis optimization. The design of any reversible logic can be minimized based upon some necessary parameters. These parameters are explained as follows: Gate Counts: The total number of reversible gates required to realize a reversible circuit is referred as gate counts [25]. In figure 1.5, the gate count is Garbage Outputs: The unwanted or unused outputs which are needed to maintain reversibility of a reversible gate is called as Garbage Outputs [25]. 18

29 2.4.3 Constant Inputs: In the synthesis of sequential reversible circuits, it is a very important factor. Constants are the input lines that are either set to zero or one in the circuit s input side [25]. In this way, our goal is to synthesis of sequential reversible circuit and design optimization of sequential reversible logic in terms of all important parameters, viz., the gate counts, garbage outputs and constant inputs as observed that these optimization parameters can further be reduced. 2.5 Finite State Machine (FSM) An FSM consist a finite set of states and transitions among them. The machine can be in only one of the states at any point of time and can transition to the next state based on the current state and current value of inputs. An output is also be generated during the transition. In figure 2.10 the finite set of states is S 0, S 1 and transitions among them are shown by arrows. There are two types of FSM with output; (i) Moore Machine and (ii) Mealy Machine. In figure 2.10(a) and 2.10(b), the examples of Moore and Mealy machine are demonstrated respectively. The input value is always marked on the arrows and the output values are given under '/' sign inside the states of Moore machine. But in the case of Mealy machine, output values are given under '/' sign on arrows [26]. (a) (b) Figure 2.9 (a) Moore and (b) Mealy FSM 19

30 Both these machines are equivalent and one can convert into another by existing standard techniques. Constructing a reversible FSM with normalizing the issues, sequential reversible circuits can be realized. The realization of the circuit is of interest to reduce the heat dissipation in future reversible technologies Background Often, a finite state machine is one of the important methods that describe the behavior of sequential digital circuits. An FSM can be described as a set of states and transitions among them. One of the states is designated as initial state and one or more states as final states. The transitions represent the change in state on specific inputs and produce new state and input. FSM can be viewed as a circuit that receives a sequence of inputs and produces a corresponding sequence of outputs while changing its own internal state. In order to incorporate reversibility in the circuits, a new FSM can be designed from the given original FSM such that it works in the reverse direction of the original one [26]. Normally, the sequence of the inputs is given to the initial/current state of the original FSM and sequence of outputs is generated at next/final state of an FSM as shown in Figure 2.11(a). In the reversing process of an FSM as shown in Figure 2.11(b), it can start from the original final state, consume the original outputs in reverse direction and produce the original inputs. Simply, one can generate the reverse of an FSM by reversing the transitions. In addition to reversible logic design the reverse FSM is useful in error analysis, debugging and fault tolerance for controllers and for designing sequential circuits. (a) (b) Figure 2.11 (a) An original FSM and (b) its Reverse 20

31 2.5.2 Symbols and Formalism of FSM In this work, we focus on Mealy machines. We first define a number of symbols: 0 1: represents either 0 or 1 in a bit position {0, 1}: represents the set of 0 and 1 s * : represents zero or more repetitions of s s + : represents one or more repetitions of s (0 1)+: represents any non-empty vector of 0s and 1s in any order A Mealy FSM can be formally defined by a four tuples (Q, I, O, f) where: Q: represents finite non-empty set of states I: represents finite non-empty set of input values O: represents finite non-empty set of output values f: represents combined state-transition and output function; f: Q I Q O Hence, for every combination of current state and input, f produces the next state and the output. Before explaining the steps to realize the sequential reversible circuit by reversible FSM, some issues can be defined as follows [27]: A. Definition 1: Ambiguous Previous State An FSM contains ambiguous previous state if it contains at least one state which can be entered from two different states but sharing the same output value: $ qi, q j, qkî Q qi ¹ q j $ ii,i jî I In such case, state q k has ambiguous previous state. $ o Î O f (q i,i i ) = f (q j,i j) = f (q k,o k ) (1) k B. Definition 2: Conflicting States The conflicting states of a state q k and output value o k consists of all previous states of q k that produce the same output o k when transitioning to q k Following equation (1) above, all q i and q j comprise the conflicting set of q k : 21

32 C. Definition 3: Don't Care Condition CS (q k,o k ) = {q i $ q jî Q qi ¹ q j $ ii,i jî f (q,i ) = f (q,i ) = (q,o )} (2) i i j j k k The don t care condition arises when an output bit does not depend on input of previous state. This is required for obtaining output and optimization using K-map. I 2.6 Related Work In current literature, researchers have proposed the design of sequential reversible circuits. The synthesis and optimization technique of sequential reversible circuits is also proposed. The following points describe the previous proposed work in reversible finite state machine and sequential reversible circuit Reversible Finite State Machine The realization of reversible Finite State Machine was proposed by D. Vasudevan et al. [27] in The two issues in FSM were also addressed by the researchers and they generated reversible FSM by merging original and reverse FSM. However, improvement in reverse FSM generation procedure is needed for realization of reversible circuit from reversible FSM. Researchers have addressed a procedure to obtain the reversible FSM using FSM as input and implemented its behavior in Field Programming Gate Array (FPGA) Reversible T Flip-Flop In 2005, H. Thapliyal et al. [15] have addressed the design of reversible T flip-flop. In the designing of reversible T flip-flop, the conventional design of a flip-flop was used. The Fredkin, Feynman and New Gate was used as AND, NOT and NOR Gate respectively. This was the first attempt on the designing of reversible T flip-flop. The proposed design has 10 reversible gates, 12 garbage outputs and 10 constant inputs. This work was very general and further investigation is needed in order to optimize the published results. J. E. Rice [8] has proposed reversible T flip-flop by using NOT gates and R-S latches in The realization of R-S latch was proposed by Toffoli, Extended Toffoli and NOT gate. The results were improved from the previous proposed design of reversible T flip-flop. The proposed reversible design has 13 reversible gates, 14 garbage outputs and 13 constant inputs. 22

33 In 2006, the reversible design of T flip-flop was proposed by S. K. S. Hari et al. [22] from basic reversible Fredkin and Feynman gates. The improved results were found after a comparison from the previous proposed design on sequential reversible T flip-flop. The proposed reversible design of T flip-flop has 3 garbage outputs, 5 reversible gates and 2 constant inputs. In 2007, A. Banerjee et al. [9] have proposed the realization of reversible T flip-flop. For the construction of reversible T flip-flop, Toffoli gate (CCNOT Gate), Feynman gate (CNOT gate) and NOT were used. The proposed reversible T flip-flop has 14 reversible gates, 10 garbage outputs and 10 constant inputs. It is observed that the further optimization is needed in the reversible design and our proposed design is much optimized than the above proposed work. A novel concept on the designing of reversible flip-flops was proposed by Min-Lun Chuang et al. [28] in In this work, T flip-flop was reported by using one D and T latche, which was an improvement over the proposed design of H. Thapliyal. The realization of D and T latche has Toffoli, Feynman and NOT gate. The proposed circuits were optimized in terms of gate counts, garbage outputs which were 5 and 3 respectively. In 2011, V. Rajmohan et al. [17] have reported the realization of reversible T flip-flop. The realization of T flip-flop has one Fredkin gate and two Sayem gates. Hence 3 gates, 3 garbage outputs and 2 constant inputs have been used in constructing the reversible T flip-flop Reversible Asynchronous and Synchronous Counters V.Rajmohan et al. [17] have proposed the design of reversible up-down asynchronous and synchronous counters in 2011 from reversible T flip-flop. The design has 15 reversible gates, 12 garbage outputs and 11 to 13 constant inputs. In 2012, Lafifa Jamal et al. [29] have proposed the realization of reversible synchronous counter from JK flip-flop. The proposed JK flip-flop has 3 reversible gates (two Fredkin gate and one Double Feynman gate), 3 garbage outputs and 2 constant inputs. The realization of reversible synchronous counter has 20 gates, 22 garbage outputs and 16 constant inputs. In 2013, Pradeep Singla et al. [30] have proposed the design of synchronous and asynchronous counters from JK flip-flop. The proposed JK flip-flop has 10 reversible gates (4 Mux gate, 2 New gate and 4 Feynman gate), 12 garbage outputs and 10 constant inputs. Hence, the reversible counters have reversible gates, garbage outputs and constant inputs. 23

34 2.7 Survey Extraction From the careful survey on the synthesis and optimization of sequential reversible circuits, it can be concluded that most of these work considered the optimization of number of reversible gates, garbage outputs and constant inputs. We have observed that the designs of T flip-flop can be optimize in terms of optimization parameters (gate counts, garbage outputs and constant inputs) to directly optimize the design of synchronous and asynchronous counters as T flip-flop is used in the realization of counters. In the realization of reversible circuit from reversible FSM, we observed that the obtained reversible FSM can be extended for obtaining reversible circuits. Hence, a modified process can be proposed to generate a reversible FSM followed by reverse FSM. The next subsequent chapters of this dissertation will explain our proposed work. 24

35 DESIGN OF SEQUENTIAL REVERSIBLE COUNTERS Chapter 3 This chapter illustrates the proposed synthesis and optimization of sequential reversible circuits. The proposed design has low cost optimization parameters. In this chapter, a new reversible gate is proposed and this gate is used to realize the T flip-flop. The realization of reversible synchronous and asynchronous (UP, DOWN) counters is also proposed by T flipflop. The conventional design of counters is used to propose reversible synchronous and asynchronous counters. The transformation based approach is applied for the realization of counters. The algorithm and theorems are proposed for the design of counters. The next sections of this chapter are described as follows: Proposed Reversible Gate Proposed T Flip-Flop Design of Asynchronous Reversible Counters Design of Synchronous Reversible Counters 3.1 Proposed Reversible Gate To realize the sequential reversible counters, we present a new 4 4 reversible SVS gate. This gate maps input vectors I (A, B, C, D) to output vectors O (P, Q, R, S) where P = A, Q = BC A B AB C, R = BC A B AB C D and S = A C AB respectively. Figure 3.1 shows the block diagram of SVS gate. Table 3.1 shows the relevant truth table of the proposed gate. Figure 3.1 Proposed 4 4 reversible SVS gate 25

36 Table 3.1 TRUTH TABLE OF THE PROPOSED REVERSIBLE GATE 3.2 Proposed Reversible T Flip-Flop A flip-flop is a bi-stable multi-vibrator. A flip-flop has only two stable states. In this section we propose the realization of level triggered T Flip-flop from our proposed reversible SVS gate. This flip-flop Toggle or complement its state so the T flip-flop is known as Toggle flip-flop. The modification of JK flip-flop is T flip-flop. T flip-flop is realized from JK flip-flop by connecting both the inputs J and K together [10]. The characteristic equation of T flip-flop is Q n = (T. CLK) Q n-1. When the T input is in the 0 state prior to a clock pulse, the Q n output will not change with clocking. When the T input is in the 1 level prior to clocking, the output will be Q n. The truth table shows that when T=0, then Q n =Q n-1, the next output is the same as the present state and no change occurs. When T=1 and CLK=1, then Q n =Q n-1, i.e. state of the flip-flop is complemented. Table 3.2 shows the truth table of T flip-flop. 26

37 Table 3.2 TRUTH TABLE OF T FLIP-FLOP CLK T Q n-1 Q n The characteristic equation of T flip-flop can be directly mapped into proposed SVS gate. The clock is applied at input A of the SVS gate. The feedback is applied at input B to output R of the SVS gate to realize the characteristic equation of the T flip-flop. The toggle and constant input 0 is applied at input C and D. The garbage outputs in the T flip-flop are output P and S. The output Q n of SVS gate is considered as output of proposed reversible T flip-flop. The four input combinations can be found in the proposed reversible level triggered T flipflop as (CLK = 0, T = 0, Q n-1 = 0), (CLK = 0, T = 1, Q n-1 = 0), (CLK = 1, T = 0, Q n-1 = 0), and (CLK = 1, T = 1, Q n-1 = 1), the output Q n is 0. The proposed design of reversible T flipflop has 2 garbage outputs and 1 constant input. The reversible design of T flip-flop is shown in figure 3.2 and its corresponding block diagram is shown in figure 3.3. Figure 3.2 Proposed Reversible Design of T Flip-Flop 27

38 Figure 3.3 Block Diagram of Proposed T Flip-Flop In the realization of sequential counters T flip-flop is mostly used because of its inherent divide by- 2 capabilities. When a clock is enabled, the output changes state at every input cycle [10]. This type of action is required in many cases of counters. 3.3 Design of Asynchronous Reversible Counters This section illustrates the design and realization of asynchronous reversible counter from the proposed reversible T flip-flop. The algorithms and theorems are also described to prove and justify the reversible design of asynchronous counters. In literature, very little work has been proposed in the design of reversible asynchronous and synchronous counters and found that the optimization can be possible in the previous designs. Therefore, we are proposing the realization of asynchronous counters. The realization of reversible synchronous counters is proposed in next subsection. To realize the reversible counters transformation based approach is used. The steps can be followed to propose all type of reversible counters. These are the general steps which are applicable in the realization of every reversible counter. i. Consider a conventional circuit of desired counter ii. Select the flip-flop to be used iii. Replace the conventional gates (AND, OR gate etc.) from reversible gate( Toffoli, Feynman gate) in conventional circuit iv. Derive the excitation functions and working for the selected counters, and finally v. Realize the logic network for the excitation function of the reversible counter In terms of logical operations the asynchronous counter is the simplest one. In an asynchronous counter, the clock pulse is applied to the first flip-flop and the next flip-flop is 28

39 triggered by the output of the previous flip-flop. The first steps of the counters switches first and successive stages change their states causing a ripple through effect of the count pulses [10] Proposed 4-bit Asynchronous (Ripple) Reversible Up-Counter The conventional circuit diagram of a 4-bit asynchronous up-counter is shown in figure 3.4. Figure 3.4 A Conventional 4-bit Asynchronous Up-Counter The reversible design of the 4-bit asynchronous Up-Counter is shown in figure 3.5. At the output of each reversible T Flip-flop, the Feynman Gate is used for the complemented Q output with the input B=1. These complemented Q outputs of each T Flip-flop trigger the subsequent T Flip-flops and the reversible design performs the Up-Counter operation [34].. Figure 3.5 Proposed 4-bit Reversible Asynchronous Up-Counter 29

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

A New Gate for Optimal Fault Tolerant & Testable Reversible Sequential Circuit Design A New Gate for Optimal Fault Tolerant & Testable Reversible Sequential Circuit Design A Dissertation Submitted in partial fulfillment for the award of the Degree of Master of Technology in Department of

More information

DESIGN AND ANALYSIS OF FLIP-FLOPS USING REVERSIBLE LOGIC

DESIGN AND ANALYSIS OF FLIP-FLOPS USING REVERSIBLE LOGIC DESIGN AND ANALYSIS OF FLIP-FLOPS USING REVERSIBLE LOGIC R. Jayashree, Dept. of ECE, SRM University, Kattankulathur. jayshreesrec@gmail.com M. Kiran Kumar, Dept. of ECE, SRM University, Kattankulathur.

More information

Synthesis of Reversible Sequential Elements

Synthesis of Reversible Sequential Elements 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

More information

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath Objectives Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath In the previous chapters we have studied how to develop a specification from a given application, and

More information

Lecture 8: Sequential Logic

Lecture 8: Sequential Logic Lecture 8: Sequential Logic Last lecture discussed how we can use digital electronics to do combinatorial logic we designed circuits that gave an immediate output when presented with a given set of inputs

More information

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

Final Exam review: chapter 4 and 5. Supplement 3 and 4 Final Exam review: chapter 4 and 5. Supplement 3 and 4 1. A new type of synchronous flip-flop has the following characteristic table. Find the corresponding excitation table with don t cares used as much

More information

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

Section 6.8 Synthesis of Sequential Logic Page 1 of 8 Section 6.8 Synthesis of Sequential Logic Page of 8 6.8 Synthesis of Sequential Logic Steps:. Given a description (usually in words), develop the state diagram. 2. Convert the state diagram to a next-state

More information

Chapter 5 Synchronous Sequential Logic

Chapter 5 Synchronous Sequential Logic Chapter 5 Synchronous Sequential Logic Chih-Tsun Huang ( 黃稚存 ) http://nthucad.cs.nthu.edu.tw/~cthuang/ Department of Computer Science National Tsing Hua University Outline Introduction Storage Elements:

More information

Chapter 5: Synchronous Sequential Logic

Chapter 5: Synchronous Sequential Logic Chapter 5: Synchronous Sequential Logic NCNU_2016_DD_5_1 Digital systems may contain memory for storing information. Combinational circuits contains no memory elements the outputs depends only on the inputs

More information

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

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS NH 67, Karur Trichy Highways, Puliyur C.F, 639 114 Karur District DEPARTMENT OF ELETRONICS AND COMMUNICATION ENGINEERING COURSE NOTES SUBJECT: DIGITAL ELECTRONICS CLASS: II YEAR ECE SUBJECT CODE: EC2203

More information

Chapter 3. Boolean Algebra and Digital Logic

Chapter 3. Boolean Algebra and Digital Logic Chapter 3 Boolean Algebra and Digital Logic Chapter 3 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple logic circuits. Understand how

More information

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic Chapter 5. Synchronous Sequential Logic 1 5.1 Introduction Electronic products: ability to send, receive, store, retrieve, and process information in binary format Dependence on past values of inputs Sequential

More information

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

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters Logic and Computer Design Fundamentals Chapter 7 Registers and Counters Registers Register a collection of binary storage elements In theory, a register is sequential logic which can be defined by a state

More information

Sequential Logic Circuits

Sequential Logic Circuits Sequential Logic Circuits By Dr. M. Hebaishy Digital Logic Design Ch- Rem.!) Types of Logic Circuits Combinational Logic Memoryless Outputs determined by current values of inputs Sequential Logic Has memory

More information

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences EECS150 J. Wawrzynek Spring 2002 4/5/02 Midterm Exam II Name: Solutions ID number:

More information

Logic Design II (17.342) Spring Lecture Outline

Logic Design II (17.342) Spring Lecture Outline Logic Design II (17.342) Spring 2012 Lecture Outline Class # 05 February 23, 2012 Dohn Bowden 1 Today s Lecture Analysis of Clocked Sequential Circuits Chapter 13 2 Course Admin 3 Administrative Admin

More information

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

Chapter 6. Flip-Flops and Simple Flip-Flop Applications Chapter 6 Flip-Flops and Simple Flip-Flop Applications Basic bistable element It is a circuit having two stable conditions (states). It can be used to store binary symbols. J. C. Huang, 2004 Digital Logic

More information

Synchronous Sequential Logic

Synchronous Sequential Logic Synchronous Sequential Logic Ranga Rodrigo August 2, 2009 1 Behavioral Modeling Behavioral modeling represents digital circuits at a functional and algorithmic level. It is used mostly to describe sequential

More information

CHAPTER 4: Logic Circuits

CHAPTER 4: Logic Circuits CHAPTER 4: Logic Circuits II. Sequential Circuits Combinational circuits o The outputs depend only on the current input values o It uses only logic gates, decoders, multiplexers, ALUs Sequential circuits

More information

Chapter 11 State Machine Design

Chapter 11 State Machine Design Chapter State Machine Design CHAPTER OBJECTIVES Upon successful completion of this chapter, you will be able to: Describe the components of a state machine. Distinguish between Moore and Mealy implementations

More information

CHAPTER 4: Logic Circuits

CHAPTER 4: Logic Circuits CHAPTER 4: Logic Circuits II. Sequential Circuits Combinational circuits o The outputs depend only on the current input values o It uses only logic gates, decoders, multiplexers, ALUs Sequential circuits

More information

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 8 Following the slides of Dr. Ahmed H. Madian محرم 1439 ه Winter

More information

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS In the same way that logic gates are the building blocks of combinatorial circuits, latches

More information

Chapter 4. Logic Design

Chapter 4. Logic Design Chapter 4 Logic Design 4.1 Introduction. In previous Chapter we studied gates and combinational circuits, which made by gates (AND, OR, NOT etc.). That can be represented by circuit diagram, truth table

More information

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

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram UNIT III INTRODUCTION In combinational logic circuits, the outputs at any instant of time depend only on the input signals present at that time. For a change in input, the output occurs immediately. Combinational

More information

Unit 11. Latches and Flip-Flops

Unit 11. Latches and Flip-Flops Unit 11 Latches and Flip-Flops 1 Combinational Circuits A combinational circuit consists of logic gates whose outputs, at any time, are determined by combining the values of the inputs. For n input variables,

More information

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

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

More information

ELEN Electronique numérique

ELEN Electronique numérique ELEN0040 - Electronique numérique Patricia ROUSSEAUX Année académique 2014-2015 CHAPITRE 5 Sequential circuits design - Timing issues ELEN0040 5-228 1 Sequential circuits design 1.1 General procedure 1.2

More information

Synchronous Sequential Logic. Chapter 5

Synchronous Sequential Logic. Chapter 5 Synchronous Sequential Logic Chapter 5 5-1 Introduction Combinational circuits contains no memory elements the outputs depends on the inputs Synchronous Sequential Logic 5-2 5-2 Sequential Circuits Sequential

More information

CS8803: Advanced Digital Design for Embedded Hardware

CS8803: Advanced Digital Design for Embedded Hardware CS883: Advanced Digital Design for Embedded Hardware Lecture 4: Latches, Flip-Flops, and Sequential Circuits Instructor: Sung Kyu Lim (limsk@ece.gatech.edu) Website: http://users.ece.gatech.edu/limsk/course/cs883

More information

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

The word digital implies information in computers is represented by variables that take a limited number of discrete values. Class Overview Cover hardware operation of digital computers. First, consider the various digital components used in the organization and design. Second, go through the necessary steps to design a basic

More information

MC9211 Computer Organization

MC9211 Computer Organization MC9211 Computer Organization Unit 2 : Combinational and Sequential Circuits Lesson2 : Sequential Circuits (KSB) (MCA) (2009-12/ODD) (2009-10/1 A&B) Coverage Lesson2 Outlines the formal procedures for the

More information

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University `OEN 32 IGITL SYSTEMS ESIGN - LETURE NOTES oncordia University hapter 5: Synchronous Sequential Logic NOTE: For more eamples and detailed description of the material in the lecture notes, please refer

More information

Combinational / Sequential Logic

Combinational / Sequential Logic Digital Circuit Design and Language Combinational / Sequential Logic Chang, Ik Joon Kyunghee University Combinational Logic + The outputs are determined by the present inputs + Consist of input/output

More information

Asynchronous (Ripple) Counters

Asynchronous (Ripple) Counters Circuits for counting events are frequently used in computers and other digital systems. Since a counter circuit must remember its past states, it has to possess memory. The chapter about flip-flops introduced

More information

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS) DIGITAL SYSTEM DESIGN UNIT I (2 MARKS) 1. Convert Binary number (111101100) 2 to Octal equivalent. 2. Convert Binary (1101100010011011) 2 to Hexadecimal equivalent. 3. Simplify the following Boolean function

More information

WINTER 15 EXAMINATION Model Answer

WINTER 15 EXAMINATION Model Answer Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate

More information

Digital Logic Design I

Digital Logic Design I Digital Logic Design I Synchronous Sequential Logic Mustafa Kemal Uyguroğlu Sequential Circuits Asynchronous Inputs Combinational Circuit Memory Elements Outputs Synchronous Inputs Combinational Circuit

More information

CPS311 Lecture: Sequential Circuits

CPS311 Lecture: Sequential Circuits CPS311 Lecture: Sequential Circuits Last revised August 4, 2015 Objectives: 1. To introduce asynchronous and synchronous flip-flops (latches and pulsetriggered, plus asynchronous preset/clear) 2. To introduce

More information

Advanced Digital Logic Design EECS 303

Advanced Digital Logic Design EECS 303 Advanced Digital Logic Design EECS 303 http://ziyang.eecs.northwestern.edu/eecs303/ Teacher: Robert Dick Office: L477 Tech Email: dickrp@northwestern.edu Phone: 847 467 2298 Outline Introduction Reset/set

More information

Microprocessor Design

Microprocessor Design Microprocessor Design Principles and Practices With VHDL Enoch O. Hwang Brooks / Cole 2004 To my wife and children Windy, Jonathan and Michelle Contents 1. Designing a Microprocessor... 2 1.1 Overview

More information

Digital Principles and Design

Digital Principles and Design Digital Principles and Design Donald D. Givone University at Buffalo The State University of New York Grauu Boston Burr Ridge, IL Dubuque, IA Madison, Wl New York San Francisco St. Louis Bangkok Bogota

More information

Logic Design ( Part 3) Sequential Logic- Finite State Machines (Chapter 3)

Logic Design ( Part 3) Sequential Logic- Finite State Machines (Chapter 3) Logic esign ( Part ) Sequential Logic- Finite State Machines (Chapter ) Based on slides McGraw-Hill Additional material 00/00/006 Lewis/Martin Additional material 008 Roth Additional material 00 Taylor

More information

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

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall Objective: - Dealing with the operation of simple sequential devices. Learning invalid condition in

More information

Chapter 5 Synchronous Sequential Logic

Chapter 5 Synchronous Sequential Logic EEA051 - Digital Logic 數位邏輯 Chapter 5 Synchronous Sequential Logic 吳俊興國立高雄大學資訊工程學系 December 2005 Chapter 5 Synchronous Sequential Logic 5-1 Sequential Circuits 5-2 Latches 5-3 Flip-Flops 5-4 Analysis of

More information

Combinational vs Sequential

Combinational vs Sequential Combinational vs Sequential inputs X Combinational Circuits outputs Z A combinational circuit: At any time, outputs depends only on inputs Changing inputs changes outputs No regard for previous inputs

More information

CS T34-DIGITAL SYSTEM DESIGN Y2/S3

CS T34-DIGITAL SYSTEM DESIGN Y2/S3 UNIT III Sequential Logic: Latches versus Flip Flops SR, D, JK, Master Slave Flip Flops Excitation table Conversion of Flip flops Counters: Asynchronous, synchronous, decade, presettable Shift Registers:

More information

CSE115: Digital Design Lecture 23: Latches & Flip-Flops

CSE115: Digital Design Lecture 23: Latches & Flip-Flops Faculty of Engineering CSE115: Digital Design Lecture 23: Latches & Flip-Flops Sections 7.1-7.2 Suggested Reading A Generic Digital Processor Building Blocks for Digital Architectures INPUT - OUTPUT Interconnect:

More information

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

IT T35 Digital system desigm y - ii /s - iii UNIT - III Sequential Logic I Sequential circuits: latches flip flops analysis of clocked sequential circuits state reduction and assignments Registers and Counters: Registers shift registers ripple counters

More information

UNIT 1 NUMBER SYSTEMS AND DIGITAL LOGIC FAMILIES 1. Briefly explain the stream lined method of converting binary to decimal number with example. 2. Give the Gray code for the binary number (111) 2. 3.

More information

Logic Design. Flip Flops, Registers and Counters

Logic Design. Flip Flops, Registers and Counters Logic Design Flip Flops, Registers and Counters Introduction Combinational circuits: value of each output depends only on the values of inputs Sequential Circuits: values of outputs depend on inputs and

More information

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

Unit 9 Latches and Flip-Flops. Dept. of Electrical and Computer Eng., NCTU 1 Unit 9 Latches and Flip-Flops Dept. of Electrical and Computer Eng., NCTU 1 9.1 Introduction Dept. of Electrical and Computer Eng., NCTU 2 What is the characteristic of sequential circuits in contrast

More information

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors CSC258 Week 5 1 We are here Assembly Language Processors Arithmetic Logic Units Devices Finite State Machines Flip-flops Circuits Gates Transistors 2 Circuits using flip-flops Now that we know about flip-flops

More information

Part II. Chapter2: Synchronous Sequential Logic

Part II. Chapter2: Synchronous Sequential Logic 課程名稱 : 數位系統設計導論 P-/77 Part II Chapter2: Synchronous Sequential Logic 教師 : 郭峻因教授 INSTRUCTOR: Prof. Jiun-In Guo E-mail: jiguo@cs.ccu.edu.tw 課程名稱 : 數位系統設計導論 P-2/77 Special thanks to Prof. CHING-LING SU for

More information

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

B.Tech CSE Sem. 3 15CS202 DIGITAL SYSTEM DESIGN (Regulations 2015) UNIT -IV B.Tech CSE Sem. 3 5CS22 DIGITAL SYSTEM DESIGN (Regulations 25) UNIT -IV SYNCHRONOUS SEQUENTIAL CIRCUITS OUTLINE FlipFlops SR,D,JK,T Analysis of Synchronous Sequential Circuit State Reduction and Assignment

More information

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100 MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER 2016 CS 203: Switching Theory and Logic Design Time: 3 Hrs Marks: 100 PART A ( Answer All Questions Each carries 3 Marks )

More information

EE292: Fundamentals of ECE

EE292: Fundamentals of ECE EE292: Fundamentals of ECE Fall 2012 TTh 10:00-11:15 SEB 1242 Lecture 23 121120 http://www.ee.unlv.edu/~b1morris/ee292/ 2 Outline Review Combinatorial Logic Sequential Logic 3 Combinatorial Logic Circuits

More information

Sequential Logic. Analysis and Synthesis. Joseph Cavahagh Santa Clara University. r & Francis. TaylonSi Francis Group. , Boca.Raton London New York \

Sequential Logic. Analysis and Synthesis. Joseph Cavahagh Santa Clara University. r & Francis. TaylonSi Francis Group. , Boca.Raton London New York \ Sequential Logic Analysis and Synthesis Joseph Cavahagh Santa Clara University r & Francis TaylonSi Francis Group, Boca.Raton London New York \ CRC is an imprint of the Taylor & Francis Group, an informa

More information

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 6 Following the slides of Dr. Ahmed H. Madian ذو الحجة 1438 ه Winter

More information

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

Using minterms, m-notation / decimal notation Sum = Cout = Using maxterms, M-notation Sum = Cout = 1 Review of Digital Logic Design Fundamentals Logic circuits: 1. Combinational Logic: No memory, present output depends only on the present input 2. Sequential Logic: Has memory, present output depends

More information

REPEAT EXAMINATIONS 2002

REPEAT EXAMINATIONS 2002 REPEAT EXAMINATIONS 2002 EE101 Digital Electronics Solutions Question 1. An engine has 4 fail-safe sensors. The engine should keep running unless any of the following conditions arise: o If sensor 2 is

More information

Chapter 5 Sequential Circuits

Chapter 5 Sequential Circuits Logic and omputer Design Fundamentals hapter 5 Sequential ircuits Part 1 Storage Elements and Sequential ircuit Analysis harles Kime & Thomas Kaminski 2008 Pearson Education, Inc. (Hyperlinks are active

More information

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1 DAY MODU LE TOPIC QUESTIONS Day 1 Day 2 Day 3 Day 4 I Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation Phase Shift Wein Bridge oscillators.

More information

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

1.b. Realize a 5-input NOR function using 2-input NOR gates only. . [3 points] Short Questions.a. Prove or disprove that the operators (,XOR) form a complete set. Remember that the operator ( ) is implication such that: A B A B.b. Realize a 5-input NOR function using

More information

Counters

Counters Counters A counter is the most versatile and useful subsystems in the digital system. A counter driven by a clock can be used to count the number of clock cycles. Since clock pulses occur at known intervals,

More information

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany Digital Logic Design Sequential Circuits Dr. Basem ElHalawany Combinational vs Sequential inputs X Combinational Circuits outputs Z A combinational circuit: At any time, outputs depends only on inputs

More information

Experiment 8 Introduction to Latches and Flip-Flops and registers

Experiment 8 Introduction to Latches and Flip-Flops and registers Experiment 8 Introduction to Latches and Flip-Flops and registers Introduction: The logic circuits that have been used until now were combinational logic circuits since the output of the device depends

More information

Computer Architecture and Organization

Computer Architecture and Organization A-1 Appendix A - Digital Logic Computer Architecture and Organization Miles Murdocca and Vincent Heuring Appendix A Digital Logic A-2 Appendix A - Digital Logic Chapter Contents A.1 Introduction A.2 Combinational

More information

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers EEE 304 Experiment No. 07 Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers Important: Submit your Prelab at the beginning of the lab. Prelab 1: Construct a S-R Latch and

More information

Synchronous Sequential Logic

Synchronous Sequential Logic Synchronous Sequential Logic ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2017 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Outlines Sequential

More information

Lecture 11: Synchronous Sequential Logic

Lecture 11: Synchronous Sequential Logic Lecture 11: Synchronous Sequential Logic Syed M. Mahmud, Ph.D ECE Department Wayne State University Aby K George, ECE Department, Wayne State University Contents Characteristic equations Analysis of clocked

More information

Department of CSIT. Class: B.SC Semester: II Year: 2013 Paper Title: Introduction to logics of Computer Max Marks: 30

Department of CSIT. Class: B.SC Semester: II Year: 2013 Paper Title: Introduction to logics of Computer Max Marks: 30 Department of CSIT Class: B.SC Semester: II Year: 2013 Paper Title: Introduction to logics of Computer Max Marks: 30 Section A: (All 10 questions compulsory) 10X1=10 Very Short Answer Questions: Write

More information

Synchronous Sequential Logic

Synchronous Sequential Logic Synchronous Sequential Logic ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2012 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Outlines Sequential

More information

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of 1 The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of the AND gate, you get the NAND gate etc. 2 One of the

More information

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

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 27.2.2. DIGITAL TECHNICS Dr. Bálint Pődör Óbuda University, Microelectronics and Technology Institute 6. LECTURE (ANALYSIS AND SYNTHESIS OF SYNCHRONOUS SEQUENTIAL CIRCUITS) 26/27 6. LECTURE Analysis and

More information

MODULE 3. Combinational & Sequential logic

MODULE 3. Combinational & Sequential logic MODULE 3 Combinational & Sequential logic Combinational Logic Introduction Logic circuit may be classified into two categories. Combinational logic circuits 2. Sequential logic circuits A combinational

More information

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active. Flip-Flops Objectives The objectives of this lesson are to study: 1. Latches versus Flip-Flops 2. Master-Slave Flip-Flops 3. Timing Analysis of Master-Slave Flip-Flops 4. Different Types of Master-Slave

More information

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

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP 1 Chapter Overview Latches Gated Latches Edge-triggered flip-flops Master-slave flip-flops Flip-flop operating characteristics Flip-flop applications

More information

UNIT IV. Sequential circuit

UNIT IV. Sequential circuit UNIT IV Sequential circuit Introduction In the previous session, we said that the output of a combinational circuit depends solely upon the input. The implication is that combinational circuits have no

More information

Analogue Versus Digital [5 M]

Analogue Versus Digital [5 M] Q.1 a. Analogue Versus Digital [5 M] There are two basic ways of representing the numerical values of the various physical quantities with which we constantly deal in our day-to-day lives. One of the ways,

More information

2 Sequential Circuits

2 Sequential Circuits 2 2.1 State Diagrams and General Form 0/0 1/0 Start State 0 /0 1/1 State 1 /1 0/1 State Diagram of a Change Detector ( Mealy-machine). The output Y assumes 1 whenever the input X has changed. Otherwise

More information

Chapter. Synchronous Sequential Circuits

Chapter. Synchronous Sequential Circuits Chapter 5 Synchronous Sequential Circuits Logic Circuits- Review Logic Circuits 2 Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs. Performs

More information

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

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari Sequential Circuits The combinational circuit does not use any memory. Hence the previous state of input does not have any effect on the present state of the circuit. But sequential circuit has memory

More information

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

Chapter 1: Switching Algebra Chapter 2: Logical Levels, Timing & Delays. Introduction to latches Chapter 9: Binary Arithmetic 12.12.216 Chapter 5 Flip Flops Dr.-ng. Stefan Werner /14 Table of content Chapter 1: Switching Algebra Chapter 2: Logical Levels, Timing & Delays Chapter 3: Karnaugh-Veitch-Maps Chapter 4: Combinational

More information

Chapter 8 Sequential Circuits

Chapter 8 Sequential Circuits Philadelphia University Faculty of Information Technology Department of Computer Science Computer Logic Design By 1 Chapter 8 Sequential Circuits 1 Classification of Combinational Logic 3 Sequential circuits

More information

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited April 2, 2013 John Wawrzynek Spring 2013 EECS150 - Lec19-fsm Page 1 Finite State Machines (FSMs) FSM circuits are a type of sequential

More information

CS8803: Advanced Digital Design for Embedded Hardware

CS8803: Advanced Digital Design for Embedded Hardware Copyright 2, 23 M Ciletti 75 STORAGE ELEMENTS: R-S LATCH CS883: Advanced igital esign for Embedded Hardware Storage elements are used to store information in a binary format (e.g. state, data, address,

More information

CHAPTER1: Digital Logic Circuits

CHAPTER1: Digital Logic Circuits CS224: Computer Organization S.KHABET CHAPTER1: Digital Logic Circuits 1 Sequential Circuits Introduction Composed of a combinational circuit to which the memory elements are connected to form a feedback

More information

Finite State Machine Design

Finite State Machine Design Finite State Machine Design One machine can do the work of fifty ordinary men; no machine can do the work of one extraordinary man. -E. Hubbard Nothing dignifies labor so much as the saving of it. -J.

More information

Administrative issues. Sequential logic

Administrative issues. Sequential logic Administrative issues Midterm #1 will be given Tuesday, October 29, at 9:30am. The entire class period (75 minutes) will be used. Open book, open notes. DDPP sections: 2.1 2.6, 2.10 2.13, 3.1 3.4, 3.7,

More information

Subject : EE6301 DIGITAL LOGIC CIRCUITS

Subject : EE6301 DIGITAL LOGIC CIRCUITS QUESTION BANK Programme : BE Subject : Semester / Branch : III/EEE UNIT 1 NUMBER SYSTEMS AND DIGITAL LOGIC FAMILIES Review of number systems, binary codes, error detection and correction codes (Parity

More information

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

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay)  CSC S.J. Park. Announcement Seung-Jong Park (Jay) http://www.csc.lsu.edu/~sjpark Computer Architecture (CSC-3501) Lecture 7 (07 Feb 2008) 1 Announcement 2 1 Combinational vs. Sequential Logic Combinational Logic Memoryless Outputs

More information

St. MARTIN S ENGINEERING COLLEGE

St. MARTIN S ENGINEERING COLLEGE St. MARTIN S ENGINEERING COLLEGE Dhulapally, Kompally, Secunderabad-500014. Branch Year&Sem Subject Name : Electronics and Communication Engineering : II B. Tech I Semester : SWITCHING THEORY AND LOGIC

More information

11.1 As mentioned in Experiment 10, sequential logic circuits are a type of logic circuit where the output

11.1 As mentioned in Experiment 10, sequential logic circuits are a type of logic circuit where the output EE 2449 Experiment JL and NWP //8 CALIFORNIA STATE UNIVERSITY LOS ANGELES Department of Electrical and Computer Engineering EE-2449 Digital Logic Lab EXPERIMENT SEQUENTIAL CIRCUITS Text: Mano and Ciletti,

More information

1. Convert the decimal number to binary, octal, and hexadecimal.

1. Convert the decimal number to binary, octal, and hexadecimal. 1. Convert the decimal number 435.64 to binary, octal, and hexadecimal. 2. Part A. Convert the circuit below into NAND gates. Insert or remove inverters as necessary. Part B. What is the propagation delay

More information

Chapter 5 Sequential Circuits

Chapter 5 Sequential Circuits Logic and Computer Design Fundamentals Chapter 5 Sequential Circuits Part 2 Sequential Circuit Design Charles Kime & Thomas Kaminski 28 Pearson Education, Inc. (Hyperlinks are active in View Show mode)

More information

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur Logic Gates, Timers, Flip-Flops & Counters Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur Logic Gates Transistor NOT Gate Let I C be the collector current.

More information

Digital Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I. Lecture 8 Digital Circuit And Logic Design I Lecture 8 Outline Sequential Logic Design Principles (1) 1. Introduction 2. Latch and Flip-flops 3. Clocked Synchronous State-Machine Analysis Panupong Sornkhom, 2005/2

More information

Digital Circuit And Logic Design I

Digital Circuit And Logic Design I Digital Circuit And Logic Design I Lecture 8 Outline Sequential Logic Design Principles (1) 1. Introduction 2. Latch and Flip-flops 3. Clocked Synchronous State-Machine Panupong Sornkhom, 2005/2 2 1 Sequential

More information

CHAPTER 1 LATCHES & FLIP-FLOPS

CHAPTER 1 LATCHES & FLIP-FLOPS CHAPTER 1 LATCHES & FLIP-FLOPS 1 Outcome After learning this chapter, student should be able to; Recognize the difference between latches and flipflops Analyze the operation of the flip flop Draw the output

More information