~ lab ' exercise will focus on the Set-Clear flip.;f1ops. You will study several methods of implementing the s-c flip-flops. LD-2 Logic Designer

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

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

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

Digital Circuits I and II Nov. 17, 1999

Chapter 5 Flip-Flops and Related Devices

EKT 121/4 ELEKTRONIK DIGIT 1

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

RS flip-flop using NOR gate

LATCHES & FLIP-FLOP. Chapter 7

Physics 323. Experiment # 10 - Digital Circuits

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

Laboratory 10. Required Components: Objectives. Introduction. Digital Circuits - Logic and Latching (modified from lab text by Alciatore)

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

Asynchronous (Ripple) Counters

Digital Fundamentals: A Systems Approach

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

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

Rensselaer Polytechnic Institute Computer Hardware Design ECSE Report. Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory

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

Experiment 8 Introduction to Latches and Flip-Flops and registers

Other Flip-Flops. Lecture 27 1

Chapter 4: One-Shots, Counters, and Clocks

Laboratory 7. Lab 7. Digital Circuits - Logic and Latching

Digital Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I

CHAPTER 1 LATCHES & FLIP-FLOPS

RS flip-flop using NOR gate

Exercise 2: D-Type Flip-Flop

s 4 Qt--OolII: PB2.s-L ~C ~-+-~C LAB EXERCISE 7.1 UP/DOWN Counters Objectives Materials Procedure PB'lJ' ~~ ~

Digital Circuits ECS 371

D Latch (Transparent Latch)

Timing Pulses. Important element of laboratory electronics. Pulses can control logical sequences with precise timing.

Rangkaian Sekuensial. Flip-flop

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791)

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

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

Counter dan Register

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states.

FLIP-FLOPS AND RELATED DEVICES

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

10.1 Sequential logic circuits are a type of logic circuit where the output of the circuit depends not only on

ECE 2274 Pre-Lab for Experiment Timer Chip

Introduction to Sequential Circuits

The NOR latch is similar to the NAND latch

DALHOUSIE UNIVERSITY Department of Electrical & Computer Engineering Digital Circuits - ECED 220. Experiment 4 - Latches and Flip-Flops

EXPERIMENT #6 DIGITAL BASICS

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

CHW 261: Logic Design

Lecture 8: Sequential Logic

Physics 120 Lab 10 (2018): Flip-flops and Registers

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

Clocks. Sequential Logic. A clock is a free-running signal with a cycle time.

CHAPTER 6 COUNTERS & REGISTERS

PRE J. Figure 25.1a J-K flip-flop with Asynchronous Preset and Clear inputs

Fig1-1 2-bit asynchronous counter

EET2411 DIGITAL ELECTRONICS

Slide 1. Flip-Flops. Cross-NOR SR flip-flop S R Q Q. hold reset set not used. Cross-NAND SR flip-flop S R Q Q. not used reset set hold 1 Q.

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 Networks and Systems Laboratory 2 Basic Digital Building Blocks Time 4 hours

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

To design a sequential logic circuit using D-Flip-flop. To implement the designed circuit.

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

16 Stage Bi-Directional LED Sequencer

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

PHY 351/651 LABORATORY 9 Digital Electronics The Basics

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

Sequential Logic Basics

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

5: Sequential Logic Latches & Flip-flops

PGT104 Digital Electronics. PGT104 Digital Electronics

OFC & VLSI SIMULATION LAB MANUAL

Introduction to Microprocessor & Digital Logic

ELCT201: DIGITAL LOGIC DESIGN

Topics of Discussion

MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM

Chapter 2. Digital Circuits

ELCT201: DIGITAL LOGIC DESIGN

EE292: Fundamentals of ECE

Activity Sequential Logic: An Overview

ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University

Module -5 Sequential Logic Design

Chapter. Synchronous Sequential Circuits

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

Chapter 3: Sequential Logic Systems

COMP sequential logic 1 Jan. 25, 2016

Topic D-type Flip-flops. Draw a timing diagram to illustrate the significance of edge

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

