Principles & Applications

Slides:



Advertisements
Similar presentations
D-Type Flip Flops Benchmark Companies Inc PO Box
Advertisements

Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR1 Sequential Circuit Latch & Flip-flop.
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
Sequential Logic Latches & Flip-flops
ReturnNext  Latch : a sequential device that watches all of its inputs continuously and changes its outputs at any time, independent of a clocking signal.
EET 1131 Unit 10 Flip-Flops and Registers
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Sequential Logic Flip-Flops and Related Devices Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty.
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Principles & Applications
Objectives: Given input logice levels, state the output of an RS NAND and RS NOR. Given a clock signal, determine the PGT and NGT. Define “Edge Triggered”
1 Sequential Circuit Latch & Flip-flop. 2 Contents Introduction Memory Element Latch  SR latch  D latch Flip-flop  SR flip-flop  D flip-flop  JK.
COE 202: Digital Logic Design Sequential Circuits Part 1
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Flip-flops. Outline  Edge-Triggered Flip-flops  S-R Flip-flop  D Flip-flop  J-K Flip-flop  T Flip-flop  Asynchronous Inputs.
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
FLIP FLOP By : Pn Siti Nor Diana Ismail CHAPTER 1.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Sequential logic circuits
1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
EKT 121 / 4 ELEKTRONIK DIGIT I
Sequential Circuit Latch & Flip-flop. Contents Introduction Memory Element Latch  SR latch  D latch Flip-flop  SR flip-flop  D flip-flop  JK flip-flop.
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
D Flip Flop. Also called: Delay FF Data FF D-type Latches ‘Delayed 1 Clock Pulse’
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
Flip-Flop Flip-flops Objectives Upon completion of this chapter, you will be able to :  Construct and analyze the operation of a latch flip-flop made.
1 Homework Reading –Tokheim Chapter 9.1 – 9.6 Machine Projects –Continue on mp3 Labs –Continue in labs with your assigned section.
Sequential Logic An Overview
Principles & Applications
LATCHES AND FLIP-FLOPS
LATCHED, FLIP-FLOPS,AND TIMERS
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
EI205 Lecture 8 Dianguang Ma Fall 2008.
ECE 3130 – Digital Electronics and Design
Flip-FLops and Latches
Flip Flops.
FLIP FLOPS.
Principles & Applications
INTRODUCTION Overview of Shift Registers
Flip Flops.
Flip-Flop.
CS1104 – Computer Organization
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
Flip Flop.
Flip-FLops and Latches
Introduction to Sequential Logic Design
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Flip-FLops and Latches
Sequential logic circuits
Flip-FLops and Latches
Flip-FLops and Latches
Lecture 16 Logistics Last lecture Today HW5 out, due next wednesday
Principles & Applications
Lecture 16 Logistics Last lecture Today HW5 out, due next wednesday
FLIP-FLOPS.
Flip-Flops.
Flip-FLops and Latches
SEQUENTIAL CIRCUITS __________________________________________________
Sequential Digital Circuits
Week 11 Flip flop & Latches.
Presentation transcript:

Principles & Applications Digital Electronics Principles & Applications Seventh Edition Roger L. Tokheim Chapter 7 Flip-Flops ©2008 The McGraw-Hill Companies, Inc. All rights reserved.

INTRODUCTION Combinational vs. Sequential Logic Circuits R-S Flip-flop Clocked R-S Flip-flop D Flip-flop J-K Flip-flop Latches (simple memory devices) Triggering of flip-flops Schmitt triggered device

Logic Circuits Logic circuits are classified into two groups: Combinational Logic Circuits Basic building blocks include: Sequential Logic Circuits Basic building blocks include FLIP-FLOPS:

QUIZ 1. Basic building blocks for __________ (combinational, sequential) logic circuits include logic gates (such as NOT, AND, and OR). combinational 2. Basic building blocks for sequential logic circuits include various flip-flops. (True or False) True 3. A flip-flop is an example of a device used in __________ (combinational, sequential) logic circuits. sequential

R-S Flip-Flop Symbols: Truth Table: Mode of Operation Inputs Outputs Set Reset S R Q Normal Comple-mentary FF Truth Table: Mode of Operation Inputs Outputs S R Q Q’ Prohibited 0 0 1 1 Set 0 1 1 0 Reset 1 0 0 1 Hold 1 1 Q Q’ NOTE: Active-LOW inputs

QUIZ What is the mode of operation of the R-S flip-flop (set, reset or hold)? What is the output at Q from the R-S flip-flop (active LOW inputs)? Mode of operation = ? ? L H High Set Mode of operation = ? ? H High Hold Mode of operation = ? ? H L Low Reset

