Lecture 11: Synchronous Sequential Logic

Similar documents
ELCT201: DIGITAL LOGIC DESIGN

Digital Logic Design I

ECE 301 Digital Electronics

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

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

Part II. Chapter2: Synchronous Sequential Logic

Chapter 5: Synchronous Sequential Logic

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

Chapter 5 Synchronous Sequential Logic

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

Sequential Logic Circuits

Synchronous Sequential Logic

Synchronous Sequential Logic. Chapter 5

ECE 331 Digital System Design

ECE 301 Digital Electronics

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Chapter. Synchronous Sequential Circuits

Synchronous Sequential Logic

Course Administration

Analysis of Clocked Sequential Circuits

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

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

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited

Logic Design II (17.342) Spring Lecture Outline

Chapter 5 Synchronous Sequential 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.

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

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

L5 Sequential Circuit Design

Chapter 5. Introduction

Synchronous Sequential Logic

Unit 11. Latches and Flip-Flops

Other Flip-Flops. Lecture 27 1

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

Experiment # 12. Traffic Light Controller

EECS150 - Digital Design Lecture 15 Finite State Machines. Announcements

CHAPTER 4: Logic Circuits

More design examples, state assignment and reduction. Page 1

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

Universidad Carlos III de Madrid Digital Electronics Exercises

Combinational / Sequential Logic

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


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

Advanced Digital Logic Design EECS 303

Chapter 5 Sequential Circuits

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 2 Logistics

ELCT201: DIGITAL LOGIC DESIGN

Flip-Flops and Sequential Circuit Design

CHAPTER 4: Logic Circuits

2 Sequential Circuits

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

Introduction to Computer Engineering EECS dickrp/eecs203/

Synchronous sequential circuits

CHAPTER1: Digital Logic Circuits

Midterm Examination II

# "$ $ # %!"$!# &!'$("!)!"! $ # *!"! $ '!!$ #!!)! $ "# ' "

Sequential Design Basics

LAB 7. Latches & Flip Flops

Chapter 3. Boolean Algebra and Digital Logic

California State University, Bakersfield Computer & Electrical Engineering & Computer Science ECE 3220: Digital Design with VHDL Laboratory 7

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

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

Digital Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I

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

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

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

Lecture 12. Amirali Baniasadi

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

TMEL53, DIGITALTEKNIK. INTRODUCTION TO SYNCHRONOUS CIRCUITS, FLIP-FLOPS and COUNTERS

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

ELCT 501: Digital System Design

Spring 2017 EE 3613: Computer Organization Chapter 5: The Processor: Datapath & Control - 1

Chapter 3 Unit Combinational

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

Logic Design. Flip Flops, Registers and Counters

ELCT201: DIGITAL LOGIC DESIGN

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

Chapter 5 Synchronous Sequential Logic

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

ECE 341. Lecture # 2

CS8803: Advanced Digital Design for Embedded Hardware

EE292: Fundamentals of ECE

Problems with D-Latch

Chapter 11 State Machine Design

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

FPGA Implementation of Sequential Logic

MC9211 Computer Organization

CS T34-DIGITAL SYSTEM DESIGN Y2/S3

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

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

Digital Logic Design ENEE x. Lecture 19

ENGG 1203 Tutorial. D Flip Flop. D Flip Flop. Q changes when CLK is in Rising edge PGT NGT

CPS311 Lecture: Sequential Circuits

Chapter 5 Sequential Circuits

Laboratory Exercise 7

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

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

Digital Fundamentals: A Systems Approach

Transcription:

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 sequential circuits State equation, state table and state diagram State reduction and assignment Design procedure Chapter 5 ECE 2610 Digital Logic 1 2

Characteristic Tables Chapter 5 ECE 2610 Digital Logic 1 3

Characteristic Equations Q + = S + R Q Q + = JQ + K Q Q + = D Q + = T Q Chapter 5 ECE 2610 Digital Logic 1 4

Analysis of Clocked Sequential Circuits Obtaining a table or diagram for the time sequence of inputs, outputs, and internal states. Write the Boolean expression that describe the behavior of the sequential circuit. Draw the logic diagram with flip-flops and clock inputs. Logic diagram may or may not include the combinational circuits. Chapter 5 ECE 2610 Digital Logic 1 5

State Equation Transition equation Specifies next state as a function of present state and inputs. Example: A t + 1 = A t x t + B t x(t) B t + 1 = A t x t Output equation y t = A t + B t x (t) Chapter 5 ECE 2610 Digital Logic 1 6

