FYSE420 DIGITAL ELECTRONICS

Similar documents
ECE380 Digital Logic. Synchronous sequential circuits

Finite State Machine. By : Ali Mustafa

Sequential Synchronous Circuit Analysis

Analysis and Design of Sequential Circuits: Examples

Synchronous Sequential Logic

Digital Design. Sequential Logic

Digital Design 2010 DE2 1

Lecture (08) Synchronous Sequential Logic

Chapter 7. Synchronous Sequential Networks. Excitation for

Lecture 10: Synchronous Sequential Circuits Design

Digital Logic and Design (Course Code: EE222) Lecture 19: Sequential Circuits Contd..

Finite State Machine (FSM)

Synchronous Sequential Circuit Design. Digital Computer Design

Sequential logic and design

COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

Example: vending machine

Last lecture Counter design Finite state machine started vending machine example. Today Continue on the vending machine example Moore/Mealy machines

CprE 281: Digital Logic

CpE358/CS381. Switching Theory and Logical Design. Class 16

COE 202: Digital Logic Design Sequential Circuits Part 3. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Models for representing sequential circuits

Chapter 6. Synchronous Sequential Circuits

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING EXAMINATION SEMESTER /2017

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

SYNCHRONOUS SEQUENTIAL CIRCUITS

Generalized FSM model: Moore and Mealy

Ch 7. Finite State Machines. VII - Finite State Machines Contemporary Logic Design 1

CPE100: Digital Logic Design I

Logical design of digital systems

EGR224 F 18 Assignment #4

EXPERIMENT Traffic Light Controller

EECS Components and Design Techniques for Digital Systems. FSMs 9/11/2007

Chapter 4 Part 2 Sequential Circuits

or 0101 Machine

Lecture 14: State Tables, Diagrams, Latches, and Flip Flop

Clocked Sequential Circuits UNIT 13 ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS. Analysis of Clocked Sequential Circuits. Signal Tracing and Timing Charts

3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value

The Design Procedure. Output Equation Determination - Derive output equations from the state table

Mealy & Moore Machines

Sequential Circuit Design

Different encodings generate different circuits

Design of Datapath Controllers

FSM model for sequential circuits

Present Next state Output state w = 0 w = 1 z A A B 0 B A C 0 C A C 1

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

EEE2135 Digital Logic Design

Chapter 5 Synchronous Sequential Logic

ELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10)

EECS150 - Digital Design Lecture 23 - FSMs & Counters

Overview of Chapter 4

EECS150 - Digital Design Lecture 18 - Counters

EECS150 - Digital Design Lecture 18 - Counters

ECE 341. Lecture # 3

Clocked Synchronous State-machine Analysis

Introduction EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 6: Sequential Logic 3 Registers & Counters 5/9/2010

Lecture 17: Designing Sequential Systems Using Flip Flops

Parity Checker Example. EECS150 - Digital Design Lecture 9 - Finite State Machines 1. Formal Design Process. Formal Design Process

Lecture 8: Sequential Networks and Finite State Machines

5 State Minimisation. university of applied sciences hamburg. Digital Systems. Prof. Dr. J. Reichardt Prof. Dr. B. Schwarz

10/12/2016. An FSM with No Inputs Moves from State to State. ECE 120: Introduction to Computing. Eventually, the States Form a Loop

EECS150 - Digital Design Lecture 17 - Sequential Circuits 3 (Counters)

Lecture 3 Review on Digital Logic (Part 2)

COE 202: Digital Logic Design Sequential Circuits Part 3. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Topics for Lecture #9. Button input processor

CPE100: Digital Logic Design I

EECS150 - Digital Design Lecture 16 Counters. Announcements

Synchronous Sequential Logic Part I

Analysis of clocked sequential networks

Synchronous Sequential Circuit Design. Dr. Ehab A. H. AL-Hialy Page 1

Topic 8: Sequential Circuits

Example: A vending machine

Appendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs

Chapter 3. Chapter 3 :: Topics. Introduction. Sequential Circuits

CE1911 LECTURE FSM DESIGN PRACTICE DAY 1

CPE100: Digital Logic Design I

Review: Designing with FSM. EECS Components and Design Techniques for Digital Systems. Lec 09 Counters Outline.

Synchronous Sequential Logic Part I. BME208 Logic Circuits Yalçın İŞLER

Timing Constraints in Sequential Designs. 63 Sources: TSR, Katz, Boriello & Vahid

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

ENGG 1203 Tutorial _03 Laboratory 3 Build a ball counter. Lab 3. Lab 3 Gate Timing. Lab 3 Steps in designing a State Machine. Timing diagram of a DFF

EECS150 - Digital Design Lecture 11 - Shifters & Counters. Register Summary

Integrated Circuits & Systems

Computers also need devices capable of Storing data and information Performing mathematical operations on such data

Homework #4. CSE 140 Summer Session Instructor: Mohsen Imani. Only a subset of questions will be graded

14:332:231 DIGITAL LOGIC DESIGN

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid

12. Finite State Machine Design

BER KELEY D AV IS IR VINE LOS AN GELES RIVERS IDE SAN D IEGO S AN FRANCISCO