Clocked R-S Flip-Flop Symbols: Truth Table: Set Reset S R Q Normal Comple-mentary FF Clock CLK Truth Table: Mode of operation Inputs Outputs Clk S R Q Q’ Hold + pulse 0 0 no change Reset + pulse 0 1 0 1 Set + pulse 1 0 1 0 Prohibited 1 1 1 1 NOTE: Active-High inputs

QUIZ High Set High Hold Low Reset What is the mode of operation of the clocked R-S flip-flop (set, reset, hold)? What is the output at Q from the clocked R-S flip-flop (active HIGH inputs)? H ^ L Mode of operation = ? ? High Set L ^ Mode of operation = ? ? High Hold L ^ H Mode of operation = ? ? Low Reset

D Flip-Flop Symbol: Truth Table: (with asynchronous PS & CLR) Mode of Operation Inputs Outputs PS CLR CLK D Q Q’ Asynchronous set 0 1 X X 1 0 Asynchronous reset 1 0 X X 0 1 --------------------------------------------------------------------- Prohibited 1 1 X X 1 1 Set 1 1 ^ 1 1 0 Reset 1 1 ^ 0 0 1 X = irrelevant ^ = L-to-H transition of the clock pulse

QUIZ What is the mode of operation of the D flip-flop? What is the output at Q from the D flip-flop? L H ^ ? Mode of operation = ? High Asynchronous Set H L ^ ? Mode of operation = ? Low Reset H ^ ? Mode of operation = ? High Set

J-K Flip-Flop Symbol: Truth Table: Mode of Operation Inputs Outputs PS Clr Clk J K Q Q’ Asynchronous set 0 1 x x x 1 0 Asynchronous reset 1 0 x x x 0 1 Prohibited 0 0 x x x 1 1 ------------------------------------------------------------------------- Hold 1 1 ^ 0 0 no change Reset 1 1 ^ 0 1 0 1 Set 1 1 ^ 1 0 1 0 Toggle 1 1 ^ 1 1 opposite x = Irrelevant ^ = H-to-L transition of clock pulse

QUIZ What is the mode of operation of the J-K flip-flop? What is the output at Q from the J-K flip-flop? L ^ H Mode of operation = ? ? H ^ Mode of operation = ? ? High High Preset Toggle H ^ Mode of operation = ? ? Mode of operation = ? H ^ ? Low Low Toggle Toggle Mode of operation = ? H L ^ ? H ^ L Mode of operation = ? ? Low Low Reset Clear

Latch A fundamental digital storage device The act of storing data for a time, such as “to latch” An R-S flip-flop is an example of a latch A D flip-flop can perform as a latch In IC form (examples: 4-bit, 8-bit, 9-bit, 10 bit) Is commonly imbedded in complex ICs

QUIZ 1. A fundamental digital storage device is sometime called a(n) ___ (gate, latch). latch 2. The job of a latch can be performed by a(n) ___ (gate, D-flip-flop). D-flip-flop 3. We say that “to latch” is the act of storing data for a time. (True or False) True 4. Latches are commonly imbedded in more complex ICs and serve as temporary memory devices. (True or False) True

Triggering of Flip-Flops Level-triggering is the transfer of data from input to output of a flip-flop anytime the clock pulse is HIGH. Edge-triggering is the transfer of data from input to output of a flip-flop on the rising edge (L-to-H) or falling edge (H-to-L) of the clock pulse. Edge triggering may be either positive-edge (L-to-H) or negative-edge (H-to-L). Master-slave triggering is an older technique using the whole clock pulse but think of a master-slave flip-flop as having negative-edge triggering. Negative-edge triggering Positive-edge triggering H L time Level triggering

QUIZ 1. If a flip-flop triggers on the L-to-H transition of the clock pulse (see A) it is called a __________ (level, positive-edge) triggered device. positive-edge 2. If a flip-flop triggers on the H-to-L transition of the clock pulse (see B) it is called a __________ (level, negative-edge) triggered device. negative-edge 3. If a flip-flop triggers while the clock pulse is HIGH (see C) it is called a __________ (level, positive-edge) triggered device. level C B A H L time

Schmitt Trigger Operation Positive-going threshold Negative-going threshold Output Input Schmitt trigger device “squares” up input

QUIZ 1. The symbol at the lower right is that of a __________ (magneto-optical, Schmitt trigger) inverter. Schmitt trigger 2. If the input signal to the Schmitt trigger inverter is a sine wave the output will be a __________ (square-wave, triangular-wave). square wave 3. A Schmitt-trigger device will “digitize” or square up input signals with slow rise times and slow fall times. (True or False) True

REVIEW Combinational vs. Sequential Logic Circuits R-S Flip-flop Clocked R-S Flip-flop D Flip-flop J-K Flip-flop Latches (simple memory devices) Triggering of flip-flops Schmitt triggered device