Unit 9 Latches and Flip-Flops. Dept. of Electrical and Computer Eng., NCTU 1

LAB #4 SEQUENTIAL LOGIC CIRCUIT

AIM: To study and verify the truth table of logic gates

CHAPTER 4: Logic Circuits

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

Combinational vs Sequential

DIGITAL CIRCUIT COMBINATORIAL LOGIC

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science

INTRODUCTION TO SEQUENTIAL CIRCUITS

Latches, Flip-Flops, and Registers. Dr. Ouiem Bchir

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

Transcription:

LAB EXERCISE 5.1 Set-Clear Flip-flops Objectives ~. ~.. ' ~ lab ' exercise will focus on the Set-Clear flip.;f1ops. You will study several methods of implementing the s-c flip-flops. Materials LD-2 Logic Designer 74LS02 Quad 2-Input NOR IC 74LSOO Quad 2-Input NAND IC Jumper Wires TILData Book Procedure FIGURE 5-15. Schematic Symbol for Edge Triggered Flip-flop. Until now we have concentrated on learning the basics of flip-flop operation. To better understand. these. experiments some nuances of flip-flops must be understood. Most of the flip- " flops discussed in the text were level or pulse triggered devices. These devices use the standard flip-flop notations. As was noted in the text active LO inputs to' the flip-flops are,designated by a bubble on the input pin. Another type of flip-flop which operates similarly is the edge triggered flip-flop. These devices will have the same basic truth table as the devices we have studied; however, the output will change states only on the positive (LO to HI) or negative (HI to LO) edge of the dock pulses. Edge triggered. inputs are shown bya triangle on the affected input as shown in. Figure.'>-15. c 90 Circuits to accomplish the edge triggering functions are shown in Figure.>-16.

In FIGURE 5-16. Edge Trigger Circuits. Positive Edge Trigger (Lo to HI Transition) Negative Edge Trigger {HI to LoTransition), In. Positive and Negative Edgeirigger The operation of the circuits is possible beci'iise of the gate delay of the inverters. This gate,delay results in a short duration pulse correspondil\g, t<;>,the edge of the clock pulse. With these fundamentals you are ready to perform experiments with flip-flops. 1. Wire the circuit shown in Figure 5-17 using the 74LS02 NOR gate. CLR S2 D--~_---a L2 FIGURE 5-17. Schematic for NOR S-C Flip-flop. S1 ---...-1'.' Set 1 L1»--------0 214 74LS02 2. Wire the power and ground pins to the 74LS02 if you have not already done so. Place Sl and S2 to OFF. 91

3. S1 is the Set input,. S2 the Clear input, L2 the Q output and L1 the;o output:' Determine the truth table for this circuit and record your iesillfhete. ' FIGURE 5-18. Schematic for NAND S-C Flip-flop. 4. Wire the circuit for the NAND s-c flip-flop shown in Figure 5-18.,. S1 Set. )". D-_---'O L1 S2 Clear 214 74LSOO 5. Wire power and ground to the 74LSOO. Place S1 and 52 to ON. 6. TU!,I' on power. D1 and L2 sho~d light. 7. Use 51, '52, L1 and U todeterinine the truth 'table for this drcuit.rec:ordyour observations here:,, ' 8. Remove power from this circuit and leave the circuit on the circuit board for use in the next experiment. Questions 1. Which states cause trouble for thenar s-c flip-flop? 2. Which states cause trouble for the NAND s-c flip-flop? 92

3. What state should the inputs to a NOR g..c flip-flop be.? ffi. 4. What state should the inputs to a NAND S:C flip-flop be.? ffi.,. In this lab exercise you will study the "D" latch. You will implement two types of "D" latches, one with active HI input and the other with active LO input. LAB EXERCISE 5.2 The "0" Latch ObJectiv~s LD-2 Logic Designer Materials 74LSOO Quad NAND Ie 74LS04 Hex Inverters Ie Jumper Wires TIL Data Book 1. Wire the active HI "D" latch circuit shown in,figure 5-19 using the 74LSOO and 74LS04 Ies. If you have retained the circuit from laborat()ry 5-1, this will only requife rewiring the two input lines to the S-C FF. /.~P S1 -. r./ D 1 3. 10---1"'-- Q L1 Procedure FIGURE 5-19. Schematic for -0" Flip-flop. 2 ) L2 1/6 74LS04 f 214 74LSOO 93

