Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.

Slides:



Advertisements
Similar presentations
State-machine structure (Mealy)
Advertisements

EE 5900 Advanced Algorithms for Robust VLSI CAD, Spring 2009 Sequential Circuits.
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
Princess Sumaya University
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Synchronous Sequential Logic
Digital Electronics Chapter 5 Synchronous Sequential Logic.
Module 12.  In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the.
Circuits require memory to store intermediate data
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 1 – Storage.
1 © 2014 B. Wilkinson Modification date: Dec Sequential Logic Circuits – I Flip-Flops A sequential circuit is a logic components whose outputs.
Sequential Circuit Analysis & Design Dr. Aiman H. El-Maleh Computer Engineering Department King Fahd University of Petroleum & Minerals Dr. Aiman H. El-Maleh.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
1 Lecture 23 More Sequential Circuits Analysis. 2 Analysis of Combinational Vs. Sequential Circuits °Combinational : Boolean Equations Truth Table Output.
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
Sequential Circuits Problems(I) Prof. Sin-Min Lee Department of Mathematics and Computer Science Algorithm = Logic + Control.
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
Digital Logic Design CHAPTER 5 Sequential Logic. 2 Sequential Circuits Combinational circuits – The outputs are entirely dependent on the current inputs.
Digital Computer Design Fundamental
COE 202: Digital Logic Design Sequential Circuits Part 1
1 Chapter 5 Synchronous Sequential Logic 5-1 Sequential Circuits Every digital system is likely to have combinational circuits, most systems encountered.
Synchronous Sequential Logic Part I
Chap 4. Sequential Circuits
Sequential Circuits. Combinational Circuits + Storage element output depends both on previous state and input Fig. 5-1.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
Synchronous Sequential Logic Chapter 5. Digital Circuits Sequential Circuits Combinational circuits contains no memory elements the outputs depends.
Chap 4. Sequential Circuits
Fuw-Yi Yang1 Textbook: Introduction to Cryptography 2nd ed. By J.A. Buchmann Chap 13 Other Systems Department of Computer Science and Information Engineering,
CENG 241 Digital Design 1 Lecture 10 Amirali Baniasadi
1 Lecture 22 Sequential Circuits Analysis. 2 Combinational vs. Sequential  Combinational Logic Circuit  Output is a function only of the present inputs.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
Digital Circuits State Reduction and Assignment State Reduction reductions on the number of flip-flops and the number of gates a reduction in the.
DESIGN OF SEQUENTIAL CIRCUITS by Dr. Amin Danial Asham.
1 State Reduction Goal: reduce the number of states while keeping the external input-output requirements unchanged. State reduction example: a: input 0.
1 Synchronous Sequential Logic Sequential Circuits Every digital system is likely to have combinational circuits, most systems encountered in practice.
1Sequential circuit design Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA by Erol Sahin and Ruken Cakici.
C HAPTER F IVE S YNCHRONOUS S EQUENTIAL L OGIC 1.
Princess Sumaya University
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
Synchronous Sequential Logic Part I
5 Chapter Synchronous Sequential Circuits 1. Logic Circuits- Review 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates.
Sahar Mosleh PageCalifornia State University San Marcos 1 More on Flip Flop State Table and State Diagram.
ENG241 Digital Design Week #7 Sequential Circuits (Part B)
Chapter5: Synchronous Sequential Logic – Part 1
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
Mealy and Moore Machines Lecture 8 Overview Moore Machines Mealy Machines Sequential Circuits.
Digital Design: With an Introduction to the Verilog HDL, 5e M. Morris Mano Michael D. Ciletti Copyright ©2013 by Pearson Education, Inc. All rights reserved.
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
Week #7 Sequential Circuits (Part B)
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Synchronous Sequential Circuits
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
ECE Digital logic Lecture 16: Synchronous Sequential Logic
CENG 241 Digital Design 1 Lecture 11
Chapter 5 Synchronous Sequential Logic 5-1 Sequential Circuits
Synchronous Sequential Circuits
INTRODUCTION TO LOGIC DESIGN Chapter 5 Synchronous Sequential Logic
DESIGN OF SEQUENTIAL CIRCUITS
Synchronous sequential
Synchronous Sequential
演算法概論 Introduction to Algorithms
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
Chapter 5 Sequential Circuits.
Chapter5: Synchronous Sequential Logic – Part 3
Presentation transcript:

Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章 (Chapter 58) 伏 者潛藏也 道紀章 (Chapter 14) 道無形象, 視之不可見者曰 夷