State Table Time sequence of inputs, outputs, and flip-flops in a tabular form Also called transition table A t + 1 = Ax + Bx B t + 1 = A x y t = A + B x Chapter 5 ECE 2610 Digital Logic 1 7

State Diagram Graphical representation of state table Chapter 5 ECE 2610 Digital Logic 1 8

Analysis with D Flip-flop Draw the state diagram for the following state equation D A = A x y or A t + 1 = A x y Chapter 5 ECE 2610 Digital Logic 1 9

Mealy and Moore Models of Finite State Machines Finite State Machine (FSM) Chapter 5 ECE 2610 Digital Logic 1 10

State Reduction Reduction in number of flip-flops in a sequential circuit. m- flip-flops can produce 2 m states. Two states are said to be equivalent, if for each member of the set of inputs, they give exactly same output and send the circuit either to the same stare or to an equivalent state. Chapter 5 ECE 2610 Digital Logic 1 11

State Reduction Chapter 5 ECE 2610 Digital Logic 1 12

Design Procedure 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. Chapter 5 ECE 2610 Digital Logic 1 13

Excitation Tables for Flip Flops 1. Excitation tables are needed to design a sequential system. 2. These tables can be derived from the characteristic tables of Flip Flops. Characteristic Table for S-R Flip Flop Excitation Table for S-R Flip Flop S R Q Q+ 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 X 1 1 1 X Q Q+ S R 0 0 0 X 0 1 1 0 1 0 0 1 1 1 X 0 Chapter 5 ECE 2610 Digital Logic 1 14

Excitation Table for J-K Flip Flop Characteristic Table for J-K Flip Flop Excitation Table for J-K Flip Flop J K Q Q+ 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 Q Q+ J K 0 0 0 X 0 1 1 X 1 0 X 1 1 1 X 0 Chapter 5 ECE 2610 Digital Logic 1 15

Excitation Tables for D and T Flip Flops Characteristic Table for D Flip Flop D Q Q+ 0 0 0 0 1 0 1 0 1 1 1 1 Excitation Table for D Flip Flop Q Q+ D 0 0 0 0 1 1 1 0 0 1 1 1 Characteristic Table for T Flip Flop T Q Q+ 0 0 0 0 1 1 1 0 1 1 1 0 Excitation Table for T Flip Flop Q Q+ T 0 0 0 0 1 1 1 0 1 1 1 0 Chapter 5 ECE 2610 Digital Logic 1 16

Example: State diagram from description Draw the state diagram for a Moore Machine that detects a sequence of three or more consecutive 1 s in a stream of bits coming through an input line. Chapter 5 ECE 2610 Digital Logic 1 17

Design Example 1: Sequence Detector using D Flip-flop Chapter 5 ECE 2610 Digital Logic 1 18

Design Example 1: Sequence Detector using D Flip-flop Chapter 5 ECE 2610 Digital Logic 1 19

Design Example 2: Sequential circuit using JK Flip-flop Chapter 5 ECE 2610 Digital Logic 1 20

Design Example 2: Sequential circuit using JK Flip-flop Chapter 5 ECE 2610 Digital Logic 1 21

Design Example 3: Counter using T Flip-flop Chapter 5 ECE 2610 Digital Logic 1 22

Design Example 3: Counter using T Flip-flop Chapter 5 ECE 2610 Digital Logic 1 23

Design Example 4: Implement X Flip-flop using Y Flip-flop Design JK flip-flop using T flip-flop J K T 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 T J K KQ n 00 01 11 10 0 1 1 0 1 m 0 m 1 m 3 m 2 0 1 1 0 0 1 1 J m 4 m 5 m 7 m 6 1 1 1 1 1 0 1 1 0 1 1 0 1 1 Q n 1 1 1 0 1 T = KQ n + JQ n Chapter 5 ECE 2610 Digital Logic 1 24

Summary How to find the characteristic table, characteristic equation, and excitation table for a flip-flop How to implement a state table, state equation, or state diagram using different flip-flops? What are the design procedure for a state machine? What are the differences between Mealy and Moore FSM? How to do the state reduction? How to design one Flip-flop using other flip-flop? Chapter 5 ECE 2610 Digital Logic 1 25

Homework 5 5.2 5.4 5.6 5.9 5.12 5.18 5.20 Chapter 5 ECE 2610 Digital Logic 1 26