2. Wire power and ground to all circuits. 3. Use Sl as the D input, U as the Q output, and L1 as the complement output. Construct a truth table for this circuit. 4. Now, turn off pdwer and swap the wires connected to pins 1 and 5 of the 74LSOO. This will result in a low active "0" latch. 5. Use,51, 12 and L3 to determine the truth table for this. circuit. 'Reeaid your observations here........... 6. Leave this circuit connected while you. answer the following questions. Questions 1. What do you notice about the circuit of Figure 5-19? How could this CIrcuit be simplified? 2. How could the circuit of step 5 be constructed using only one IC? Build a ~cuit'to test your solution. 94

In this lab exercise we will study th~ clocked s-c.flip-flops and clock signals..'... LAB EXERCISE 5.3 The Clocked Set Clear Flip-flops Objectives L0-2 Logic Designer ' Materials 74L500IC Jumper Wires TTL Data Book In order to perf()rm this experiment we will need to understand something about clock signals. Oock signals are periodically spaced binary pulses. These pulses are used for circuit timing in sequential logic circuits. The duty cycle of a clock signal is the pulse length divided by the period and is expressed as a percentage by multiplying the quotient by 100. Two clock outputs are available on the L0-2 at the left most tworow:breadboard. Procedure 1. Connect the clock output to L7 on L0-2. Turn on power. 2: Set the clock frequency to 1 Hz. 3. Turn on power and observe L7. Record your observation. H an oscilloscope is availabl~ observe the clock pulse and sketch your observations. 95

FIGURE '5-'20. Sch$ry'latic for Cloc~ed S-C FIi,p-flQP,.~ : 4. Turn-off power ~d wire the circuit shown in Figure 5-20. S 10.....- S1 9 ~--...!..:r-~d- a Clock PB2.n. L1 Aore 52 13 a;.._----=:.. L2 a 4/4 74L500 5. Use S1 as the Set input, S2 as the Oear or Reset input, PB2 for the clock input, Ll as the Q output, and U as the Q output to construct a truth table for this circuit. Record your observations here.... 6. Record your observations of ~e outputs if the dock input is not actuated. '... Questions 1. Does adding the clock circuitry cure the inherent flaws of the s-c flip-flop circuit? Explain. 2. When do the input signals have an effect on the output states? -------------------------------------------.~ 96

In this lab exercise" we will study the implementation ' and application of "T" flip-flops. LAB EXERCISE 5.4 The 'T' Flip-flops Objective~ L0-2 Logic Designer Materials 74;LS74 Dual "D" Type Positive Edge Triggered Flip-flop With Preset and dear Jumper Wires TIL Data Book 1. Use the 74LS74' IC to construct the Circuit shown in Figure ~21. 2J. Sc-t 14 S 5 1. D QI----- L1 Procedure FIGURE 5-21. Schematic for "r Flip-flop... '. ',.,... :..... ~ :.:. 112 7~ LS74 Clear 51. 2. The feedback of the complement output to the D input results in the toggle operation. Wire power and ground to the IC 3. Turn on power and record the initial state of the latch. 4. Record your observation of L1, Q and L7, cloc.k, while pressing PB2 several times. 5. Turn Off power. Remove the wire to PB2 and place it on 97