Fuw-Yi Yang2 Text Book: Digital Design 5th Ed. Chap 5 Synchronous Sequential Logic 5.1 Introduction 5.2 Sequential Circuits 5.3 Storage Elements: Latches 5.4 Storage Elements: Flip-Flops 5.5 Analysis of Clocked Sequential Circuits 5.6 Synthesizable HDL Models of Sequential Circuits 5.7 State Reduction and Assignment 5.8 Design Procedure

Fuw-Yi Yang3 Text Book: Digital Design 5th Ed. Chap 5.1 Introduction Although every digital system is likely to have some combinational circuits, most systems encountered in practice also include storage elements, which require that the system be described in terms of sequential logic. First, we need to understand what distinguishes sequential logic from combinational logic.

Fuw-Yi Yang4 Text Book: Digital Design 5th Ed. Chap 5.2 sequential circuits A block diagram of a sequential circuit is shown above.

Fuw-Yi Yang5 Text Book: Digital Design 5th Ed. Chap 5.2 Sequential circuits There are two main types of sequential circuits, and their classification is a function of the timing of their signals. A synchronous sequential circuit is a system whose behavior can be defined from the knowledge of its signals at discrete instants of time. The behavior of an asynchronous sequential circuit depends upon the input signals at any instant of time and the order in which the inputs change.

Fuw-Yi Yang6 Text Book: Digital Design 5th Ed. Chap 5.2 Sequential circuits A synchronous sequential circuit employs signals that affect the storage elements at only discrete instants of time. Synchronization is achieved by a time device called a clock generator, which provides a clock signal having the form of a period train of clock pulses. Synchronous sequential circuits that use clock pulses to control storage elements are called clocked sequential circuits and are the type most frequently encountered in practice. (next page)

Fuw-Yi Yang7 Text Book: Digital Design 5th Ed. Chap 5.2 Sequential Circuits – Synchronous Clocked Sequential Circuit

Fuw-Yi Yang8 Text Book: Digital Design 5th Ed. Chap 5.3 Storage Elements: Latches A storage element in a digital circuit can maintain a binary state indefinitely, until directed by an input signal to switch state. Storage elements that operate with signal levels are referred to as latches; those controlled by a clock transition are flip-flops. Latches are said to be level sensitive devices; flip-flops are edge-sensitive devices.

Fuw-Yi Yang9 Text Book: Digital Design 5th Ed. Chap 5.3 Storage Elements: Latches – SR Latch with NOR gates

Fuw-Yi Yang10 Text Book: Digital Design 5th Ed. Chap 5.3 Storage Elements: Latches – SR Latch with NAND gates

Fuw-Yi Yang11 Text Book: Digital Design 5th Ed. Chap 5.3 Storage Elements: Latches – SR Latch with Control input

Fuw-Yi Yang12 Text Book: Digital Design 5th Ed. Chap 5.3 Storage Elements: Latches – D Latch

Fuw-Yi Yang13 Text Book: Digital Design 5th Ed. Chap 5.3 Storage Elements: Latches – Graphic symbols for latches

Fuw-Yi Yang14 Text Book: Digital Design 5th Ed. Chap 5.4 Storage Elements: Flip-Flops The state of a latch or flip-flop is switched by a change in the control input. This momentary change is called a trigger, and the transition it causes is said to trigger the flip-flop.

Fuw-Yi Yang15 Text Book: Digital Design 5th Ed. Chap 5.4 Storage Elements: Flip-Flops Responses---level signal or edged signal

Fuw-Yi Yang16 Text Book: Digital Design 5th Ed. Chap 5.4 Storage Elements: Flip-Flops Master-slave D flip-flop (  trigger)

Fuw-Yi Yang17 Text Book: Digital Design 5th Ed. Chap 5.4 Storage Elements: Flip-Flops D-type positive-edge-triggered flip-flop

Fuw-Yi Yang18 Text Book: Digital Design 5th Ed. Chap 5.4 Storage Elements: Flip-Flops Graphic symbol for edge-triggered D flip-flop DQ(t+1) Characteristic equation: Q(t+1) = D

