Prof Jess 2008 DIGITAL IC COUNTERS Lecture 7.

Slides:



Advertisements
Similar presentations
Counters.
Advertisements

Seven Segment Display. What's A 7-Segment Display? A 7-segment display is a package with 7 bar-shaped LEDs arranged to allow the display of many useful.
Figure 8–1 A 2-bit asynchronous binary counter
Sequential Logic Flip Flops Lecture 4.
Counters 4017 decade counter (1-of-10). What is a Counter? In digital logic and computing, a counter is a device which stores (and sometimes displays)
Counter Circuits and VHDL State Machines
Sequential Circuit - Counter -
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.
ECE 331 – Digital System Design Counters (Lecture #18)
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.
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.
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.
Chapter 9 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.
A presentation on Counters
Asynchronous Counters
Counters.
SEQUENTIAL CIRCUITS USING TTL 74XX ICS
Chapter 7 Counters and Registers
Sequential Circuit - Counter -
Lecture 27 Counters Give qualifications of instructors: DAP
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
Counters Clocked sequential circuit whose state diagram contains a single cycle. Modulus – number of states in the cycle. Counters with non-power of 2.
Registers and Counters
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.
Rabie A. Ramadan Lecture 3
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
1 Lecture 22 Sequential Circuits Analysis. 2 Combinational vs. Sequential  Combinational Logic Circuit  Output is a function only of the present inputs.
Counters By Taweesak Reungpeerakul
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
Digital Design Lectures 11 & 12 Shift Registers and Counters.
Asynch 1.1 Asynchronous Counters 1 ©Paul Godin Last Edit Sept 2009.
© 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 8 - COUNTER -.
Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,
Arithmetic Circuits. Half Adder ABSumCarry
Counter Circuits and VHDL State Machines
Sequential logic circuits
Counters and Registers Synchronous Counters. 7-7 Synchronous Down and Up/Down Counters  In the previous lecture, we’ve learned how synchronous counters.
COUNTERS Why do we need counters?
Counters.
Unit 1 – Counters and Registers Mr. Grimming. Introduction FFs and logic gates are combined to form various counters and registers. Unit Goals Goals:
3 BIT DOWN COUNTER SUBJECT: DIGITAL ELECTONICS CODE: COLLEGE: BVM ENGINEERING COLLEGE COLLEGE CODE:008 ELECTRONICS & TELECOMMUNICATION DEPT.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
CHAPTER 14 Digital Systems. Figure 14.1 RS flip-flop symbol and truth table Figure
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.
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
EET 1131 Unit 11 Counter Circuits
Digital Logic & Design Dr. Waseem Ikram Lecture No. 28.
EKT 221 – Counters.
EKT 221 : Digital 2 COUNTERS.
Sequential Circuit: Counter
Asynchronous Counters
Sequential Circuit - Counter -
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 12) Hasib Hasan
Digital Fundamentals with PLD Programming Floyd Chapter 10
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
Counters and Registers
EET107/3 DIGITAL ELECTRONICS 1
Chapter 8 Counters Changjiang Zhang
CHAPTER 4 COUNTER.
14 Digital Systems.
Registers and Register Transfers
Counters.
Presentation transcript:

Prof Jess 2008 DIGITAL IC COUNTERS Lecture 7

Prof Jess 2008 Asynchronous and Synchronous Circuits Valid Output Clock Q0 Q1 Q2 Q3 Consider the timing diagram for the 4-bit counter circuit. There is a delay or ripple effect on the output transitions, each output being delayed from the previous due to the propagation delay through the flip-flop. When all the outputs do not become valid “at once”, the circuit is ASYNCHRONOUS. These circuits are generally identified by the different flip-flops being clocked by different signals. This counter circuit is often called a RIPPLE COUNTER.

Prof Jess 2008 Synchronous Circuits In many circuits it is necessary to ensure that all outputs change simultaneously or SYNCHRONOUSLY. This can be achieved by clocking all the flip- flops with the same clock signal. Look at a Synchronous 4-bit counter circuit This circuit must produce synchronous outputs because all the flip-flops are clocked by the same signal. D Q C0 Q0 C1 Q1 C2 Q2 C3 Q3 Clock Q0 Q1 Q2 Q3

Prof Jess 2008 Synchronous Counter: A Closer Look To look at how this might work, we will first simplify it to a 2- bit counter, ie: 00->01->10->11->00->… At startup the outputs are both 0. These feed back into the comb. cct to put values of 1 for Y 0 and 0 for Y 1, ready for the next clock pulse. The clock “strikes”: the 1 and 0 flow through to X 0 and X 1, but again feed back to the comb. cct which places 0 onto Y 0 & 1 onto Y 1 (ready for the next clock). The clock “strikes”: the 0 and 1 flow through to X 0 and X 1, but again feed back to the combinatorial circuit which places 1 onto Y 0 & 1 onto Y 1. The clock “strikes”: the 1 and 1 flow through to X 0 and X 1, but again feed back to the combinatorial cct which places 0 onto Y 0 & 0 onto Y 1. Clock: The X’s are both 0 & the Y’s are 1 & 0, we’re back to the start. X0X0 X1X1 Clock Combinatorial Circuit Y0Y0 Y1Y1

Prof Jess 2008 Synchronous Counter as a State Machine How is this counter working? The outputs are part of the inputs for the next Y0 and Y1 pair, ie the circuit is remembering its past output. That is, it’s behaving like a state machine. Sometimes it is better to model the behaviour of a machine rather than what it actually looks like. The PALASM system allows us to specify a machine as a state machine and it will program the circuits for us. So that is the direction we must now take: State Machines and The PALASM System Section 3. S0S0 00 S1S1 01 S2S2 10 S3S3 11 X 1 X 0

Prof Jess 2008 What's A 7-Segment Display? A 7-segment display is a package with 7 bar-shaped LEDs arranged to allow the display of many useful digits and some letters. Each segment (labeled A-G) contains an LED which may be individually controlled. DP is an eighth LED, the decimal point.

Prof Jess 2008 Common cathode means that each segment's cathode is connected to common pins – 3 & 8, allowing the anode of each to be connected to the controller.

Prof Jess 2008 BCD to 7 Segment

Prof Jess 2008 Limiting resistor Computation RS = RS = = 230 

Prof Jess 2008 BCD to 7 Segment Crystal Display

Prof Jess ALS193

Prof Jess HC193 Two Stage Arrangement

Prof Jess 2008

Basic Integrated Circuit Counter 7490 Decade Counter

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Modifying the count sequence

Prof Jess 2008 Cascading Stages

Prof Jess 2008 Cascading Stages

Prof Jess 2008 Modulo Counter

Prof Jess 2008

Asynchronous counter

Prof Jess 2008

Presettable Parallel Counter with Asynchronous Preset

Prof Jess 2008 Up/Down Counter