BISTABLE LATCHES AND FLIP-FLOPS

Similar documents
CHAPTER 11 LATCHES AND FLIP-FLOPS

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

Chapter 9 Latches, Flip-Flops, and Timers

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Lesson 12 Sequential Circuits: Flip-Flops

Theory of Logic Circuits. Laboratory manual. Exercise 3

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

CHAPTER 11: Flip Flops

Counters and Decoders

Memory Elements. Combinational logic cannot remember

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

Wiki Lab Book. This week is practice for wiki usage during the project.

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design

BINARY CODED DECIMAL: B.C.D.

Digital Controller for Pedestrian Crossing and Traffic Lights

Contents COUNTER. Unit III- Counters

2 : BISTABLES. In this Chapter, you will find out about bistables which are the fundamental building blocks of electronic counting circuits.

PURDUE UNIVERSITY NORTH CENTRAL

Sequential Logic: Clocks, Registers, etc.

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Lecture 8: Synchronous Digital Systems

Asynchronous counters, except for the first block, work independently from a system clock.

ECE380 Digital Logic

Decimal Number (base 10) Binary Number (base 2)

Modeling Latches and Flip-flops

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

Layout of Multiple Cells

Lab 11 Digital Dice. Figure Digital Dice Circuit on NI ELVIS II Workstation

Engr354: Digital Logic Circuits

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

FORDHAM UNIVERSITY CISC Dept. of Computer and Info. Science Spring, Lab 2. The Full-Adder

Upon completion of unit 1.1, students will be able to

Fig1-1 2-bit asynchronous counter

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

Sequential Logic Design Principles.Latches and Flip-Flops

CHAPTER 3 Boolean Algebra and Digital Logic

Module 3: Floyd, Digital Fundamental

Digital Fundamentals

EXPERIMENT 8. Flip-Flops and Sequential Circuits

Design: a mod-8 Counter

The components. E3: Digital electronics. Goals:

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

CS311 Lecture: Sequential Circuits

7. Latches and Flip-Flops

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

Conversion Between Analog and Digital Signals

ASYNCHRONOUS COUNTERS

DEPARTMENT OF INFORMATION TECHNLOGY

A Lesson on Digital Clocks, One Shots and Counters

Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)

DATA SHEETS DE COMPONENTES DA FAMÍLIA LÓGICA TTL GATES AND INVERTERS POSITIVES NAND GATES AND INVERTERS DESCRIÇÃO

EGR 278 Digital Logic Lab File: N278L3A Lab # 3 Open-Collector and Driver Gates

Gates, Circuits, and Boolean Algebra

LOGICOS SERIE Precios sujetos a variación. Ref. Part # Descripción Precio Foto Ref. Quad 2-Input NOR Buffered B Series Gate / PDIP-14

Topics of Chapter 5 Sequential Machines. Memory elements. Memory element terminology. Clock terminology

CSE140: Components and Design Techniques for Digital Systems

Set-Reset (SR) Latch

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

Combinational Logic Design Process

Chapter 5. Sequential Logic

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics

Lecture-3 MEMORY: Development of Memory:

Napier University. School of Engineering. Electronic Engineering A Module: SE42205 Digital Design

A Lesson on Digital Clocks, One Shots and Counters

Counters. Present State Next State A B A B

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Digital Electronics Detailed Outline

On/Off Controller with Debounce and

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Chapter 2 Logic Gates and Introduction to Computer Architecture

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

IC Overview: 74HC family

Standart TTL, Serie Art.Gruppe

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

3-Digit Counter and Display

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

NAME AND SURNAME. TIME: 1 hour 30 minutes 1/6

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs

Latch Timing Parameters. Flip-flop Timing Parameters. Typical Clock System. Clocking Overhead

Lecture 7: Clocking of VLSI Systems

RUTGERS UNIVERSITY Department of Electrical and Computer Engineering 14:332:233 DIGITAL LOGIC DESIGN LABORATORY

Flip-Flops, Registers, Counters, and a Simple Processor

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Semiconduttori - C-MOS

ECE124 Digital Circuits and Systems Page 1

Introduction to Digital Logic with Laboratory Exercises

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

ENGI 241 Experiment 5 Basic Logic Gates

OPERATIONAL AMPLIFIERS

Transcription:

ELET 3156 DL - Laboratory #3 BISTABLE LATCHES AND FLIP-FLOPS No preliminary lab design work is required for this experiment. Introduction: This experiment will demonstrate the properties and illustrate some of the applications of digital switching circuits through the design, implementation and exercise of example bistable latches and flip-flops. These circuits are the building blocks of logic switching circuits, and an understanding of them can assist the engineer or technologist in the design and application of a wide variety of clocked and gated systems. The basic switching circuit is the bistable flip-flop of Figure 3.1. This circuit makes use of an inverted feed-back loop to establish a stable logical state throughout the loop. Recall the NAND function indicated in Table 3.1. A B A NAND B 0 0 1 0 1 1 1 0 1 1 1 0 Table 3.1 NAND Logic Figure 3.1 Set-Reset Flip-Flop The output of a NAND logic gate is a logical-1 unless both if its inputs are TRUE (logical 1). Only when all inputs to a NAND gate are a logical-1 is its output false, (a logical 0.) PART ONE. The Set-Reset Flip-Flop. Step 1: Construct the circuit of Figure 3.1 using an SN7400 or similar family device. The pin-out of the IC is indicated on page 6. Using the debounced logic switches to stimulate the SET and RESET inputs, complete the timing diagram of Figure 3.2 below by indicating the resulting outputs of the flip-flop. After completing Figure 3.2, obtain the instructor s signature before continuing. Figure 3.2 Timing Diagram of the NAND-Type Set-Reset Flip-Flop Page - 1

