1 / 8

Basic Counters: Part I

Basic Counters: Part I. Section 7-6 (pp. 353-366). Definition. Counter is a register that goes through a sequence of states as it is clocked Binary counter Counts through a binary sequence Example: 2 bit “up” counter; a circuit with 2 FFs that goes through the sequence of states:

ritap
Télécharger la présentation

Basic Counters: Part I

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Basic Counters: Part I Section 7-6 (pp. 353-366)

  2. Definition • Counter is a register that goes through a sequence of states as it is clocked • Binary counter • Counts through a binary sequence • Example: 2 bit “up” counter; a circuit with 2 FFs that goes through the sequence of states: (00 , 01, 10, 11)2 = (0, 1, 2, 3)10 • n bit “up” counter counts from 0 to 2n – 1 • n bit “down” counter counts from 2n – 1 to 0

  3. Waveforms of a 2 bit Counter Counter CP A B 0 1 0 1 2 3

  4. Synchronous Counters • Clock inputs of all FFs receive a common clock pulse • Change in state is determined from the present state of the counter

  5. Synchronous Counter • Count enable, EN = 0 • counter remains in the same state • Count enable, EN = 1 • counter counts up • Carry output, CO used to expand counter (e.g. to 8 bits)

  6. Arbitrary Count • Counter goes through an arbitrary sequence • Example: States 3 and 7 are not used

  7. State Diagram of Example Arbitrary Counter • Analysis of state diagram shows: • if circuit ever goes in an unused sate (011 or 111) the next clock transfers it to a valid state

  8. Circuit of Example Arbitrary Counter

More Related