L10 State Machine Design Topics

Adders allow computers to add numbers 2-bit ripple-carry adder

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

Counters. Clocked sequential circuit whose state diagram contains a single cycle. Modulus number of states in the cycle. Counters with nonpower

Faculty of Engineering. FINAL EXAMINATION FALL 2008 (December2008) ANSWER KEY

Synchronous Sequential Circuit Design

Lab #10: Design of Finite State Machines

State & Finite State Machines

Fundamentals of Digital Design

Finite State Machine (1A) Young Won Lim 6/9/18

Chapter 3. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 3 <1>

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

Transcription:

FYSE42 IGITAL ELECTRONICS Lecture 4 [] [2] [3] IGITAL LOGIC CIRCUIT ANALYSIS & ESIGN Nelson, Nagle, Irvin, Carrol ISBN -3-463894-8 IGITAL ESIGN Morris Mano Fourth edition ISBN -3-98924-3 igital esign Principles and Practices Fourth edition Wakerly John F. ISBN -3-86389-4 2

Synchronous Sequential Mealy Model of Finite State Machine (FSM) Block diagram of Mealy type state machine Inputs Net State Eitation equations State Registers Output Outputs Asynchronous outputs Typically flip-flops are used by synthesis tools. Output is a function of both the present state and the input. 3 Synchronous Sequential Mealy Model of Finite State Machine (FSM) Analysis Inputs Net State State Registers Output Outputs Circuit diagram A + B A Present states A( B( Present input ( Net states A(t+) B(t+) Present output y( t t+ t AB AB y Eitation functions Mealy FSM A ( A + B) B y 4

Synchronous Sequential Mealy Model of Finite State Machine (FSM) Analysis Present input/present output Present state (/y( (/y( A(B( A(t+)B(t+) Net state State after the clock cycle State diagram 5 Synchronous Sequential Mealy Model of Finite State Machine (FSM) Analysis t t+ t AB AB y Present input/present output Present state (/y( (/y( Net state A(B( A(t+)B(t+) State after the clock cycle / / / / / / / / Mealy FSM State diagram of Mealy FSM 6

Synchronous Sequential Mealy Model of Finite State Machine (FSM) / / / / / / / / State diagram of Mealy FSM t t+ t AB AB y Mealy FSM AB AB AB Net A Net B Output y K-maps for A, B and output y A ( t + ) = B( ( + A( ( B ( t + ) = A( ( y ( = A( ( + B( ( 7 Synchronous Sequential Moore Model of Finite State Machine Block diagram of Moore type state machine Inputs Net State Eitation equations State Registers Output Outputs Asynchronous outputs Typically flip-flops are used by synthesis tools. Output is only a function of the present state. 8

Synchronous Sequential Moore Model of Finite State Machine Analysis Circuit diagram Output y depens only on the present state AB Input B T A t t+ t AB AB y Eitation functions AB T B y Output 9 Synchronous Sequential Moore Model of Finite State Machine Analysis t t+ t = Present Input Net state AB AB y State/Output / / / / State diagram

Synchronous Sequential Moore Model of Finite State Machine = / / / / t t+ t AB AB y State diagram Synchronous Sequential Moore Model of Finite State Machine t t+ t AB AB y AB ( t + ) = T( + T ( T A = B AB AB T B = y = AB Charasteristic equation of the T Flip-Flop K-maps T A = B T B = y = AB 2

Synchronous Sequential Registered-Output Finite State Machine Typically flip-flops are used by synthesis tools. Inputs Net State Eitation equations State Registers Net output Synchronous outputs Output Registers Reset Output is a function of net output logic. 3 Synchronous Sequential Registered-Output Finite State Machine Present Input Present State/Output y( / To Net State Net Output Y(t+) S/ = S4/ S/ S3/ S2/ / S4 / / S3 / S/_ / Use Flip-Flop eitation tables / / =/ S/_ S2 / State reduction State assignment / State diagram Registered-Output FSM Implementation K-maps 4

Synchronous Sequential eamples of Registered-output FSM and Circuit detects a sequence of three or more consecutive 's in a string of bits. Assumption : Input is synchronized Registered-output FSM = =/ / S / S / S 3 / S 2 / State diagram of S / / S / / / / S 3 / / S 2 / / State diagram of Registered-output FSM 5 Synchronous Sequential eamples of Registered-output FSM and S = = AB S = = AB S 2 = = AB S 3 = = AB Registered-output FSM t t+ t t t+ t+ AB AB y = S / S / S 3 / S 2 / =/ S / / / S / / S 3 / / / / S 2 / / AB AB Y State Table of State Table of Registered-output FSM 6

Synchronous Sequential eamples of Registered-output FSM and B A B A B A A = A + B = A + Y = AB B B AB Registered-output FSM Y = A K-maps AB A = A + B AB B = A + B K-maps 7 Synchronous Sequential eamples of Registered-output FSM and A A C C B B AB C A C y Asynchronous output C Y Synchronous output Circuit diagram of Circuit diagram of Registered-output FSM 8

The End 9