Chapter 9 -- Simplification of Sequential Circuits.

Slides:



Advertisements
Similar presentations
Mathematical Preliminaries
Advertisements

Advanced Piloting Cruise Plot.
1 Vorlesung Informatik 2 Algorithmen und Datenstrukturen (Parallel Algorithms) Robin Pomplun.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 1 Embedded Computing.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions
©2004 Brooks/Cole FIGURES FOR CHAPTER 16 SEQUENTIAL CIRCUIT DESIGN Click the mouse to move to the next page. Use the ESC key to exit this chapter. This.
ABC Technology Project
©2004 Brooks/Cole FIGURES FOR CHAPTER 15 REDUCTION OF STATE TABLES STATE ASSIGNMENT Click the mouse to move to the next page. Use the ESC key to exit this.
Digital Logic Design Gate-Level Minimization
The scale of IC design Small-scale integrated, SSI: gate number usually less than 10 in a IC. Medium-scale integrated, MSI: gate number ~10-100, can operate.
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
VOORBLAD.
1. 2 No lecture on Wed February 8th Thursday 9 th Feb 14: :00 Thursday 9 th Feb 14: :00.
Name Convolutional codes Tomashevich Victor. Name- 2 - Introduction Convolutional codes map information to code bits sequentially by convolving a sequence.
1 Breadth First Search s s Undiscovered Discovered Finished Queue: s Top of queue 2 1 Shortest path from s.
BIOLOGY AUGUST 2013 OPENING ASSIGNMENTS. AUGUST 7, 2013  Question goes here!
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
© 2012 National Heart Foundation of Australia. Slide 2.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Chapter 5 Test Review Sections 5-1 through 5-4.
Addition 1’s to 20.
25 seconds left…...
Copyright © Cengage Learning. All rights reserved.
Januar MDMDFSSMDMDFSSS
Week 1.
Analyzing Genes and Genomes
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
©2004 Brooks/Cole FIGURES FOR CHAPTER 12 REGISTERS AND COUNTERS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
KU College of Engineering Elec 204: Digital Systems Design
Intracellular Compartments and Transport
PSSA Preparation.
Immunobiology: The Immune System in Health & Disease Sixth Edition
Essential Cell Biology
©2004 Brooks/Cole FIGURES FOR CHAPTER 11 LATCHES AND FLIP-FLOPS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
Immunobiology: The Immune System in Health & Disease Sixth Edition
Energy Generation in Mitochondria and Chlorplasts
Sequential Circuit Synthesis - II
Optimization of Sequential Networks Step in Synthesis: Problem Flow Table Reduce States Minimum-State Table State Assignment Circuit Transition Table Flip-Flop.
Applications of Synchronous Circuits (Class 10.2 – 3/28/2013) CSE 2441 – Introduction to Digital Logic Spring 2013 Instructor – Bill Carroll, Professor.
Zvi Kohavi and Niraj K. Jha 1 Capabilities, Minimization, and Transformation of Sequential Machines.
Chapter 8. Sequential machine. Sequential machine M = ( I, O, S, , ) I : set of input O : set of output S : set of states  (state transition) : I 
Capabilities, Minimization, and Transformation of Sequential Machines
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
CHAPTER 15 REDUCTION OF STATE TABLES STATE ASSIGNMENT
Chapter 9 -- Simplification of Sequential Circuits
Presentation transcript:

Chapter 9 -- Simplification of Sequential Circuits

Redundant States in Sequential Circuits Removal of redundant states is important because –Cost: the number of memory elements is directly related to the number of states –Complexity: the more states the circuit contains, the more complex the design and implementation becomes –Aids failure analysis: diagnostic routines are often predicated on the assumption that no redundant states exist

Equivalent States States S 1, S 2, …, S j of a completely specified sequential circuit are said to be equivalent if and only if, for every possible input sequence, the same output sequence is produced by the circuit regardless of whether S 1, S 2, …, S j is the initial state. Let S i and S j be states of a completely specified sequential circuit. Let S k and S l be the next states of S i and S j, respectively for input I p. S i and S j are equivalent if and only if for every possible I p the following are conditions are satisfied. –The outputs produced by S i and S j are the same, –The next states S k and S l are equivalent.

Equivalent States Illustration Figure 9.1

