Chapter5: Synchronous Sequential Logic – Part 3

Slides:



Advertisements
Similar presentations
State-machine structure (Mealy)
Advertisements

State Machine Design Procedure
COE 202: Digital Logic Design Sequential Circuits Part 3
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Multiplexors Sequential Circuits and Finite State Machines Prof. Sin-Min Lee Department of Computer Science.
Sequential Logic Design with Flip-flops
Registers.1. Register  Consists of N Flip-Flops  Stores N bits  Common clock used for all Flip-Flops Shift Register  A register that provides the.
Sequential Circuits and Finite State Machines Prof. Sin-Min Lee
CSCE 211: Digital Logic Design
Overview Sequential Circuit Design Specification Formulation
Sequential Circuits Problems(I) Prof. Sin-Min Lee Department of Mathematics and Computer Science Algorithm = Logic + Control.
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR1 Sequential Circuit Design.
Digital Computer Design Fundamental
Rabie A. Ramadan Lecture 2
Digital Design Lecture 10 Sequential Design. State Reduction Equivalent Circuits –Identical input sequence –Identical output sequence Equivalent States.
Synchronous Sequential Logic Part II
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Chap 4. Sequential Circuits
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
Sequential Circuit Design. Outline  Flip-flop Excitation Tables  Sequential Circuit Design  Design: Example #1  Design: Example #2  Design: Example.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 2 – Sequential.
1 Lecture #12 EGR 277 – Digital Logic Synchronous Logic Circuits versus Combinational Logic Circuits A) Combinational Logic Circuits Recall that there.
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
1 Lecture 22 Sequential Circuits Analysis. 2 Combinational vs. Sequential  Combinational Logic Circuit  Output is a function only of the present inputs.
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.
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.
ENG241 Digital Design Week #7 Sequential Circuits (Part B)
Chapter5: Synchronous Sequential Logic – Part 1
1 Lecture #14 EGR 277 – Digital Logic Self-starting counters Counters are considered to be self-starting if all unused counts eventually lead to the correct.
Sequential Circuit Design 05 Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA.
CHAPTER 3 Simplification of Boolean Functions
Synchronous Sequential Logic
Prof. Sin-Min Lee Department of Computer Science
Week #7 Sequential Circuits (Part B)
4.
Adapted by Dr. Adel Ammar
EKT 124 / 3 DIGITAL ELEKTRONIC 1
EKT 221 : Digital 2 COUNTERS.
FIGURE 5.1 Block diagram of sequential circuit
Sequential Circuit: Counter
CSCE 211: Digital Logic Design
29th Oct Review Session 8.
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T.
CSCE 211: Digital Logic Design
CENG 241 Digital Design 1 Lecture 11
State Reduction and State Assignment
CSCE 211: Digital Logic Design
KU College of Engineering Elec 204: Digital Systems Design
Sequential circuit design
CSCE 211: Digital Logic Design
Sequential circuit design
29-Nov-18 Counters Chapter 5 (Sections ).
CSE 370 – Winter Sequential Logic-2 - 1
INTRODUCTION TO LOGIC DESIGN Chapter 5 Synchronous Sequential Logic
Sequential circuit design
EET107/3 DIGITAL ELECTRONICS 1
DESIGN OF SEQUENTIAL CIRCUITS
Analysis with JK flip-flops
EGC 442 Introduction to Computer Architecture
Chapter5: Synchronous Sequential Logic – Part 4
ANALYSIS OF SEQUENTIAL CIRCUIT LOGIC DIAGRAM
CSCE 211: Digital Logic Design
EGR 2131 Unit 12 Synchronous Sequential Circuits
Digital Electronics and Logic Design
COE 202: Digital Logic Design Sequential Circuits Part 3
Presentation transcript:

Chapter5: Synchronous Sequential Logic – Part 3 Originally Wafa Alrajhi Imam Muhammad Bin Saud University

Outline State reduction. State assignment. Design procedure Design with D FF. Design with JK FF. Design with T FF.

