Chapter 9 Counters.

Slides:



Advertisements
Similar presentations
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Advertisements

Figure 8–1 A 2-bit asynchronous binary counter
Appendix A Logic Circuits. Logic circuits Operate on binary variables that assume one of two distinct values, usually called 0 and 1 Implement functions.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
1 Chapter 8 Flip-Flops and Related Devices. 2 Figure 8--1 Two versions of SET-RESET (S-R) latches S-R (Set-Reset) Latch.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Figure 7–1 Two versions of SET-RESET (S-R) latches
Digital Digital: Chapter 8. Sequential Logic Design Practices 1 Chapter 8. Sequential Logic Design Practices.
CMPUT Computer Organization and Architecture II1 CMPUT329 - Fall 2003 TopicJ: Counters José Nelson Amaral.
Counter Circuits and VHDL State Machines
Sequential Circuit - Counter -
Counters and Registers
C.S. Choy1 SEQUENTIAL LOGIC A circuit’s output depends on its previous state (condition) in addition to its current inputs The state of the circuit is.
Chapter 7 -- Modular Sequential Logic. Serial-in, Serial-out Shift Register.
Asynchronous and Synchronous Counters
Counters and Registers Wen-Hung Liao, Ph.D.. Objectives Understand several types of schemes used to decode different types of counters. Anticipate and.
Sequential Circuit Introduction to Counter
1 Chapter 6 Functions of Combinational Logic. 2 Figure 6--1 Logic symbol for a half-adder Adder.
EET 1131 Unit 11 Counter Circuits  Read Kleitz, Chapter 12, skipping Sections and  Homework #11 and Lab #11 due next week.  Quiz next week.
Figure 6–1 Logic symbol for a half-adder. Open file F06-01 to verify operation. Thomas L. Floyd Digital Fundamentals, 9e Copyright ©2006 by Pearson Education,
Registers and Counters
Sequential Circuit  It is a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its.
Design of Counters ..
CHAPTER 3 Counters.  One of the common requirement in digital circuits/system is counting, both direction (forward and backward)  Digital clocks and.
Digital Fundamentals with PLD Programming Floyd Chapter 10
A presentation on Counters
Chapter 7 Counters and Registers
Chapter 12 Digital Logic Circuit Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Sequential Circuit - Counter -
Mid3 Revision Prof. Sin-Min Lee. 2 Counters 3 Figure 9--1 A 2-bit asynchronous binary counter. Asynchronous Counter Operation.
EE24C Digital Electronics Projects
Sequential Circuits: Flip-Flops and Counter By Taweesak Reungpeerakul
CHAPTER 14 Digital Systems.
Synchronous Counters ET 5. Thinking back In the past we have seen that asynchronous counters can be used to count binary in the order that we have filled.
P. 4.1 Digital Technology and Computer Fundamentals Chapter 4 Digital Components.
Counter Application (Part B) By : Pn Siti Nor Diana Ismail CHAPTER 3.
Introduction to Chapter 7
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Counters Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty of Information Technology The Islamic University.
Counters By Taweesak Reungpeerakul
CYU / CSIE / Yu-Hua Lee / E- 1 數位邏輯 Digital Fundamentals Chapter 9 Counters.
BZUPAGES.COM1 Chapter 9 Counters. BZUPAGES.COM2 BzuPages.COM Please share your assignments/lectures & Presentation Slides on bzupages which can help your.
CHAPTER 3 Counters.  One of the common requirement in digital circuits/system is counting, both direction (forward and backward)  Digital clocks and.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Chapter 1_4 Part III more on … Counters Chapter 1_4 Part III more on … Counters.
Chapter 1 Counters. Counters Counters are sequential circuits which "count” through a specific state sequence. They can count up, count down, or count.
CHAPTER 8 - COUNTER -.
1 Digital Fundamentals Chapter 8 Flip-Flops and Related Devices Resource: CYU / CSIE / Yu-Hua Lee / Not made by Engr. Umar Talha,
Counter Circuits and VHDL State Machines
Counters and Registers
Decade Counter (BCD Counter). Introduction A counter which is reset at the 10 th clock pulse is called decade counter. The decade counter is otherwise.
Counters and Registers Synchronous Counters. 7-7 Synchronous Down and Up/Down Counters  In the previous lecture, we’ve learned how synchronous counters.
Counters.
Basic terminology associated with counters Technician Series
Unit 1 – Counters and Registers Mr. Grimming. Introduction FFs and logic gates are combined to form various counters and registers. Unit Goals Goals:
Synchronous Counter Design
Lecture No. 29 Sequential Logic.
CHAPTER 14 Digital Systems. Figure 14.1 RS flip-flop symbol and truth table Figure
Chapter 35 Sequential Logic Circuits. Objectives After completing this chapter, you will be able to: –Describe the function of a flip-flop –Identify the.
Digital Logic & Design Dr. Waseem Ikram Lecture No. 26.
Copyright ©2009 by Pearson Higher Education, Inc. Upper Saddle River, New Jersey All rights reserved. Digital Fundamentals, Tenth Edition Thomas.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
EKT 124 / 3 DIGITAL ELEKTRONIC 1
EKT 221 – Counters.
Digital Logic & Design Dr. Waseem Ikram Lecture No. 30.
Sequential Circuit - Counter -
Digital Fundamentals with PLD Programming Floyd Chapter 10
Digital Logic & Design Dr. Waseem Ikram Lecture No. 31.
EET107/3 DIGITAL ELECTRONICS 1
Chapter 8 Counters Changjiang Zhang
Presentation transcript:

