Unit 1 – Counters and Registers Mr. Grimming. Introduction FFs and logic gates are combined to form various counters and registers. Unit Goals Goals:

Slides:



Advertisements
Similar presentations
Counters and Registers
Advertisements

A presentation on Counters (second)
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Digital Logic Chapter 5 Presented by Prof Tim Johnson
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Counter Circuits and VHDL State Machines
Sequential Circuit - Counter -
Flip-Flops and Related Devices Wen-Hung Liao, Ph.D. 4/10/2002.
Counters and Registers
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
ENGIN112 L27: Counters November 5, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 27 Counters.
CS370 Counters. Overview °Counter: A register that goes through a prescribed series of states °Counters are important components in computers. °Counters.
Flip-Flops and Related Devices
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.
M.S.P.V.L. Polytechnic College, Pavoorchatram
Sequential Circuit Introduction to Counter
EET 1131 Unit 11 Counter Circuits  Read Kleitz, Chapter 12, skipping Sections and  Homework #11 and Lab #11 due next week.  Quiz next week.
What is shift register? A shift register is a digital memory circuit found in calculators, computers, and data-processing systems. Bits (binary digits)
Registers and Counters
Counters  A counter is a device which stores (and sometimes displays) the number of times a particular event or process has occurred, often in relationship.
Design of Counters ..
Digital Fundamentals with PLD Programming Floyd Chapter 10
A presentation on Counters
Electronics Technology
Counters.
Chapter 1_4 Part II Counters
Counter Circuits and Applications Group 6 彭柏源 袁鋒 陳康本.
Chapter 7 Counters and Registers
EE345: Introduction to Microcontrollers Register and Counters Prof. Ahmad Abu-El-Haija.
Lecture 27 Counters Give qualifications of instructors: DAP
Principles & Applications
Electronics Technology
Rabie A. Ramadan Lecture 3
Chapter 7 – Counters and Registers
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
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
Counters. November 5, 2003 Introduction: Counters  Counters are circuits that cycle through a specified number of states.  Two types of counters: 
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
 Counters are sequential circuits which "count" through a specific state sequence. They can count up, count down, or count through other fixed sequences.
© 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.
Counter Circuits and VHDL State Machines
Sequential logic circuits
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.
Registers and Counters
Counters and Registers Synchronous Counters. 7-7 Synchronous Down and Up/Down Counters  In the previous lecture, we’ve learned how synchronous counters.
Counters.
THEME 6: Frequency dividers. Digital counters with reduced counting modulus. Programmable digital counters. If the input pulses are more than K, the counter.
Counters In digital logic and computing, a counter is a device which stores (and sometimes displays) the number of times a particular event or process.
Chapter 35 Sequential Logic Circuits. Objectives After completing this chapter, you will be able to: –Describe the function of a flip-flop –Identify the.
1 Homework Reading –Tokheim Chapter 9.1 – 9.6 Machine Projects –Continue on mp3 Labs –Continue in labs with your assigned section.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Counters and Registers
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
EET 1131 Unit 11 Counter Circuits
EKT 221 – Counters.
EKT 221 : Digital 2 COUNTERS.
Sequential Logic Counters and Registers
Principles & Applications
Sequential Circuit - Counter -
Digital Fundamentals with PLD Programming Floyd Chapter 10
Counters and Registers
EET 1131 Unit 11 Counter Circuits
Chapter 8 Counters Changjiang Zhang
Presentation transcript:

Unit 1 – Counters and Registers Mr. Grimming

Introduction FFs and logic gates are combined to form various counters and registers. Unit Goals Goals: Understand counter principles Describe various counter circuits and IC counters. Describe IC registers and shift registers Troubleshoot counters and registers

Asynchronous (Ripple) Counters

Schematics are normally drawn from left to right, but counters will be drawn from right to left so that the MSB and LSB appear in the appropriate positions. MOD number is equal to the number of states that the counter goes through before recycling. Adding FFs will increase the MOD number. Frequency division – each FF will have an output frequency of ½ the input. The output frequency of the last FF of any counter will be the clock frequency divided by the MOD of the counter.

Propagation Delay in Ripple Counters Ripple counters are simple, but the cumulative propagation delay can cause problems at high frequencies. For proper operation the following apply: T clock  N x t pd F max =1/(N x t pd )

Counters with MOD Number <2 N The MOD of a counter can be changed by designing the counter to normal parts of the counting sequence. When outputs B and C are high the counter will be reset.

Counters with MOD Number <2 N Notice the “glitch” in the waveform when the count reaches 6. This represents the brief time required to reset the counter.

Synchronous (Parallel) Counters All FFs are triggered by CPs simultaneously Synchronous counters can operate at much higher frequencies than asynchronous counters. Each FF has J and K inputs connected so they are HIGH only when the outputs of all lower-order FFs are HIGH. The total propagation delay will be the same for any number of FFs.

Synchronous (Parallel) Counters MOD-6 counter produced by clearing a MOD-8 counter when a count of six (110) occurs.

Counters with MOD Number < 2 N Displaying counter states – The arrangement shown results in an LED on when the output is high.

Counters with MOD Number < 2 N Changing the MOD number. Find the smallest MOD required so that 2 N is less than or equal to the requirement. Connect a NAND gate to the asynchronous CLEAR inputs of all FFs. Determine which FFs are HIGH at the desired count and connect the outputs of these FFs to the NAND gate inputs.

Counters with MOD Number < 2 N

Decade counters/BCD counters A decade counter is any counter with 10 distinct states, regardless of the sequence. Any MOD-10 counter is a decade counter. A BCD counter is a decade counter that counts from binary 0000 to Decade counters are widely used for counting events and displaying results in decimal form.

Synchronous Down Counters The synchronous counter can be converted to a down counter by using the inverted FF outputs to drive the JK inputs.

Synchronous Up/Down Counters A synchronous counter can be made an up/down counter by connecting as illustrated

Presettable Counters A presettable counter can be set to any desired starting point either asynchronously or synchronously. The preset operation is also called parallel loading the counter.

Presettable Counter