PART TWO. The Gated Set-Reset Flip-Flop. Figure 3.3 illustrates the addition of an inverting buffer to the input of the Set-Reset Flip-Flop of the previous example. Note that this buffer executes two functions, first it enables the SET and RESET signals to obtain access to the flip-flop, and second, it inverts the signal as it passes it through. This changes the active-low input stimulus of the previous flip-flop to an active-high stimulus. Figure 3.3 Gated Set-Reset Flip-Flop Step 2: Construct the circuit of Figure 3.3 using an SN7400 or similar family device. The pin-out of the IC is indicated on page 6. Using the debounced logic switches to stimulate the SET and RESET inputs, and a third switch to stimulate the GATE input, complete the timing diagram of Figure 3.4 below by indicating the resulting outputs of the flip-flop. After completing Figure 3.4, obtain the instructor s signature before continuing. Figure 3.4 Timing Diagram of a Gated Set-Reset Flip-Flop Page - 2

PART THREE. The Clocked Set-Reset Flip-Flop. Figure 3.5 illustrates the addition of an inverter to the GATE input of a second cascaded Set-Reset Flip-Flop. Note that this inverter enables alternating flip-flops as a function of the CLOCK input. That is, when the CLOCK input is a logical-1, the first flip-flop is enabled, and when the clock input is a logical-0, the second flipflop is enabled. Figure 3.5 Clocked Set-Reset Flip-Flop Step 3: Construct the circuit of Figure 3.5 using two SN7400s or a similar family device. You can use one of the unused NAND gates as an inverter by tying its two inputs together. The pin-out of the IC is indicated on page 6. Using the debounced logic switches to stimulate the SET and RESET inputs, and a third switch to stimulate the CLOCK input, complete the timing diagram of Figure 3.6 below by indicating the resulting outputs of the flip-flop. After completing Figure 3.6, obtain the instructor s signature before continuing. FIGURE 3.6 Timing Diagram of a Clocked Set-Reset Flip-Flop Page - 3

PART FOUR. The Clocked D-Type Flip-Flop. Figure 3.7 illustrates the elimination of a stimulus input of the previous circuit through the insertion of an inverter between the SET input and the RESET input of the first flip-flop. This will cause the two inputs to always oppose each other. The first flip-flop will follow the data on the D input while the second is disabled. When the clock is enabled, the second flip-flop will latch with the data from the first stage. Figure 3.7 Clocked D-Type Flip-Flop Construct the circuit of Figure 3.7 using two SN7400s or a similar family device. You can use the unused NAND gates as an inverter by tying its two inputs together. The pin-out of the IC is indicated on page 6. Using the debounced logic switches to stimulate the D and CLOCK inputs, complete the timing diagram of Figure 3.8 below by indicating the resulting outputs of the flip-flop. After completing Figure 3.8, obtain the instructor s signature before continuing. Figure 3.8 Timing Diagram of a Clocked D-Type Flip-Flop Page - 4

PART FIVE. The Clocked JK-Type Flip-Flop. Figure 3.9 illustrates yet another modification of the clocked flip-flop. Note that the opposing outputs are tied back to the input buffer of the first stage. The effect is to cause the output to change state on the clock edge if both the J and K inputs are high. Other than this, the operation of the flip-flop is similar to the Set-Reset type. Figure 3.9 Clocked JK-Type Flip-Flop Construct the circuit of Figure 3.9 using two SN7400s or a similar family device. You can use the unused NAND gates as an inverter by tying its two inputs together. An SN7410 can be used for the two logic gates on the input buffer. The pin-out diagram for the SN7410 is on page 6. Using the debounced logic switches to stimulate the CK input, and two other logic switches to simulate the J and K inputs, complete the timing diagram of Figure 3.10 below by indicating the resulting outputs of the flip-flop. After completing Figure 3.10, obtain the instructor s signature before continuing. FIGURE 2.10 Timing Diagram of a Clocked JK-Type Flip-Flop Page - 5

Based upon your previous knowledge and the results of this experiment, what conclusions can you make about the operation of the Gated Set-Reset Flip-Flop as a result of the data recorded in Figure 3.3? Based upon your previous knowledge and the results of this experiment, what conclusions can you make about the operation of the Clocked Set-Reset Flip-Flop as a result of the data recorded in Figure 3.5? Based upon your previous knowledge and the results of this experiment, what conclusions can you make about the operation of the Clocked D-Type Flip-Flop as a result of the data recorded in Figure 3.7? Based upon your previous knowledge and the results of this experiment, what conclusions can you make about the operation of the Clocked JK-Type Flip-Flop as a result of the data recorded in Figure 3.9? Include your conclusions of the operation of each circuit in the Summary section of your report. NOTES: Parts List: (1) Logic Trainer (2) SN7400 Quad 2-Input NAND gate. (1) SN7410 Triple 3-Input NAND gate. Page - 6