Fuw-Yi Yang19 Text Book: Digital Design 5th Ed. Chap 5.4 Storage Elements: Flip-Flops JK flip-flop J KQ(t+1) Q(t)01Q(t)Q(t)01Q(t) Characteristic equation: Q(t+1) = J Q + KQ

Fuw-Yi Yang20 Text Book: Digital Design 5th Ed. Chap 5.4 Storage Elements: Flip-Flops T flip-flop TQ(t+1) 0101 Q(t)Q(t)Q(t)Q(t) Characteristic equation: Q(t+1) = T  Q

Fuw-Yi Yang21 Text Book: Digital Design 5th Ed. Chap 5.4 Storage Elements: Flip-Flops D flip-flop with asynchronous reset

Fuw-Yi Yang22 Text Book: Digital Design 5th Ed. Chap 5.4 Storage Elements: Flip-Flops D flip-flop with asynchronous reset R Clk DQ 0 X X 1  0 1 

Fuw-Yi Yang23 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits State equation The behavior of a clocked sequential circuit can be described by means of state equation. A state equation (also called transition equation) specifies the next state as a function of the present state and inputs. For example, the characteristic equations of T flip-flop, D flip-flop, and JK flip-flop specifies their next states as: Q(t+1) = T  Q, Q(t+1) = D, and Q(t+1) = J Q + KQ, respectively. An example of sequential circuit is analyzed in next page.

Fuw-Yi Yang24 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits A(t+1) = A(t) x(t)+ B(t) x(t) B(t+1) = A(t) x(t), y(t) = (A(t) + B(t)) x(t) or in compact form A(t+1) = A x+ B x B(t+1) = A x, y = (A + B) x

Fuw-Yi Yang25 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits State table for sequential circuit A(t+1) = A x+ B x B(t+1) = A x, y = (A + B) x

Fuw-Yi Yang26 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits State table for sequential circuit A(t+1) = A x+ B x B(t+1) = A x, y = (A + B) x

Fuw-Yi Yang27 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits State Diagram

Fuw-Yi Yang28 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Flip-Flop input equations The logic diagram of a sequential circuit consists of flip-flops and gates. The interconnections among the gates form a combinational circuit and may be specified algebraically with Boolean expressions. The knowledge of the type of flip-flops and a list of the Boolean expressions of the combinational circuit provide the information needed to draw the logic diagram of the sequential circuit.

Fuw-Yi Yang29 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Flip-Flop input equations The part of the combinational circuit that generates external outputs is described algebraically by a set of Boolean functions called output equations. The part of the circuit that generates the inputs of flip-flops is described algebraically by a set of Boolean functions called flip-flop input equations (or excitation equations). For the circuit in Fig 5-15, we have (next page) Input equations: D A = A x+ B x, D B = A x, Output equations: y = (A + B) x

Fuw-Yi Yang30 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Flip-Flop input equations Input equations: D A = A x+ B x, D B = A x. Output equations: y = (A + B) x These equations provide the necessary information for drawing the logic diagram of the sequential circuit.

Fuw-Yi Yang31 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Analysis with D Flip-Flops D A = A  x  y, A(t + 1) = A  x  y

Fuw-Yi Yang32 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Analysis with JK Flip-Flops Input equations: J A = B, K A = Bx, J B = x, K B = A  x

Fuw-Yi Yang33 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Analysis with JK Flip-Flops — State table Input equations: J A = B, K A = Bx, J B = x, K B = A  x

Fuw-Yi Yang34 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Analysis with JK Flip-Flops — State equations Input equations: J A = B, K A = Bx, J B = x, K B = A  x Characteristic equation: Q(t+1) = J Q + KQ A(t+1) = J A A + K A A = BA + (Bx)A = BA + BA + xA B(t+1) = J B B + K B B = xB + (A  x)B = xB + ABx+ ABx

Fuw-Yi Yang35 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Analysis with JK Flip-Flops — State diagram A(t+1) = BA + BA + xA B(t+1) = xB + ABx+ ABx S0: A = 0, B = 0 on x = 1, A(t+1) = 0, B(t+1) = 0  S0  S0 on x = 0, A(t+1) = 0, B(t+1) = 1  S0  S1 S1: A = 0, B = 1

Fuw-Yi Yang36 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Analysis with T Flip-Flops Input equations: T A = Bx, T B = x Output equation: y = AB

