The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem.

Similar documents
Chapter 5: Synchronous Sequential Logic

Lecture 11: Synchronous Sequential Logic

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

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

WEEK 10. Sequential Circuits: Analysis and Design. Page 1

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited

Digital Logic Design I

Chapter 3. Boolean Algebra and Digital Logic

Switching Circuits & Logic Design, Fall Final Examination (1/13/2012, 3:30pm~5:20pm)

Chapter 5 Synchronous Sequential Logic

Contents Circuits... 1

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

ECE 301 Digital Electronics

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

Synchronous Sequential Logic

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

MC9211 Computer Organization

Chapter 5 Sequential Circuits

Chapter 5 Synchronous Sequential Logic

CHAPTER1: Digital Logic Circuits

Synchronous Sequential Logic

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

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

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

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

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

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

ELCT201: DIGITAL LOGIC DESIGN

More design examples, state assignment and reduction. Page 1

Sequential Logic Notes


Combinational / Sequential Logic

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

Part II. Chapter2: Synchronous Sequential Logic

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

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

cs281: Introduction to Computer Systems Lab07 - Sequential Circuits II: Ant Brain

ELE2120 Digital Circuits and Systems. Tutorial Note 8

CS302 - Digital Logic Design FAQs By

Universidad Carlos III de Madrid Digital Electronics Exercises

Encoders and Decoders: Details and Design Issues

EE292: Fundamentals of ECE

Sequential Logic Circuits

Chapter 11 State Machine Design

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

CHAPTER 4: Logic Circuits

UNIT 1: DIGITAL LOGICAL CIRCUITS What is Digital Computer? OR Explain the block diagram of digital computers.

CPS311 Lecture: Sequential Circuits

Chapter 5 Sequential Circuits


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

Course Administration

Midterm Examination II

2 Sequential Circuits

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

Synchronous sequential circuits

UNIT IV. Sequential circuit

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

In this lecture we will work through a design example from problem statement to digital circuits.

EECS150 - Digital Design Lecture 15 Finite State Machines. Announcements

Chapter 5. Introduction

Logic Design II (17.342) Spring Lecture Outline

AM AM AM AM PM PM PM

Synchronous Sequential Logic. Chapter 5

COMP2611: Computer Organization. Introduction to Digital Logic

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

CHAPTER 4: Logic Circuits

Digital Principles and Design

Department of Computer Science and Engineering Question Bank- Even Semester:

Logic Design II (17.342) Spring Lecture Outline

Computer Architecture and Organization

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

EXPERIMENT 13 ITERATIVE CIRCUITS

CPSC 121: Models of Computation. Module 1: Propositional Logic

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

Previous Lecture Sequential Circuits. Slide Summary of contents covered in this lecture. (Refer Slide Time: 01:55)

BISHOP ANSTEY HIGH SCHOOL & TRINITY COLLEGE EAST SIXTH FORM CXC CAPE PHYSICS, UNIT 2 Ms. S. S. CALBIO NOTES lesson #39

Logic Devices for Interfacing, The 8085 MPU Lecture 4

Quiz #4 Thursday, April 25, 2002, 5:30-6:45 PM

Figure 30.1a Timing diagram of the divide by 60 minutes/seconds counter

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

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

ECE 25 Introduction to Digital Design. Chapter 5 Sequential Circuits ( ) Part 1 Storage Elements and Sequential Circuit Analysis

Subject : EE6301 DIGITAL LOGIC CIRCUITS

Sequential Logic and Clocked Circuits

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

AC103/AT103 ANALOG & DIGITAL ELECTRONICS JUN 2015

Modeling Digital Systems with Verilog

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

Introduction to Digital Electronics

Registers and Counters

LATCHES & FLIP-FLOP. Chapter 7

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

ELEN Electronique numérique

ECE 331 Digital System Design

ECE 301 Digital Electronics

Fall 2000 Chapter 5 Part 1

L5 Sequential Circuit Design

Counters. ENT 263 Digital Electronics

Registers and Counters

Transcription:

State Reduction The reduction in 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. Since m flip-flops produce 2 m states, a reduction in the number of states may (or may not) result in a reduction in the number of flip-flops An unpredictable effect in reducing the number of flip-flops is that sometimes the equivalent circuit (with fewer flip-flops) may require more combinational gates to realize its next state and output logic. CS1026 II 1

In each column, we have the present state, input value, and output value. The next state is written on top of the next column. It is important to realize that in this circuit the states themselves are of secondary importance, because we are interested only in output sequences caused by input sequences. CS1026 II 2

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 relationships. CS1026 II 3

look for two present states that go to the same next state and have the same output for both input combinations. States e and g are two such states: They both go to states a and f and have outputs of 0 and 1 for x = 0 and x = 1, respectively. Therefore, states g and e are equivalent, and one of these states can be removed. CS1026 II 4

The row with present state g is removed, and state g is replaced by state e each time it occurs in the columns headed Next State. Present state f now has next states e and f and outputs 0 and 1 for x = 0 and x = 1, respectively. The same next states and outputs appear in the row with present state d Therefore, states f and d are equivalent, and state f can be removed and replaced by d CS1026 II 5

This state diagram satisfies the original input output specifications and will produce the required output sequence for any given input sequence. Note that the same output sequence results, although the state sequence is different CS1026 II 6

State Assignment The simplest way to code five states is to use the first five integers in binary counting order Another similar assignment is the Gray code shown in assignment 2. Here, only one bit in the code group changes when going from one number to the next. This code makes it easier for the Boolean functions to be placed in the map for simplification. CS1026 II 7

Another possible assignment often used in the design of state machines to control data-path units is the one-hot assignment. This configuration uses as many bits as there are states in the circuit. At any given time, only one bit is equal to 1 while all others are kept at 0. This type of assignment uses one flip-flop per state One-hot encoding usually leads to simpler decoding logic for the next state and output. One-hot machines can be faster than machines with sequential binary encoding, and the silicon area required by the extra flip-flops can be offset by the area saved by using simpler decoding logic CS1026 II 8

CS1026 II 9

Design procedure The design of a clocked sequential circuit starts from a set of specifications and culminates in a logic diagram or a list of Boolean functions from which the logic diagram can be obtained. In contrast to a combinational circuit, which is fully specified by a truth table, a sequential circuit requires a state table for its specification. The first step in the design of sequential circuits is to obtain a state table or an equivalent representation, such as a state diagram. CS1026 II 10

1. From the word description and specifications 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. 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. CS1026 II 11

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 (i.e., the input is a serial bit stream). This is a Moore model sequential circuit, since the output is 1 when the circuit is in state S3 and is 0 otherwise. CS1026 II 12

The advantage of designing with D flip-flops is that the Boolean equations describing the inputs to the flip-flops can be obtained directly from the state table. We choose two D flip-flops to represent the four states, and we label their outputs A and B CS1026 II 13

Logic diagram of a Moore-type sequence detector CS1026 II 14

CS1026 II 15

CS1026 II 16