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

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

Chapter 5 Flip-Flops and Related Devices

FLIP-FLOPS AND RELATED DEVICES

EET2411 DIGITAL ELECTRONICS

Digital Fundamentals: A Systems Approach

CHAPTER 1 LATCHES & FLIP-FLOPS

The NOR latch is similar to the NAND latch

RS flip-flop using NOR gate

Chapter 7 Counters and Registers

More on Flip-Flops Digital Design and Computer Architecture: ARM Edition 2015 Chapter 3 <98> 98

RS flip-flop using NOR gate

Logic Design. Flip Flops, Registers and Counters

Chapter 2. Digital Circuits

LATCHES & FLIP-FLOP. Chapter 7

Unit 11. Latches and Flip-Flops

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

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

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

Experiment 8 Introduction to Latches and Flip-Flops and registers

EKT 121/4 ELEKTRONIK DIGIT 1

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).

Asynchronous (Ripple) Counters

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

Counters

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

D Latch (Transparent Latch)

5: Sequential Logic Latches & Flip-flops

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

CHAPTER 6 COUNTERS & REGISTERS

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

PGT104 Digital Electronics. PGT104 Digital Electronics

EKT 121/4 ELEKTRONIK DIGIT 1

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

Sequential Logic Basics

UNIT IV. Sequential circuit

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

Counter dan Register

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1

Digital Logic Design ENEE x. Lecture 19

Vignana Bharathi Institute of Technology UNIT 4 DLD

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

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

Introduction to Microprocessor & Digital Logic

UNIT-3: SEQUENTIAL LOGIC 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.

ELCT201: DIGITAL LOGIC DESIGN

Digital Fundamentals 11/2/2017. Summary. Summary. Floyd. Chapter 7. Latches

Chapter 5: Synchronous Sequential Logic

Synchronous Sequential Logic

Chap. 5 Flip-Flops and Related Devices

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

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

Lecture 8: Sequential Logic

cascading flip-flops for proper operation clock skew Hardware description languages and sequential logic

MC9211 Computer Organization

3 Flip-Flops. The latch is a logic block that has 2 stable states (0) or (1). The RS latch can be forced to hold a 1 when the Set line is asserted.

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

Sequential Logic and Clocked Circuits

Chapter 5 Synchronous Sequential Logic

Combinational vs Sequential

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

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

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

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

Chapter. Synchronous Sequential Circuits

Rangkaian Sekuensial. Flip-flop

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

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

6. Sequential Logic Flip-Flops

Chapter 4: One-Shots, Counters, and Clocks

Review of Flip-Flop. Divya Aggarwal. Student, Department of Physics and Astro-Physics, University of Delhi, New Delhi. their state.

Introduction to Sequential Circuits

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

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

DIGITAL ELECTRONICS MCQs

Chapter 6 Digital Circuit 6-5 Department of Mechanical Engineering

Registers and Counters

Review of digital electronics. Storage units Sequential circuits Counters Shifters

Serial In/Serial Left/Serial Out Operation

Digital Fundamentals: A Systems Approach

Chapter 4. Logic Design

Module -5 Sequential Logic Design

INTRODUCTION TO SEQUENTIAL CIRCUITS

ELCT201: DIGITAL LOGIC DESIGN

Other Flip-Flops. Lecture 27 1

CHAPTER1: Digital Logic Circuits

Chapter 11 Latches and Flip-Flops

Digital Circuits ECS 371

Switching Circuits & Logic Design

Digital Fundamentals

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

UNIVERSITI TEKNOLOGI MALAYSIA

ASYNCHRONOUS COUNTER CIRCUITS

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL

Flip-Flops and Sequential Circuit Design

ELE2120 Digital Circuits and Systems. Tutorial Note 7

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

CHAPTER 4: Logic Circuits

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

Transcription:

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

Objectives Recognize the various IEEE/ANSI flip-flop symbols. Use state transition diagrams to describe counter operation. Use flip-flops in synchronization circuits. Connect shift registers as data transfer circuits. Employ flip-flops as frequency-division and counting circuits. Understand the typical characteristics of Schmitt triggers. Apply two different types of one-shots in circuit design. Design a free-running oscillator using a 555 timer. Recognize and predict the effects of clock skew on synchronous circuits. Troubleshoot various types of flip-flop circuits. Program a PLD using CUPL's state transition format for circuit description.

Clocked Flip-Flops Controlled inputs + CLK Setup and Hold times Clocked S-C Flip-Flop Clocked J-K Flip-Flop Clocked F Flip-Flop