Fuw-Yi Yang37 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Analysis with T Flip-Flops – State table Input equations: T A = Bx, T B = x Output equation: y = AB

Fuw-Yi Yang38 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Analysis with T Flip-Flops – State equations Input equations: T A = Bx, T B = x Output equation: y = AB Characteristic equation: Q(t+1) = T  Q A(t+1) = (T A  A) = (Bx  A) = (Bx)A + (Bx)A = AB + Ax + ABx B(t+1) = (T B  B) = (x  B)

Fuw-Yi Yang39 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Analysis with T Flip-Flops – State diagram A(t+1) = (Bx  A) B(t+1) = (x  B) y = AB 00/0: A = 0, B = 0, y = 0 on x = 1: A(t+1) = 0, B(t+1) = 1, y = 0  00/0  01/0 on x = 0: A(t+1) = 0, B(t+1) = 0, y = 0  00/0  00/0

Fuw-Yi Yang40 Text Book: Digital Design 5th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Mealy and Moore Models of Finite State Machine The most general model of a sequential circuit has inputs, outputs, and internal states. It is customary to distinguish between two models of sequential circuits: the Mealy model and the Moore model. They differ only in the way the outputs is generated. In the Mealy model, the output is a function of both the present state and the input. In the Moore model, the output is a function of only the present state. See next page

Fuw-Yi Yang41 Text Book: Digital Design 4th Ed. Chap 5.5 Analysis of Clocked Sequential Circuits Mealy and Moore Models of Finite State Machine

Fuw-Yi Yang42 Text Book: Digital Design 5th Ed. Chap 5.6 Synthesizable HDL Models of Sequential Circuits // Description of D flip-flop // See Fig module D_flip_flop (Q, D, CLK); output Q; inputD, CLK; reg Q; (posedge CLK) Q <= D; Endmodule

Fuw-Yi Yang43 Text Book: Digital Design 5th Ed. Chap 5.7 State Reduction and Assignment The analysis of sequential circuits starts from a circuit diagram and culminates in a state table or diagram. The design (synthesis) of a sequential circuit starts from a set of specifications and culminates in a logic diagram.

Fuw-Yi Yang44 Text Book: Digital Design 5th Ed. Chap 5.7 State Reduction and Assignment Two sequential circuits may exhibit the same input-output behavior, but have a different number of internal states (flip-flops) in their state diagram. Reducing the number of internal states may simplify a design. The reduction in the number of flip-flops in a sequential circuit is referred to as state-reduction problem.

Fuw-Yi Yang45 Stateinputoutput a00 a10 b00 c10 d00 e11 f11 f00 g11 f00 g…0… Example

Fuw-Yi Yang46 Text Book: Digital Design 5th Ed. Chap 5.7 State Reduction and Assignment – example -- state reduction If identical input sequences are applied to the two circuits and identical outputs occur for all input sequences, then the two circuits are said to be equivalent (as far as the input-out is concerned) and one may be replaced by the other. The problem of state reduction is to find ways of reducing the number of states in a sequential circuit without altering the input-output relationship.

Fuw-Yi Yang47 Text Book: Digital Design 5th Ed. Chap 5.7 State Reduction and Assignment – example -- state reduction The following algorithm for the state reduction of a completely specified state table is given without proof: Two states are said to be equivalent if for each member of the set of inputs, they give exactly the same output and send the circuit either to the same state or to an equivalent state. When two states are equivalent one of them can be removed without altering the input-output relationship.

Fuw-Yi Yang48 Text Book: Digital Design 5th Ed. Chap 5.7 State Reduction and Assignment – example – state reduction

Fuw-Yi Yang49 Text Book: Digital Design 5th Ed. Chap 5.7 State Reduction and Assignment – example -- state reduction

Fuw-Yi Yang50 Text Book: Digital Design 5th Ed. Chap 5.7 State Reduction and Assignment – example -- state reduction

Fuw-Yi Yang51 Example – final result Reduced state diagram

Fuw-Yi Yang52 Text Book: Digital Design 5th Ed. Chap 5.7 State Reduction and Assignment -- example – state assignment In order to design a sequential circuit with physical components, it is necessary to assign unique coded binary values to the states. For a circuit with m states, the codes must contains n bits, where m  2 n. (next page shows examples of assignment) Unused states are treated as don’t care conditions during the design. Sometimes, the name transition table is used for a state table with a binary assignment. This convention distinguishes it from a state table with symbolic names for the states.