Equivalence Relations Equivalence relation: let R be a relation on a set S. R is an equivalence relation on S if and only if it is reflexive, symmetric, and transitive. An equivalence relation on a set partitions the set into disjoint equivalence classes. Example: let S = {A,B,C,D,E,F,G,H} and R = {(A,A),(B,B),(B,H),(C,C),(D,D),(D,E),(E,E),(E,D),(F,F),(G,G),(H,H), (H,B)}. Then P = (A)(BH)(C)(DE)(F)(G) Theorem: state equivalence in a sequential circuit is an equivalence relation on the set of states. Theorem: the equivalence classes defined by the state equivalence of a sequential circuit can be used as the states in an equivalent circuit.

Methods for Finding Equivalent States Inspection Partitioning Implication Tables

Finding Equivalent States By Inspection Figure 9.2

Finding Equivalent States by Partitioning Figure 9.3

Example Partitioning example Figure 9.4

Example Another partitioning example Figure 9.5

Example Yet another partitioning example Figure 9.6

Finding Equivalent States by Implication Tables Figure 9.7

Example Using implication tables to find equivalent states Figure 9.8

Example An implication table example

Incompletely Specified Circuits Next states and/or outputs are not specified for all states Applicable input sequences: an input sequence is applicable to state, S i, of an incompletely specified circuit if and only if when the circuit is in state Si and the input sequence is applied, all next states are specified except for possible the last input of the sequence. Compatible states: two states S i and S j are compatible if and only if for each input sequence applicable to both states the same output sequence will be produced when the outputs are specified. Compatible states: two states S i and S j are compatible if and only if the following conditions are satisfied for any possible input I p –The outputs produced by S i and S j are the same, when both are specified –The next states S k and S l are compatible, when both are specified. Incompatible states: two states are said to be incompatible if they are not compatible.

Compatibility Relations Compatibility relation: let R be a relation on a set S. R is a compatibility relation on S if and only if it is reflexive and symmetric. A compatibility relation on a set partitions the set into compatibility classes. They are typically not disjoint. Example: let S = {A,B,C,D,E} and R = {A,A),(B,B),(C,C),(D,D),(E,E),(A,B),(B,A),(A,C),(C,A), (A,D), (D,A),(A,E),(E,A),(B,D),(D,B),(C,D),(D,C),(C,E),(E,C)} Then the compatibility classes are (AB)(AC)(AD)(AE)(BD)(CD)(CE)(ABD)(ACD)(ACE) The incompatibility classes are (BC)(BE)(DE) Compatible pairs may be found using implication tables Maximal compatibles may be found using merger diagrams

Examples 9.8 and Generating Maximal Compatibles and Incompatibles

Merger diagrams Figure 9.11

Example Merger diagrams for example 9.8 Figure 9.12

Minimization Procedure Select a set of compatibility classes so that the following conditions are satisfied Completeness: all states of the original machine must be covered Consistency: the chosen set of compatibility classes must be closed Minimality: the smallest number of compatibility classes is used

Bounding the number of states Let U be the upper bound on the number of states needed in the minimized circuit Then U = minimum (NSMC, NSOC) –where NSMC = the number of sets of maximal compatibles –and NSOC = the number of states in the original circuit Let L be the lower bound on the number of states needed in the minimized circuit Then L = maximum(NSMI 1, NSMI 2,…, NSMI i ) –where NSMI i = the number of states in the ith group of the set of maximal incompatibles of the original circuit.

State Reduction Algorithm Step 1 -- find the maximal compatibles Step 2 -- find the maximal incompatibles Step 3 -- Find the upper and lower bounds on the number of states needed Step 4 -- Find a set of compatibility classes that is complete, consistent, and minimal Step 5 -- Produce the minimum state table

Example Reduced state table corresponding to example 9.8 Figure 9.13

Example State reduction problem Figure 9.14

Example Another state table reduction problem Figure 9.15

Example Yet another state reduction problem Figure 9.16

Example Optimal state assignments Figure 9.17

Unique State Assignments for Four States Figure 9.18

State Assignments for a Four State Machine Figure 9.19

D flip-flop realization for assignment 1 Figure 9.20

D flip-flop realization for assignment 2 Figure 9.21

D flip-flop realization for assignment 3 Figure 9.22

State adjacencies for four-state assignments Figure 9.23 Assignment 1Assignment 2Assignment 3

Example Implication Graphs Figure 9.24

Example Closed subgraphs Figure 9.24

Example Optimal state assignment Figure 9.26

Example Another state assignment problem Figure 9.27

A D flip-flop realization of the previous example Figure 9.28

Example Closed partitions Figure 9.29

Example Cross dependency Figure 9.30