. the clock signal..set d~jrequency. to 1 Hz. 6. Tum On power and observe the clock and 'T' flip-flop outputs on L7 and Llrespectively.., Record your observation here. 7. Leave this circuit connected while answering the following questions. Questions 1. What effect does the 'T' flip Jlop have on binary pulse traids.? 2. In Step 4 how many.t;imes do you have, to.. push PB2 before the flip-flop output toggles through an entire cycle (example: starts LO goes HI, then end LO)?.. '-- LAB EXERCISE 5.5 The Clocked "0" Flip-flops Objectives Materials In this lab exercise you will study clocked "D" flip-flops. LD-2 logic Designer 74LS74 Dual"D" Type Positive Edge Triggered Flip-flop With Preset and Clear Jumper Wires ITL Data BoOk 98 Procedure' 1. Wire the circuit shown in Figure 5-22 using the 74LS74.

,,- FIGURE 5-22.&q,~er;natic. ~."'. " '4 for' ClOCked "0 Flip ~1iop. ' 2 S 5 S1---... 0 a~-- L 1 PB2.n. 3 CK 1 112 74LS74 2. Wire power to the ICand place S1 to off. 3. Use Sl as the 0 input, PB2 as the clock input and L1 as the Q output and create a truth table for the clocked lid" flipflop. Record this truth table here. 4. Use PB2 to detennine on which edge of the clock pulse the lid" latch changes state. 5. Remove power from the circuit and disassemble it. 1. From the results of step 4 describe the switching action of Questions the 74LS74. 2. Is this an active HI or active LO circuit? 99

LAB EXERCISE 5.6 The "J-K" Flip-flops Objectives In this lab exercise you will study the "J-K" flip-flop and its applications. Materials LD-2 Logic Designer 74l.S76 Dual J-K Flip-flop With Preset and Oear 74LS04QuadHex Inverters Jumper Wires TIL Data Book Procedure 1. Wire the circuit shown in Figure 5-23 using' the 74LS76 IC Leave room on the breadboard for the 74LS04 IC FIGURE 5-23. J-t<" Set ~.- Flip-flop Schematic. S1 PB211 S2 12 S 4 J a. 1 CK 16 K 15 L1 14 R a L2 (3 1/2 74LS76 2. Wire power and ground to this circuit. Place Sl and 52 to Off. WireSet and Clear to +5 VDC 3. Tum on power. Observe the initial state of the latch. 4. Use 51, 52, PB2 with Ll and L2 to make a truth table for the "J-K" flip-flop. 100 5. Place Sl and S2 to ' the high state. Turn off power. --, Connect the wire at PB2 to the elk signal of the LD-2 and tpl7.

6..Turri on powjr.. ObserVe the:. dock on L7and the FF output on Ll. Describe your observations. 7. Turn off power. Wire the circuit shown in Figure 5-24. set FIGURE 5-24. Schematic for Step Seven. S1 1.» -- 4... PB2...2~ S.C-+S VDC S. J a 1S 1 L 1 C ~ 16~K a 14 L2 1/6 74LS04 R 3 CLA 112 74LS76 '- B. Wire power and ground to these circuits. Use 51, L 1 and L7 to make a truth table for this circuit. 9. Leave this circuit connected while answering the following questions. 1. If both Jand K inputs are held HI as in steps 5 and 6 what Questions function is the J-K flijrflop performing? 2. What latch function does the circuit of step eight perform?., 101

LAB EXERCISE 5.7 The One-shot Objectives In this laboratory you will learn about the monostable multivibrator or one-shot. Materials LD-2 logic Designer. 74121 Monostable Multivibrator With Schmitt-Trigger Inputs Assorted Resistors Assorted Capacitors Jumper Wires TIL Data Book Procedure 1. Wire the circuit shown in Figure 5-25. FIGURE 5-25. "One-shot" Schematic. 11 RIC PB2lr a 6 +5VDC 5 10 Ext 2. Wire power and ground to the circuit. 'O.22IlF L7 3. Tum on power. What do you notice about L7? 102

4. Press PB2. What happened to L7. 5. Turn off power. Remove the }OO k o~_ resistor and put a 47 k ohm resistor in its place. 6. Turn on power and press PB2. What did you observe? Compare this pulse with the pulse obtained in Step 4. 7. Turn off power to this circuit. 1. Name one use ora One-shot IC Questions 2. Explain the name One-shot. 103