Fuw-Yi Yang53 Text Book: Digital Design 5th Ed. Chap 5.7 State Reduction and Assignment -- example – state assignment

Fuw-Yi Yang54 Text Book: Digital Design 5th Ed. Chap 5.7 State Reduction and Assignment -- example – state assignment

Fuw-Yi Yang55 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure Design procedures or methodologies specify hardware that will implement a desired behavior. The design effort for small circuits may be manual, but industry relies on automated synthesis tools for designing massive integrated circuits. The building block used by synthesis tools is the D flip- flop. Together with additional logic, it can implement the behavior of JK and T flip-flop.

Fuw-Yi Yang56 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure The procedure for designing synchronous sequential circuits can be summarized by a list of recommended steps: 1. From specification of the desired operation, derive a state diagram for the circuit. 2. Reduce the number of states if necessary. 3. Assign binary values to the states. 4. Obtain the binary-coded state table (transition table). 5. Choose the type of flip-flops to be used. 6. Derive the simplified flip-flop input equations and output equations. 7 Draw the logic diagram.

Fuw-Yi Yang57 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure -- example Specification: Suppose we wish to design a circuit that detects a sequence of three or more consecutive 1’s in a string of bits coming through an input line.

Fuw-Yi Yang58 Specification: State diagram (no further reduction)

Fuw-Yi Yang59 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure -- example Binary coded state table (Transition table):

Fuw-Yi Yang60 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure -- example Synthesis using D flip-flops: the characteristic equations of T flip-flop, D flip-flop, and JK flip-flop specifies their next states as: Q(t+1) = T  Q, Q(t+1) = D, and Q(t+1) = J Q + KQ, respectively. From Transition table: A(t + 1) = D A (A, B, x) =  (3, 5, 7) B(t + 1) = D B (A, B, x) =  (1, 5, 7) y(A, B, x) =  (6, 7)

Fuw-Yi Yang61 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure -- example Simplified flip-flop input equation and output equation:

Fuw-Yi Yang62 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure -- example Simplified flip-flop input equation and output equation:

Fuw-Yi Yang63 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure -- example Simplified flip-flop input equation and output equation:

Fuw-Yi Yang64 Logic Diagram:

Fuw-Yi Yang65 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure – excitation tables The design of a sequential circuit with flip-flops other than the D type flip-flop is complicated by the fact that the input equations for the circuit must be derived indirectly from the state table. When D type flip-flop are employed, the input equations are obtained directly from the state table. This is not the case for the JK and T types of flip-flops (refer to the characteristic equations Q(t+1) = T  Q, Q(t+1) = D, and Q(t+1) = J Q + KQ, ).

Fuw-Yi Yang66 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure – excitation tables In order to determine the input equations for these flip- flops, it is necessary to derive a functional relationship between the state table and the input equations. A table called excitation table lists the required inputs for a given change of state.

Fuw-Yi Yang67 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure – excitation tables

Fuw-Yi Yang68 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure – excitation tables

Fuw-Yi Yang69 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure -- example Synthesis using JK flip-flops:

Fuw-Yi Yang70 Text Book: Digital Design 4th Ed. Chap 5.8 Design procedure -- example Synthesis using JK flip-flop: Synthesis using JK flip-flops:

Fuw-Yi Yang71 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure -- example Synthesis using JK flip-flops:

Fuw-Yi Yang72 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure -- example Synthesis using JK flip-flops:

Fuw-Yi Yang73 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure -- example Synthesis using JK flip-flops:

Fuw-Yi Yang74 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure -- example Synthesis using JK flip-flops:

Fuw-Yi Yang75

Fuw-Yi Yang76 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure – another example Synthesis using T flip-flops Specification: Design a three bit binary counter.

Fuw-Yi Yang77

Fuw-Yi Yang78 Synthesis using T flip-flops:

Fuw-Yi Yang79 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure – another example Synthesis using T flip-flops

Fuw-Yi Yang80 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure – another example Synthesis using T flip-flops

Fuw-Yi Yang81 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure – another example Synthesis using T flip-flops

Fuw-Yi Yang82 Text Book: Digital Design 5th Ed. Chap 5.8 Design procedure – another example Synthesis using T flip-flops