CSI404 Home Page

  • Lecture 06 (2/2)
  • Lecture 07 (2/5)
  • Lecture 08 (2/7)
  • Lecture 09 (2/9)
  • Design of 2 bit counter built from D flip-flops: State transition diagram, state assignment, excitation table generated, synthesis of logic to drive D inputs done with Karnaugh maps.
  • Design method steps: Given state diagram or specification (named states, transitions, outputs)
    1. Invent state encoding.  (State name -> bit string)
    2. Draw transition table.
    3. Apply excitation table for the kind of flip-flops used to calculate the flip-flop inputs for each row.

    4. Critical: Label the flip-flops.  (Remarks on labels on machinery parts and unrealistic science fiction movies.)
    5. Design combinational circuit whose inputs are (present state code,external input) and outputs are the flip-flop inputs.
    6. If outputs are required, design combinational circuit to generate them.  Usual CPU control systems have outputs that depend only on current state, not on external inputs.
  • Shortcut: Multiplexor built with 2 AND gates and an OR gate to make a D flip-flop keep its old state when input X=0.
  • Master-slave JK flip-flop
    1. Built from transparent SR latch and transparent D latch.
    2. Analysis
    3. Description by characteristic table.
    4. Description by state transition table compared to characteristic table.  Both are used for analysis
    5. Excitation table  used for design.  It specifies  "don't care" values for some cases.
  • Design of 2-bit counter with JK flip-flops (ref. Mano) note K-maps with don't cares and combinational circuits simpler than those from D flip-flop design.
  • 4 bit counting done with JK flip-flops and carry chain.
  • Related first to adding 1 to binary numerals.  Observe how carries behave.
  • Use of J=K=1 to make JK flip-flop "flip" and J=K=0 to make it keep previous state.
  • Lecture 10 (2/12)
  • Lecture 12 (2/16)
  •  CSI404 Home Page



    Copyright (C) S.Chaiken, 2001. All rights reserved.
    $Id: Topic02.html,v 1.1 2001/02/02 18:16:50 sdc Exp sdc $