State Reduction This section discusses certain properties of sequential circuits that may be used to reduce the number of gates and flip-flops during the design State reduction: The reduction of the number of flip-flops in a sequential circuit is referred to as the state-reduction problem State-reduction algorithms are concerned with procedures for reducing the number of states in a state table, while keeping the external input-output requirements unchanged

State Reduction (Cont.) We explain with a sequential circuit whose state diagram is given in the next slide Here, only input-output sequence is important, not the internal states The states are denoted by letters

State Reduction (Cont.) Consider the input sequence 01010110100 starting from the initial state a With the circuit in initial state a, an input of 0 produces an output of 0 and the circuit remains in state a In state a with input of 1, the output is 0 and the next state is b. With present state b with input of 0, the output is 0 and the next state is c, Continue…

State Reduction (Cont.) Consider the input sequence 01010110100 starting from the initial state a.

State Reduction (Cont.) State reduction means to reduce the number of states in a sequential circuit with an identical input-output relationship The easiest way of state reduction is through state table as follows:

State Reduction (Cont.) Algorithm: Two states are equivalent if for identical inputs they give exactly the same output and result in a transition to the same state (or an equivalent state). If two states are equivalent, one of them can be removed without changing the input-output operation of the circuit. We have to find a pair of equivalent states and delete one. States g and e are equivalent and we can delete g and replace it with e.

State Reduction (Cont.) Reducing the state table is shown below: Now we can see that d and f also have similar rows associated with them.

State Reduction (Cont.) State f can be removed and replaced by d Reduced state table is shown below:

State Reduction (Cont.) Reducing the number of states does not necessarily mean a circuit with fewer gates and/or flip-flops. Note that state reduction in general may lead to a circuit with more gates than the original system (for the combinational circuit which provides inputs to the flip-flops) For the above reduced diagram and the input sequence that was given before, we have:

State Reduction (Cont.)

State Reduction (Cont.)

State Assignment In order to design a sequential circuit with physical components, it is necessary to assign coded binary values to the states For a circuit with m states, the codes must contain n bits where 2n >=m. For example, with three bits it is possible to assign codes to eight states denoted by binary numbers 000 to 111 Whatever state table is used, first states are assigned sequentially, remaining states are kept unused (don’t care conditions)

State Assignment Three possible binary state assignments

State Assignment Using binary assignment 1, the previous simplified state table will be:

Design Procedure It specifies the hardware that will implement a desired behavior. Given: Set of specifications. Goal: Find logic diagram. Input and output equations provide the necessary information to draw the logic diagram of SC. Steps: Derive a state diagram from the word description. Obtain the binary-coded state table. Choose the type of FF to be used. Derive the simplified FF input equations and output equations. Draw the logic diagram.

Example Design a sequential circuit that detect a sequence of three or more consecutive ones in a string of bits coming through an input line. Use D FF. Derive state diagram from specification 00/0 01/0 1 1 11/1 10/0 1 1

Design with D FF Obtain the binary coded state table. Choose type of FF

Design with D FF Derive the simplified FF input equations.

Design with D FF Draw logic diagram.

Excitation Table Design with other types of flip-flops is not straightforward as the next state cannot directly be related to the input equations In such cases we should use excitation tables, which list the required input for a given change of state Next slide shows excitation tables for JK & T Flip-Flops The symbol X represents a don’t care condition

Excitation Table (Cont.)

Excitation Table (Cont.) Consider the sequential circuit given by the following table:

Design with JK FF Assume that it is desired to design this sequential circuit using JK flip-flops Using excitation table of JK FF, we have:

Design with JK FF (Cont.)

Design with JK FF (Cont.) The logic diagram can be obtained from the input equations given above

Design with T FF Example: Consider a 3-bit binary counter shown in the diagram: In fact the only input to the circuit is the clock and the output is the present state of the flip-flops.

Design with T FF The state table for this example is as follows:

Design with T FF The most efficient way to construct a binary counter is by using T flip-flops, because of their complement property.

Design with T FF Logic diagram of the counter:

Reading 5.1 5.2 5.3 5.4 5.5 5.8