Setup and Hold times Refer to Figure 5.16 The setup time ts is the time interval immediately proceeding the active transition of the CLK signal during which the control input signal must be maintained at the proper level. The hold time th, is the time interval immediately following the active transition of the CLK signal during which the control input signal must be maintained at the proper level.

S-C Flip Flops PGT S-C FF S C CLK Q 0 0 up No change 1 0 up 1 0 1 up 0 1 1 up ambiguous

Internal Circuitry of S-C FF Refer to Figure 5.19 Consists of: a basic NAND latch a pulse steering circuit an edge-detector circuit (Figure 5.20)

J-K Flip-Flop J=K=1 does not result in an ambiguous output. Goes to the opposite state instead. J K CLK Q 0 0 up No change 1 0 up 1 0 1 up 0 1 1 up toogles

Internal Circuitry of J-K FF Refer to Figure 5.23 The only difference between J-K FF and S-C FF is that Q and Q outputs are fed back to the pulse-steering NAND gates. Analyze the condition: J=K=1 and Qbefore=0

Clocked D Flip-flop Has only one control input D, which stands for data. Operation is simple: Q will go to the same state that is present on the D input when a PGT occurs at CLK. In other words, the level presented at D will be stored in the FF at the instant the PGT occurs. Application: Parallel Data Transfer Using D FF

D Latch D FF without the edge detector. Behave somewhat differently. EN D Q 0 x No change 1 0 0 1 1 1

Asynchronous Inputs Used to set the FF to the 1 state or clear to the 0 state at any time, regardless of the condition at the other inputs. Also known as override inputs. Refer to Figure 5.31.

IEEE/ANSI Symbols D latch D Q Enable C Q

Flip-Flop Timing Considerations Setup and hold time: for reliable FF triggering, minimum values are specified. Propagation delays: the time the signal is applied to the time when output makes its change, maximum value is specified. Maximum clocking frequency, f MAX: the highest frequency that can be applied to the CLK input of a FF and still have it trigger reliably.

Timing Considerations Clock pulse HIGH and LOW times: the minimum time duration that the CLK must remain LOW before it goes HIGH, tw(l), and vice versa for th(l). Asynchronous active pulse width: the minimum time duration that a PRESET or CLEAR input must be kept in its active state in order to reliably set or clear the FF. Clock transition times: for reliable triggering, the clock waveform transition times must be kept very short. Actual ICS: 7474, 74LS112, 74C74, 74HC112

Potential Timing Problem Refer to Figure 5-37, problem can occur when output of one FF is connected to the input of another FF, and both FFs are triggered by the same clock signal. What if hold time requirement of Q2 is greater than propagation delay of Q1? Fortunately, all modern edge-triggered FFs have very short th, so there wouldn t be a problem.

Master/Slave Flip-Flops Used to solve the potential timing problem before the development of edge-triggered FFs with little or no hold-time requirement. Can be treated as a negative-edge-triggered FF.

Flip-Flop Synchronization Example 5-12 Figure 5-39: asynchronous signal A can produce partial pulses at X. Figure 5-40: Use edge-triggered D flip-flop to synchronize the enabling of the AND gate to the NGT of the clock.

More Flip-Flop Applications Detecting an input sequence using J-K FFs. Data storage and transfer: synchronous and asynchronous transfer Parallel data transfer

Serial Data Transfer: Shift Register A shift register is a group of FFs arranged so that the binary numbers stored in the FFs are shifted from one FF to the next the every clock pulse. Refer to Figure 5-45 Serial transfer between registers (Figure 5-46)

Frequency Division and Counting J-K flip-flops wired as a three-bit binary counter J=K=1 frequency division: Using N flip-flops --> 1/2^N counting operation state transition diagram MOD number

Microcomputer Application Figure 5-50: example of a microprocessor transfer binary data to an external register.

Schmitt-Trigger Devices A device that has a Schmitt-trigger type of input is designed to accept slow-changing signals and produce an output that has oscillation-free transitions. See Figure 5-51, a Schmitt-trigger INVERTER

One-Shot Has only one stable output state (normally Q=0, Q =1), also known as monostable multivibrator Once triggered, the output switches to the opposite state and remains in that quasistable state for a fixed period of time, tp. Non-retriggerable OS Retriggerable OS

Analyzing Sequential Circuits Step 1: Examine the circuit. Look for familiar components. Step 2:Write down the logic levels present at each I/O prior to the occurrence of the first clock pulse. Step 3:Using the initial conditions to determine the new states of each FFs in response to the first clock pulse. Step 4: go back and repeat Steps 2,3 for the 2 nd, 3 rd clock pulse