EET2411 DIGITAL ELECTRONICS

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

LATCHES & FLIP-FLOP. Chapter 7

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

Registers and Counters

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

Chapter 5 Flip-Flops and Related Devices

The NOR latch is similar to the NAND latch

Digital Circuits ECS 371

Registers and Counters

Chapter 7 Counters and Registers

Other Flip-Flops. Lecture 27 1

CHAPTER 6 COUNTERS & REGISTERS

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

Experiment 8 Introduction to Latches and Flip-Flops and registers

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

Asynchronous (Ripple) Counters

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Unit 11. Latches and Flip-Flops

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

Chapter 2. Digital Circuits

Digital Fundamentals: A Systems Approach

ELCT201: DIGITAL LOGIC DESIGN

Introduction to Sequential Circuits

Rangkaian Sekuensial. Flip-flop

Digital Fundamentals: A Systems Approach

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

Flip-Flops and Sequential Circuit Design

FE REVIEW LOGIC. The AND gate. The OR gate A B AB A B A B 0 1 1

CHAPTER 1 LATCHES & FLIP-FLOPS

Chapter. Synchronous Sequential Circuits

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

FLIP-FLOPS AND RELATED DEVICES

CHAPTER1: Digital Logic Circuits

Logic Design. Flip Flops, Registers and Counters

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

Lecture 8: Sequential Logic

ELCT201: DIGITAL LOGIC DESIGN

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

Chapter 11 Latches and Flip-Flops

Counter dan Register

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

Counters

Digital Logic Design I

RS flip-flop using NOR gate

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

UNIVERSITI TEKNOLOGI MALAYSIA

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

Chapter 5: Synchronous Sequential Logic

RS flip-flop using NOR gate

Serial In/Serial Left/Serial Out Operation

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

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

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

Registers & Counters. Logic and Digital System Design - CS 303 Erkay Savaş Sabanci University

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

Digital Systems Laboratory 3 Counters & Registers Time 4 hours

EKT 121/4 ELEKTRONIK DIGIT 1

Engr354: Digital Logic Circuits

Universal Asynchronous Receiver- Transmitter (UART)

D Latch (Transparent Latch)

5: Sequential Logic Latches & Flip-flops

INTRODUCTION TO SEQUENTIAL CIRCUITS

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.

Chapter 4. Logic Design

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

Review of digital electronics. Storage units Sequential circuits Counters Shifters

CHAPTER 4: Logic Circuits

Synchronous Sequential Logic

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

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

Fall 2000 Chapter 5 Part 1

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

Lecture 12. Amirali Baniasadi

EE292: Fundamentals of ECE

Sequential Logic and Clocked 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 Fundamentals

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

6. Sequential Logic Flip-Flops

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

MC9211 Computer Organization

Chapter 3 Unit Combinational

ASYNCHRONOUS COUNTER CIRCUITS

Digital Logic Design ENEE x. Lecture 19

Module -5 Sequential Logic Design

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

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

Digital Circuit And Logic Design I. Lecture 8

CHAPTER 4: Logic Circuits

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

Digital Circuit And Logic Design I

ENGG 1203 Tutorial. D Flip Flop. D Flip Flop. Q changes when CLK is in Rising edge PGT NGT

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

Introduction to Microprocessor & Digital Logic

WEEK 10. Sequential Circuits: Analysis and Design. Page 1

ESE 570 STATIC SEQUENTIAL CMOS LOGIC CELLS. Kenneth R. Laker, University of Pennsylvania, updated 25Mar15

Sequential Logic Circuits

Chapter 6 Registers and Counters

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

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

Transcription:

5-8 Clocked D Flip-FlopFlop One data input. The output changes to the value of the input at either the positive going or negative going clock trigger. May be implemented with a J-K FF by tying the J input to the K input through an inverter. Useful for parallel data transfer. 176 Edge-triggered D flip-flop flop implementation from a J-K flip- flop D flip-flop is implemented by adding a single inverter to the edge-triggered J-K flip-flop. Why using D flip-flop: Q takes the value of D input on controlled timing PGT (can be NGT too) Example: Outputs of combinational circuit X,Y,Z are to be transferred for storage to Q1, Q2, Q3 simultaneously for subsequent processing. 177 1

5-9 Asynchronous Inputs Inputs that depend on the clock are synchronous. Most clocked FFs have asynchronous inputs that do not depend on the clock. The labels PRE and CLR are used for asynchronous inputs. The asynchronous inputs are override inputs. Active low asynchronous inputs will have a bar over the labels and inversion bubbles. If the asynchronous inputs are not used they will be tied to their inactive state (Why?). 178 Example 5-9 showing how a clocked flip-flop flop responds to asynchronous inputs. Assume Q = 1, determine the waveform for a J-K flip-flop. Initially PRE* and CLR* are in their inactive state (no effect) at point a, Q will go low (toggle) since j=k=1.. At point b, PRE* is low, this cause Q to go high, at point c, both PRE* & CLR* are inactive, CLK NGT will cause Q to toggle low and toggled back high at point d. At point e, CLR* is active, q will go low, the NGT of CLK at f will have no effect since CLR* is active. At point g, NGT of CLK will cause Q to toggle to high. 179 2

5-14 Flip-Flop Flop Applications Examples of applications: Counting Storing binary data Transferring binary data between locations Many FF applications are categorized as sequential circuits, which means that the output follows a predetermined sequence of states, with a new state occurring each time a clock pulse occurs. 180 5-15 Flip-Flop Flop Synchronization Most systems are primarily synchronous in operation, in that changes depend on the clock. Asynchronous and synchronous operations are often combined. The random nature of asynchronous inputs can result in unpredictable results. 181 3

Asynchronous signal A can produce partial pulses at X. Most systems are primarily synchronous in operation, in that changes depend on the clock. Asynchronous and synchronous operations are often combined. The random nature of asynchronous inputs can result in unpredictable results. This can produce partial clock pulses at output X if either transition of A occurs while the clock signal is HIGH. To solve this problem is by connecting A to the D flip-flop. 182 An edge-triggered D flip-flop flop is used to synchronize the enabling of the AND gate to the NGTs of the clock. When A goes HIGH, Q will not go High until the next NGT of the clock at T1. Now the HIGH at Q will enable the AND gate to pass subsequent complete clock pulses to X. When A goes LOW, Q will not go LOW until the next NGT of the clock at T2 and therefore the AND gate will not inhibit clock pulses until the clock pulses that ends at T2 has passed to X. This way X will contain complete clock pulses. 183 4

5-16 Detecting an Input Sequence FFs provide features that pure combinational logic gates do not. If an output is desired only when inputs change state in sequence, an arrangement below can be used. Q will go HIGH only if A goes HIGH before B goes HIGH. This is because A must be HIGH in order for Q to go HIGH on the PGT of B. This is different from AND gate only which goes high when both A and B are HIGH regardless of which input goes HIGH first. Can you think of timing requirements here? 184 5-17 Data Storage and Transfer FFs are commonly used for storage and transfer of data in binary form. Groups of FFs used for storage are registers. Data transfers take place when data is moved between registers or FFs. The logic value stored in FF A is transferred to FF B on the NGT of the Transfer pulse Synchronous transfers take place at PGT or NGT of clock. Transfer can happen asynchronously using PRESET and CLEAR inputs. 185 5

5-17 Parallel Data Transfer Transferring the bits of a register simultaneously is a parallel transfer. Register X contains 3 FFs, register Y contains 3 FFs On PGT of TRANSFER, the content of Register X is transferred to Register Y. Transferring the bits of a register a bit at a time is a serial transfer. The content of X will be transferred to Y one bit at a time 186 6