Digital Logic Design Lecture 29. Announcements Homework 9 due today Please fill out Course Evaluations online. Final exam will be on Thursday, Dec. 18.

Slides:



Advertisements
Similar presentations
State-machine structure (Mealy)
Advertisements

1. 1. Output depends uniquely on inputs:  Contains only logic gates, AND, OR,...  No feedback interconnects 2. Output depends on inputs and memory:
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Chapter 9 Asynchronous Sequential Logic 9-1 Introduction Introduction 9-2 Analysis Procedure Analysis ProcedureAnalysis Procedure 9-3 Circuits With Latches.
Digital Logic Design Lecture 22. Announcements Homework 7 due today Homework 8 on course webpage, due 11/20. Recitation quiz on Monday on material from.
Sequential Circuit Analysis & Design Dr. Aiman H. El-Maleh Computer Engineering Department King Fahd University of Petroleum & Minerals Dr. Aiman H. El-Maleh.
1 State Assignment Using Partition Pairs 2  This method allows for finding high quality solutions but is slow and complicated  Only computer approach.
Digital Logic Design Lecture 27.
Sequential Design Part II. Output A(t+1) =D A = AX + BX B(t+1) =D B = AX Y = AX + BX.
ECE 331 – Digital System Design Introduction to and Analysis of Sequential Logic Circuits (Lecture #20) The slides included herein were taken from the.
ECE 331 – Digital System Design
ECE C03 Lecture 111 Lecture 11 Finite State Machine Optimization Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
Asynchronous Sequential Logic
CHAPTER 3 Digital Logic Structures
Overview Sequential Circuit Design Specification Formulation
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Flip-Flop Types.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
Digital Logic Design Lecture 24. Announcements Homework 8 due today Exam 3 on Tuesday, 11/25. – Topics for exam are up on the course webpage.
Digital Logic Design Lecture 26. Announcements Exams will be returned on Thursday Final small quiz on Monday, 12/8. Final homework will be assigned Thursday,
ENEE244-02xx Digital Logic Design Lecture 7. Announcements Homework 3 due on Thursday. Review session will be held by Shang during class on Thursday.
ENEE x Digital Logic Design Lecture 20. Announcements Homework 6 due today. Homework 7 up on course webpage, due on 11/13. Recitation quiz on Monday,
Digital Logic Design Lecture 28. Announcements Homework 9 due on Thursday 12/11 Please fill out Course Evaluations online. Final exam will be on Thursday,
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
1 Assumptions: (i) Network A can only generate sequences X=100 and X = 110. (ii) Network B produces output Z=1 when it receives X=110 and output Z=0 for.
Sequential circuit design
1 Lecture 15 Registers Counters Finite State Machine (FSM) design.
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
IKI c-Synthesis of Sequential Logic Bobby Nazief Semester-I The materials on these slides are adopted from: Prof. Daniel Gajski’s transparency.
Digital Computer Design Fundamental
Chapter 5 - Part Sequential Circuit Design Design Procedure  Specification  Formulation - Obtain a state diagram or state table  State Assignment.
Rabie A. Ramadan Lecture 2
Synchronous Circuit Design (Class 10.1 – 10/30/2012) CSE 2441 – Introduction to Digital Logic Fall 2012 Instructor – Bill Carroll, Professor of CSE.
Circuit, State Diagram, State Table
Chap 4. Sequential Circuits
B-1 Appendix B - Reduction of Digital Logic Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Principles.
Chap 4. Sequential Circuits
Lecture 4 – State Machine Design 9/26/20081ECE Lecture 4.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 2 – Sequential.
Introduction to Sequential Logic Design Finite State-Machine Design.
1 Lecture 22 Sequential Circuits Analysis. 2 Combinational vs. Sequential  Combinational Logic Circuit  Output is a function only of the present inputs.
ENEE244-02xx Digital Logic Design Lecture 6. Announcements Homework 2 due today Homework 3 up on webpage Coming up: First midterm on Sept. 30 – Will cover.
Fall 2004EE 3563 Digital Systems Design EE3563 Chapter 7, 8, 10 Reading Assignments  7.1, 7.2, 7.3  8.1, ,   8.5.1, 8.5.2,
General model of a sequential network.
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
Digital Logic Design Lecture # 19 University of Tehran.
1 Finite State Machines (FSMs) Now that we understand sequential circuits, we can use them to build: Synchronous (Clocked) Finite State Machines Finite.
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.
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.
Announcements Project components starting to arrive No assignment due this week – assignment 7 will be posted on Thursday. Final exam date. Let’s leave.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
ENG241 Digital Design Week #7 Sequential Circuits (Part B)
EEE515J1_L4-1/12 EEE515J1 ASICs and DIGITAL DESIGN EGBCDCNT.pdf An example of a synchronous sequential machine.
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
Synchronous Counter Design
Synthesis Synchronous Sequential Circuits synthesis procedure –Word description of problem /hardest; art, not science/ –Derive state diagram & state table.
Sequential Circuit Design 05 Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA.
State Machine Design Shiva choudhary En No.: Electronics and comm. Dept K.I.T.,Jamnagar 1.
Partitioning of a digital system.
Week #7 Sequential Circuits (Part B)
Dr. Clincy Professor of CS
Reading: Hambley Chapters
Digital Principles and Design Algorithmic State Machines
Lecture 14 Reduction of State Tables
DESIGN OF SEQUENTIAL CIRCUITS
CS Chapter 3 (3A and ) – Part 3 of 5
Dr. Clincy Professor of CS
Chapter5: Synchronous Sequential Logic – Part 3
COE 202: Digital Logic Design Sequential Circuits Part 3
Presentation transcript:

Digital Logic Design Lecture 29

Announcements Homework 9 due today Please fill out Course Evaluations online. Final exam will be on Thursday, Dec :30- 12:30 in CHE 2118 (our regular classroom). Shang will hold a review for the final exam in AVW 2120 on Friday, 12/12 from 11am-12:15pm. Information about final exam (including review problems for the review session) now up on course webpage.

Agenda Last Time: – State Table Reduction (7.4) – The State Assignment Problem (7.5) This Time: – Finish The State Assignment Problem (7.5) – Completing the Design of Clocked Synchronous Sequential Networks (7.6)

Simplest Approach

Next-State and Output K-maps

Guidelines for Obtaining State Assignments Rule I: Two or more present states that have the same next state for a given input combination should be made adjacent. Rule II: For any present state and two adjacent input combinations, the two next states should be made adjacent. Rule III: Two or more present states that produce the same output symbol, for a given input combination should be made adjacent (only needs to be done for one of the two output symbols).

Example

Next consider Rule III: Look at present states that produce output symbol 1 on the same input.

State Assignment Map K-map for the state variables in which each cell of the map denotes a combination of the binary digits that can be assigned to a state of the sequential network. A (B,G) 2x (C,F) (D,H) 2x (A,E) (A,B) (B,C) 3x (D,E) (F,G) 2x (D,H) (D,F) (E,G) I.S.

State Assignment Map K-map for the state variables in which each cell of the map denotes a combination of the binary digits that can be assigned to a state of the sequential network. AB (B,G) 2x (C,F) (D,H) 2x (A,E) (A,B) (B,C) 3x (D,E) (F,G) 2x (D,H) (D,F) (E,G) I.S.

State Assignment Map K-map for the state variables in which each cell of the map denotes a combination of the binary digits that can be assigned to a state of the sequential network. ABG (B,G) 2x (C,F) (D,H) 2x (A,E) (A,B) (B,C) 3x (D,E) (F,G) 2x (D,H) (D,F) (E,G) I.S.

State Assignment Map K-map for the state variables in which each cell of the map denotes a combination of the binary digits that can be assigned to a state of the sequential network. ABG C (B,G) 2x (C,F) (D,H) 2x (A,E) (A,B) (B,C) 3x (D,E) (F,G) 2x (D,H) (D,F) (E,G) I.S.

State Assignment Map K-map for the state variables in which each cell of the map denotes a combination of the binary digits that can be assigned to a state of the sequential network. ABGE C (B,G) 2x (C,F) (D,H) 2x (A,E) (A,B) (B,C) 3x (D,E) (F,G) 2x (D,H) (D,F) (E,G) I.S.

State Assignment Map K-map for the state variables in which each cell of the map denotes a combination of the binary digits that can be assigned to a state of the sequential network. ABGE CD (B,G) 2x (C,F) (D,H) 2x (A,E) (A,B) (B,C) 3x (D,E) (F,G) 2x (D,H) (D,F) (E,G) I.S.

State Assignment Map K-map for the state variables in which each cell of the map denotes a combination of the binary digits that can be assigned to a state of the sequential network. ABGE CFD (B,G) 2x (C,F) (D,H) 2x (A,E) (A,B) (B,C) 3x (D,E) (F,G) 2x (D,H) (D,F) (E,G) I.S.

State Assignment Map K-map for the state variables in which each cell of the map denotes a combination of the binary digits that can be assigned to a state of the sequential network. ABGE HCFD (B,G) 2x (C,F) (D,H) 2x (A,E) (A,B) (B,C) 3x (D,E) (F,G) 2x (D,H) (D,F) (E,G) I.S.

State Assignment Map K-map for the state variables in which each cell of the map denotes a combination of the binary digits that can be assigned to a state of the sequential network.

Transition Table Using the state assignment map and state table, a transition table is constructed.

Transition Table K-maps for next-state and output functions.

Next-State and Output K-maps

Unused States

Approach 1: – The corresponding entries in the K-maps are don’t cares. – This provides greater flexibility when obtaining minimal expressions for next-state and output functions. Approach 2: – The network may enter one of the unused states (when first turned on, due to noise, hardware failure, etc.) – It may be desirable that the network go to some well- defined state at the end of the clock period. – Next state entries for each of the unused states should be specified.

Illustrating Approach 1

Illustrating Approach 2

Completing the Design Choose which type of clocked flip-flops should be used for memory. Depending on this choice, appropriate excitation signals must be generated by the combinational logic that precedes the input terminals of the flip-flops. Excitation table can be constructed from transition table once flip-flop type is selected.

Application tables for Flip-Flops

From Transition Table to Excitation Table

Completing the Design with D-flip-flops

Realizations using PLDs

PROM Realization

PLA Realization

Additional Example

From Transition Table to Excitation Table

K-Maps

Additional Example

Recall 0110/1001 Sequence Recognizer

Alternative State Table

Implication Table