Name: Date: Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci

Similar documents
Digital Fundamentals. Lab 5 Latches & Flip-Flops CETT Name: Date:

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

ASYNCHRONOUS COUNTER CIRCUITS

Asynchronous (Ripple) Counters

LATCHES & FLIP-FLOP. Chapter 7

Asynchronous Counter

Experiment 8 Introduction to Latches and Flip-Flops and registers

RS flip-flop using NOR gate

Activity Sequential Logic: An Overview

CHAPTER 6 COUNTERS & REGISTERS

Sequential Digital Design. Laboratory Manual. Experiment #7. Counters

Experiment # 4 Counters and Logic Analyzer

2. Counter Stages or Bits output bits least significant bit (LSB) most significant bit (MSB) 3. Frequency Division 4. Asynchronous Counters

Digital Systems Laboratory 3 Counters & Registers Time 4 hours

Review of digital electronics. Storage units Sequential circuits Counters Shifters

Counter dan Register

Lecture 8: Sequential Logic

Asynchronous counters

Digital Fundamentals: A Systems Approach

EET 1131 Lab #10 Latches and Flip-Flops

Counters

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

RS flip-flop using NOR gate

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Chapter 7 Counters and Registers

Experiment # 9. Clock generator circuits & Counters. Digital Design LAB

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

INC 253 Digital and electronics laboratory I

Today 3/8/11 Lecture 8 Sequential Logic, Clocks, and Displays

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Unit 11. Latches and Flip-Flops

Sequential Logic Counters and Registers

Figure 30.1a Timing diagram of the divide by 60 minutes/seconds counter

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Chapter 5 Flip-Flops and Related Devices

Digital Fundamentals

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS

Other Flip-Flops. Lecture 27 1

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Table of Contents Introduction

EKT 121/4 ELEKTRONIK DIGIT 1

Digital Circuits ECS 371

Final Exam review: chapter 4 and 5. Supplement 3 and 4

IT T35 Digital system desigm y - ii /s - iii

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

Module -5 Sequential Logic Design

Exercise 2: D-Type Flip-Flop

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur

Chapter 9 Counters. Clock Edge Output Q 2 Q 1 Q

COSC 243. Sequential Logic. COSC 243 (Computer Architecture) Lecture 5 - Sequential Logic 1

Flip-Flops and Related Devices. Wen-Hung Liao, Ph.D. 4/11/2001

Laboratory 9 Digital Circuits: Flip Flops, One-Shot, Shift Register, Ripple Counter

Fundamentals of Computer Systems

Report on 4-bit Counter design Report- 1, 2. Report on D- Flipflop. Course project for ECE533

Dr. Shahram Shirani COE2DI4 Midterm Test #2 Nov 19, 2008

Chapter 5 Synchronous Sequential Logic

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

BISHOP ANSTEY HIGH SCHOOL & TRINITY COLLEGE EAST SIXTH FORM CXC CAPE PHYSICS, UNIT 2 Ms. S. S. CALBIO NOTES lesson #39

EET2411 DIGITAL ELECTRONICS

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

The University of Texas at Dallas Department of Computer Science CS 4141: Digital Systems Lab

Chapter 3 Unit Combinational

UNIVERSITI TEKNOLOGI MALAYSIA

WINTER 15 EXAMINATION Model Answer

The NOR latch is similar to the NAND latch

Digital Logic Design ENEE x. Lecture 19

ELE2120 Digital Circuits and Systems. Tutorial Note 8

ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University

Introduction to Sequential Circuits

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

Digital Circuits I and II Nov. 17, 1999

Electrical & Computer Engineering ECE 491. Introduction to VLSI. Report 1

Introduction. Serial In - Serial Out Shift Registers (SISO)

TMEL53, DIGITALTEKNIK. INTRODUCTION TO SYNCHRONOUS CIRCUITS, FLIP-FLOPS and COUNTERS

Fundamentals of Computer Systems

Sequential Logic and Clocked Circuits

Universal Asynchronous Receiver- Transmitter (UART)

Decade Counters Mod-5 counter: Decade Counter:

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

Chapter 9 Introduction to Sequential Logic

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

EECS 270 Midterm 1 Exam Closed book portion Winter 2017

Chapter 4. Logic Design

EL302 DIGITAL INTEGRATED CIRCUITS LAB #3 CMOS EDGE TRIGGERED D FLIP-FLOP. Due İLKER KALYONCU, 10043

University of Victoria. Department of Electrical and Computer Engineering. CENG 290 Digital Design I Lab Manual

ELCT201: DIGITAL LOGIC DESIGN

Logic Design. Flip Flops, Registers and Counters

FLIP-FLOPS AND RELATED DEVICES

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

CSE 352 Laboratory Assignment 3

ECE 341. Lecture # 2

EET 1131 Lab #12 - Page 1 Revised 8/10/2018

Chapter 4: One-Shots, Counters, and Clocks

NEW MEXICO STATE UNIVERSITY Electrical and Computer Engineering Department. EE162 Digital Circuit Design Fall Lab 5: Latches & Flip-Flops

CPE 200L LABORATORY 3: SEQUENTIAL LOGIC CIRCUITS UNIVERSITY OF NEVADA, LAS VEGAS GOALS: BACKGROUND: SR FLIP-FLOP/LATCH

OFC & VLSI SIMULATION LAB MANUAL

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

Transcription:

Richland College Engineering Technology Rev. 0 B. Donham Rev. 1 (7/2003) J. Horne Rev. 2 (1/2008) J. Bradbury Digital Fundamentals CETT 1425 Lab 7 Asynchronous Ripple Counters Name: Date: Objectives: To design a MOD 11 asynchronous ripple counter. To define the operation of a ripple counter using a state transition diagram. To construct and evaluate a MOD 11 asynchronous ripple counter. To calculate and measure the output frequency of an asynchronous ripple counter. Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci Equipment: Circuit simulator (MultiSIM or an equivalent) Introduction: An asynchronous binary counter, referred to as a ripple counter, can be constructed in the following manner using J-K flip-flops (FF): Q 2 J K... Q J K Q J K The first FF in the chain, which represents the least significant bit (LSB), is clocked from an external source. The clock input of the remaining FFs is driven from the normal output (Q) of the previous FF in the counter chain. The J-K flip-flops are placed in the TOGGLE mode by connecting the J and K inputs to. Page 1 of 6

The MOD number of a counter is equal to the number of complete states that a counter goes through before it recycles back to its starting state. To construct a ripple counter with a MOD number X 2 N (where N = number of FFs in counter), use the following general procedure: 1. Determine the minimum number of FFs such that 2 N X. 2. Connect the output of a NAND gate to the asynchronous CLEAR inputs of all the FFs. 3. Determine the binary value of the MOD number X. For each bit that is a 1, connect the corresponding Q output of the FF to an input of the NAND gate. The operation of a ripple counter, and other sequential circuits, can be described graphically using a State Transition Diagram. Output State 1 Output State 2 Output State 3 The output state, indicated by a binary number, is shown inside the each circle (e.g. state Q 2 =1, Q 1 =0, Q 0 =1 in a 3-bit counter would be represented by 101 in one circle). The arrows connecting one circle to another indicate a transition between states and the inputs that cause the change. In the case of a ripple counter, each arrow represents the occurrence of a clock pulse. A ripple counter can also be used as a frequency divider. The output frequency of the last FF (MSB) is equal to the input clock frequency divided by the MOD #. f ( c l o c k ) f ( M S B ) = M O D # If the counter MOD number is less than the maximum MOD number (MOD # < 2 N ) then the waveform at the final FF, and possibly other FF outputs, will not have a 50% duty cycle. This is due to the counter being designed to skip states that would normally be part of the count sequence. Page 2 of 6

Procedure: 1. Using the general procedure described in the introduction, design a MOD 11 ripple counter. Show all of the steps used in the design process. Draw the schematic for the counter (use a straight edge when drawing the wires in the schematic). Page 3 of 6

2. Draw the State Transition diagram for the MOD 11 counter. (look back on page 2) 3. Construct the counter circuit in MultiSIM or an equivalent circuit simulator. Use a negative-edge triggered J-K FF with active-low asynchronous inputs (74LS107). Use a toggle switch for the clock input for the first FF in the counter. Tie the asynchronous CLR inputs to. Use TTL symbols for the J-K flip-flops. PRINT OUT A COPY OF THE CAPTURED SCHEMATIC AND ATTACH TO THE LAB. Page 4 of 6

4. Evaluate the circuit and record the results in the following table: Clock Q3 (MSB) Q2 Q1 Q0 (LSB) 0 0 0 0 0 1 2 3 4 5 6 7 8 9 10 11 12 5. Calculate the frequency (f) and period (T) of the final FF output (Q3) based upon a 10kHz clock signal. 6. Disconnect the toggle switch from the clock input. Connect a function generator to the clock input. To get a 0 5 V square wave, select a 50% duty cycle, 10 khz square wave with an amplitude of 2.5V and an offset of 2.5V. (Connect the + output to the clock input and the common input to ground. The output should not be connected). Use an oscilloscope to measure the period of the Q3 output waveform. Connect the output of the function generator (clock input) to Channel A and the Q3 output to Channel B. Tie the ground input to Ground. Set the time base to 0.5ms/div. Select DC and 5V/div for each channel. Set the Y-position to 1.00 for Channel A and -1.00 for Channel B. Turn on the simulator. After the waveforms have filled a screen, turn the simulator off and measure the period of the Q3 signal (use the screen cursor markers to make the measurement). PRINT THE XY-PLOT (Scope Screen) AND ATTACH TO THE LAB. To print the scope screen, activate Word with a blank sheet. In multisim, click on the blue oscilloscope display border and push Alt- Print Screen (at the left top of the keyboard. Then go into word and do a Cntl-V on the blank sheet. Save the sheet on a floppy and take it to a computer with an attached printer. Record the clock period and calculate the Q3 frequency. T Q3 = f Q3 = Page 5 of 6

Review Questions: Answer the following questions after the lab is completed. 1. If something happened that caused all of the FF outputs in the MOD 11 counter to be set to a logic 1, what would happen to the counter? 2. What is the maximum MOD # of a counter constructed with 6 flip-flops? 3. A 90 MHz clock signal is applied to a ripple counter. The output frequency of the final flip-flop is 4.5 MHz. How many flip-flops are used in this counter circuit? Ripple 90 MHz Counter 4.5 MHz 4. The clock period of a ripple counter must be longer than the total propagation delays through all of the flip-flops. For proper operation, the period / frequency should be: T m i n = N t p d t p d = p r o p a g a t i o n d e l a y 1 f m a x = N t p d If the propagation delay is 15ns for a J-K FF, what is the largest MOD counter that can be constructed to ensure the counter will operate for frequencies > 12 MHz? Page 6 of 6