Chapter 9 Counters

Figure 9--1 A 2-bit asynchronous binary counter. Asynchronous Counter Operation Figure 9--1 A 2-bit asynchronous binary counter.

Figure 9--2 Timing diagram for the counter of Figure 9-1 Figure 9--2 Timing diagram for the counter of Figure 9-1. As in previous chapters, output waveforms are shown in green.

Figure 9--3 Three-bit asynchronous binary counter and its timing diagram for one cycle.

Figure 9--4 Propagation delays in a 3-bit asynchronous (ripple-clocked) binary counter.

Figure 9--5 Four-bit asynchronous binary counter and its timing diagram.

Figure 9--6 An asynchronously clocked decade counter with asynchronous recycling.

Figure 9--7 Asynchronously clocked modulus-12 counter with asynchronous recycling.

Figure 9--8 The 74LS93A 4-bit asynchronous binary counter logic diagram. (Pin numbers are in parentheses, and all J and K inputs are internally connected HIGH.)

Figure 9--9 Two configurations of the 74LS93A asynchronous counter Figure 9--9 Two configurations of the 74LS93A asynchronous counter. (The qualifying label, CTR DIV n, indicates a counter with n states.)

Figure 9--10 74LS93A connected as a modulus-12 counter.

Figure 9--11 A 2-bit synchronous binary counter. Synchronous Counter Operation Figure 9--11 A 2-bit synchronous binary counter.

Figure 9--12 Timing details for the 2-bit synchronous counter operation (the propagation delays of both flip-flops are assumed to be equal).

Figure 9--13 Timing diagram for the counter of Figure 9-11.

Figure 9--14 A 3-bit synchronous binary counter.

Figure 9--15 Timing diagram for the counter of Figure 9-14.

Figure 9--16 A 4-bit synchronous binary counter and timing diagram Figure 9--16 A 4-bit synchronous binary counter and timing diagram. Points where the AND gate outputs are HIGH are indicated by the shaded areas.

Figure 9--17 A synchronous BCD decade counter.

Figure 9--18 Timing diagram for the BCD decade counter (Q0 is the LSB).

Up/Down Synchronous Counter

Figure 9--23 A basic 3-bit up/down synchronous counter.

Figure 9—24 : Example 9-4 - Timing Diagram

Figure 9--27 General clocked sequential circuit. Design of Synchronous Counters Figure 9--27 General clocked sequential circuit.

