Presentation is loading. Please wait.

Presentation is loading. Please wait.

9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU1 Sequential Circuit Analysis.

Similar presentations


Presentation on theme: "9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU1 Sequential Circuit Analysis."— Presentation transcript:

1 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU1 Sequential Circuit Analysis

2 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU2 Class 21-Sequential Circuit Analysis  Design of a simple sequential circuit  Analysis of an existing circuit  Material from section 5-4 of text +

3 State machine synthesis  Creation of state machine  State machines are digital sequential circuits that transition through a series of states according to their design.  For the creation of any such circuit always start with the problem definition or the circuit specification. 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU3

4 Problem Statement  Design a 2 bit up counter that has no preset state and continually cycles thought the 4 states.  This can be defined by a table – called a state table. Present StateNext State 00 01 01 10 10 11 11 00 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU4

5 A diagram representation  This form is termed a state diagram 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU5

6 Sequential circuits  Basic form and elements 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU6

7 This problem  Storage Elements – 2 Flip-flops  No inputs  Current state is the output  Combination logic generate the next state value. 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU7

8 Generating Next State  Use K maps generated from State Table 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU8

9 The Circuit  Using D FF 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU9

10 Sequential Circuit analysis  The circuit to analyze  How to start?  How about with the next state equations? 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU10

11 Next State Equations  For D A have an AND-OR set of gates to generate the input. The upper AND gate has inputs X and A The lower AND gate has inputs X and B So D A = AX + BX  For D B have a single AND gate whose inputs are X and A’ So D B = A’X 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU11

12 Also have an output Y  The OR gate has inputs A and B  This feeds into a 2-input AND gate whose other input is X’  Thus Y = (A+B)X’  Now having these equations can construct the state table for the state machine 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU12

13 The state table  For generation of the next state you have the Present State as indicated by A and B plus the input X. This next state becomes the current state on the clock. 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU13

14 Another form of the state table  Two-dimensional form of the same table 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU14

15  The state diagram for this systems is  Not the notation on the diagram On transition arcs – input/output The state Diagram 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU15

16 Class 21 assignment  Covered sections 5-4  Problems for hand in 5-6 and 5-10  Problems for practice 5-7, 5-8, 5-9  Reading for next class: sections 5-5 9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU16


Download ppt "9/15/09 - L21 Sequential Circuit Analaysis Copyright 2009 - Joanne DeGroat, ECE, OSU1 Sequential Circuit Analysis."

Similar presentations


Ads by Google