ENEE 206 LABORATORY 2
Synchronous and Asynchronous Counters

Feburuary 3, 2004



A. Lab goals



B. Background Reading


C. Definitions


D. Laboratory Equipment

E. New Hardware


C1
C2
C3
ColorNumber
Black0
Brown1
Red2
Orange3
Yellow4
Green5
Blue6
Violet7
Grey8
White9
C4None20%
White10%
Gold5%
R = C1C2 x 10C3 (+/- C4%) ohms

F. Circuit Analysis

A divide-by 2N asynchronous counter Divide-by-m counter, where m is NOT a power of 2.
  • Building a comparator circuit and attaching the comparator output to the flip-flop clears
  • We need a comparator which outputs a logical zero when the counter output is m, and logical one otherwise.
  • The logic diagram for a variable divided-by-m (m ≤ 8) comparator circuit is shwon in Fig. 2.11


  • We use N exclusive-or gates.
  • One side of each gate is connected to one of the counter output bits.
  • The other side is connected to a signal that we can switch between logical zero and one.



  • The wiring diagram for the 3-bit compatator is shwn in Fig. 2.14.


    A synchronous divide-by-8 counter


    There are a number of key differences between the synchronous and asynchronous counters.
    • The synchronous counter has all the clocks tied to the main clock signal.
    • The ith flip-flop is set to toggle on lthe next clock pulse onluy if all proceeding i-1 stages have Q = 1.
    • This is accomplished after the third stage via the insertion of a 2-input AND gate that ANDs the output Q from the previous stage with the output of the previous AND gate.
    • To build a divide-by-m counter, where m is not a power of two, a comparator circuit similar to the one described above for the asynchrounous counter can be used.

    G. Helpful Hints

    Read all the hints.

    Laboratory 2 Description
    Synchronous and Asynchronous Counters

    Objective:

    To design, construct, and test divide-by-N synchronous and asynchrounus counters.

    Available Hardware:

    Digital component box - see Appendix G.

    Pre-lab preparation

    Experimental procedure:

    During this experiment, be certain that you:
    • Read the post-lab questions CAREFULLY to make sure that you can answer them all. Sometimes these questions involve making measurements that are not explicitly called for in the lab procedure.
    • Ask the TA questions regarding any procedures about which you are uncertain.
    • Turn off all power supplies any time that you make any change to the circuit.
    • Do NOT apply more that 5 V to the circuit at any time.
    • Arrange your circuit components neatly and in a logical order.
    • Compare your breadboards carefully with your circuit diagrams before applying power to the circuit.
    • Coplete the following tasks:
      • Part 0 - Power the breadboard
      • Part I - Asynchrounous divide-by-8 Counter
      • Part II - Asynchronous divide-by-M Counter
      • Part III - Synchronous divide-by-8 Counter
      • Part IV - Synchronous divide-by-M Counter
      • Part V - Synchronous divide-by-8 Counter with Alternate Technology

    Post-lab analysis:

    Generate a lab report following the sample report available in Appendix A.
    Mention any difficulties encountered during the lab.
    Describe any results that were unexpected and try to account for the origin of these results
    (i.e. explain what happened).
    In ADDTION, answer the following questions.
    question 1, ... question 10.


    | Home | Course Outline | Staff and TA | Course Policy | Grade Finder | Useful Links | Lectures |