Figure 9--28 State diagram for a 3-bit Gray code counter. Step 1: State Diagram Figure 9--28 State diagram for a 3-bit Gray code counter.

Step 2: Next-State Table

Step 3: Flip-Flop Transition Table

Step 4: Karnaugh Maps Figure 9--29 Examples of the mapping procedure for the counter sequence represented in Table 9-7 and Table 9-8.

Figure 9--30 Karnaugh maps for present-state J and K inputs. Step 5: Logic Expressions for Flip-Flop Inputs Figure 9--30 Karnaugh maps for present-state J and K inputs.

Figure 9--31 Three-bit Gray code counter. Step 6: Counter Implementation Figure 9--31 Three-bit Gray code counter.

Figure 9—32 : Example 9-5

Figure 9--33

Figure 9--34

Figure 9--35 Example 9-6 - State diagram for a 3-bit up/down Gray code counter.

Figure 9--36 J and K maps for Table 9-11 Figure 9--36 J and K maps for Table 9-11. The UP/DOWN control input, Y, is treated as a fourth variable.

Figure 9--37 Three-bit up/down Gray code counter.

Figure 9--38 Two cascaded counters (all J and K inputs are HIGH).

Figure 9--39 Timing diagram for the cascaded counter configuration of Figure 9-38.

Figure 9--40 A modulus-100 counter using two cascaded decade counters.

Figure 9--41 Three cascaded decade counters forming a divide-by-1000 frequency divider with intermediate divide- by-10 and divide-by-100 outputs.

Figure 9—42 : Example 9-7 – Determine the overall modulus

Figure 9--43 A divide-by-100 counter using two 74LS160 decade counters.

Figure 9--44 A divide-by-40,000 counter using 74HC161 4-bit binary counters. Note that each of the parallel data inputs is shown in binary order (the right-most bit D0 is the LSB in each counter).

Figure 9--45 Decoding of state 6 (110). Counter Decoding Figure 9--45 Decoding of state 6 (110).

Figure 9--46 : Example 9-9 - A 3-bit counter with active-HIGH decoding of count 2 and count 7.

Figure 9--47 A basic decade (BCD) counter and decoder.

Figure 9--48 Outputs with glitches from the decoder in Figure 9-47 Figure 9--48 Outputs with glitches from the decoder in Figure 9-47. Glitch widths are exaggerated for illustration and are usually only a few nanoseconds wide.

Figure 9--49 The basic decade counter and decoder with strobing to eliminate glitches.

Figure 9--50 Strobed decoder outputs for the circuit of Figure 9-49.

Counter Applications : Digital Clock Figure 9--51 Simplified logic diagram for a 12-hour digital clock. Logic details using specific devices are shown in Figures 9-52 and 9-53.

Figure 9--52 Logic diagram of typical divide-by-60 counter using 74LS160A synchronous decade counters. Note that the outputs are in binary order (the right-most bit is the LSB).

Figure 9--53 Logic diagram for hours counter and decoders Figure 9--53 Logic diagram for hours counter and decoders. Note that on the counter inputs and outputs, the right-most bit is the LSB.

Figure 9--54 Functional block diagram for parking garage control. Counter Applications : Automobile Parking Control Figure 9--54 Functional block diagram for parking garage control.

Figure 9--55 Logic diagram for modulus-100 up/down counter for automobile parking control.

Figure 9--56 Parallel-to-serial data conversion logic. Counter Applications : Parallel-to-Serial Data Conversion (Multiplexing) Figure 9--56 Parallel-to-serial data conversion logic.

Figure 9--57 Example of parallel-to-serial conversion timing for the circuit in Figure 9-56.

Application Figure 9--66 Traffic light control system block diagram and light sequence.

Figure 9--67 Block diagram of the sequential logic.

Figure 9--68 State diagram showing the 2-bit Gray code sequence.

Figure 9--69 Sequential logic.

Figure 9--70

Figure 9--71

Figure 9--72