Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.

Slides:



Advertisements
Similar presentations
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
Advertisements

Sequential Logic Building Blocks – Flip-flops
Digital Logic Design ESGD2201
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 10.1 Sequential Logic  Introduction  Bistables  Memory Registers  Shift.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
Flip-Flops, Registers, Counters, and a Simple Processor
Classification of Digital Circuits  Combinational. Output depends only on current input values.  Sequential. Output depends on current input values and.
Digital Logic Chapter 5 Presented by Prof Tim Johnson
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 12 Basic (NAND) S – R Latch “Cross-Coupling” two NAND gates gives the S -R Latch:
Sequential Logic Latches and Flip-Flops. Sequential Logic Circuits The output of sequential logic circuits depends on the past history of the state of.
Flip-Flops and Related Devices Wen-Hung Liao, Ph.D.
Sequential Logic Latches & Flip-flops
1 Chapter 8 Flip-Flops and Related Devices. 2 Figure 8--1 Two versions of SET-RESET (S-R) latches S-R (Set-Reset) Latch.
1 Sequential Circuits –Digital circuits that use memory elements as part of their operation –Characterized by feedback path –Outputs depend not only on.
EET 1131 Unit 10 Flip-Flops and Registers
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Figure 7–1 Two versions of SET-RESET (S-R) latches
Chapter 10 Flip-Flops and Registers Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. William Kleitz.
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
Digital Logic Design Lecture 23. Announcements Homework 8 due Thursday, 11/20 Exam 3 coming up on Tuesday, 11/25.
Sequential Logic Flip-Flops and Related Devices Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty.
EECC341 - Shaaban #1 Lec # 13 Winter Sequential Logic Circuits Unlike combinational logic circuits, the output of sequential logic circuits.
Flip-Flops and Related Devices Wen-Hung Liao, Ph.D. 4/10/2002.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
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.
Flip-Flops and Related Devices
C.S. Choy1 SEQUENTIAL LOGIC A circuit’s output depends on its previous state (condition) in addition to its current inputs The state of the circuit is.
Introduction Flip-flops are synchronous bistable devices. The term synchronous means the output changes state only when the clock input is triggered. That.
SEQUENTIAL CIRCUITS USING TTL 74XX ICS
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
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”
Astable: Having no stable state. An astable multivibrator oscillates between two quasistable states. Asynchronous Having no fixed time relationship Bistable.
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 Flop
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-Flops and Registers
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
FLIP FLOP By : Pn Siti Nor Diana Ismail CHAPTER 1.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
1 Digital Fundamentals Chapter 8 Flip-Flops and Related Devices Resource: CYU / CSIE / Yu-Hua Lee / Not made by Engr. Umar Talha,
Sequential logic circuits
Chapter 10 Flip-Flops and Registers 1. Objectives You should be able to: Explain the internal circuit operation of S-R and gated S-R flip-flops. Explain.
1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
EKT 221 / 4 DIGITAL ELECTRONICS II
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
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
A latch is a temporary storage device that has two stable states (bistable). It is a basic form of memory. The S-R (Set-Reset) latch is the most basic.
Flip Flops Engr. Micaela Renee Bernardo. A latch is a temporary storage device that has two stable states (bistable). It is a basic form of memory. Latches.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
Dept. of Electrical Engineering
7. Latches and Flip-Flops Digital Computer Logic.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Ch.5 Flip Flops and Related Devices
EEE 301 DIGITAL ELECTRONICS
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
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.
UNIT 11 LATCHES AND FLIP-FLOPS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter in the book includes: Objectives.
Copyright ©2009 by Pearson Higher Education, Inc. Upper Saddle River, New Jersey All rights reserved. Digital Fundamentals, Tenth Edition Thomas.
LATCHED, FLIP-FLOPS,AND TIMERS
EI205 Lecture 8 Dianguang Ma Fall 2008.
Digital Fundamentals Floyd Chapter 7 Tenth Edition
Digital Fundamentals Floyd Chapter 7 Tenth Edition
Chapter 7 Latches, Flip-Flops, and Timers
FLIP-FLOPS.
Presentation transcript:

Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1

3.1 Flip-flop & Register ~ Latches ~ Edge-triggered flip-flops ~ Master-slave flip-flops ~ Flip-flop operating characteristics ~ Flip-flop applications ~ One-shots ~ The 555 timer

Introduction Latches and flip-flops are the basic single-bit memory elements used to build sequential circuit with one or two inputs/outputs, designed using individual logic gates and feedback loops. Latches:  The output of a latch depends on its current inputs and on its previous output and its change of state can happen at any time when its inputs change. Flip-Flops:  The output of a flip-flop also depends on current inputs and its previous output but the change of state occurs at specific times determined by a clock input.

Latches:  S-R Latch  Gate S-R Latch  Gate D-Latch Flip-Flops:  Edge-Triggered Flip-Flop (S-R, J-K, D)  Asynchronous Inputs  Master-Slave Flip-Flop  Flip-Flop Operating Characteristics  Flip-Flop Applications  One-shots & The 555 Timer Introduction

Latches Type of temporary storage device that has two stable (bi-stable) states Similar to flip-flop – the outputs are connected back to opposite inputs Main difference from flip-flop is the method used for changing their state S-R latch, Gated/Enabled S-R latch and Gated D latch

S-R (SET-RESET) Latch Active-HIGH input S-R Latch Active-LOW input S-R Latch

Logic symbols for the S-R and S-R latch

Negative-OR equivalent of the NAND gate S-R latch

Truth table for an active-LOW input S-R latch

Assume that Q is initially LOW Waveforms

 A gate input is added to the S-R latch to make the latch synchronous.  In order for the set and reset inputs to change the latch, the gate input must be active (high/Enable).  When the gate input is low, the latch remains in the hold condition. Gated S-R Latch

A gated S-R latch

Gated S-R latch waveform:

Truth Table for Gated S-R Latch SRGQQ’ 000QQ’Hold 100QQ’Hold 010QQ’Hold 110QQ’hold 001QQ’hold 10110set 01101reset 11100not allowed

Gated D Latch (74LS75)  The D (data) latch has a single input that is used to set and to reset the flip-flop.  When the gate is high, the Q output will follow the D input.  When the gate is low, the Q output will hold.

Gated S-R Latch Q output waveform if the inputs are as shown: The output follows the input when the gate is high but is in a hold when the gate is low.

Gated D Latch (74LS75)

Edge-triggered Flip-flop Logic Positive edge triggered and Negative edge-triggered All the above flip-flops have the triggering input called clock (CLK/C)

Clock Signals & Synchronous Sequential Circuits A clock signal is a periodic square wave that indefinitely switches values from 0 to 1 and 1 to 0 at fixed intervals. Rising edges of the clock (Positive-edge triggered) Falling edges of the clock (Negative-edge triggered) Clock signal Clock Cycle Time 1 0

Operation of a positive edge-triggered S-R flip- flop (d) S=1, R=1 is invalid or not allowed

Example:

A positive edge-triggered D flip-flop formed with an S-R flip-flop and an inverter. DCLK/CQQ’_________________ 1 ↑10SET (stores a 1) 0 ↑01 RESET (stores a 0)

Example:

Truth Table for J-K Flip Flop JK CLKQQ’ 00Q 0 Q 0 ’ Hold 0101Reset 1010Set 11Q 0 ’Q 0 Toggle (opposite state)

Transitions illustrating the toggle operation when J =1 and K = 1.

 The edge-triggered J-K will only accept the J and K inputs during the active edge of the clock.  The small triangle on the clock input indicates that the device is edge-triggered.  A bubble on the clock input indicates that the device responds to the negative edge. no bubble would indicate a positive edge-triggered device. Edge-triggered J-K flip-flop

A simplified logic diagram for a positive edge- triggered J-K flip-flop.

Example: Positive edge-triggered

Example: Negative edge-trigerred

Logic symbol for a J-K flip-flop with active-LOW preset and clear inputs.

Example:

The J-K flip-flop has a toggle mode of operation when both J and K inputs are high.Toggle means that the Q output will change states on each active clock edge. J, K and Cp are all synchronous inputs. The master-slave flip-flop is constructed with two latches. The master latch is loaded with the condition of the J-K inputs while the clock is high. When the clock goes low, the slave takes on the state of the master and the master is latched. The master-slave is a level-triggered device. The master-slave can interpret unwanted signals on the J-K inputs. Edge-triggered flip-flop logic symbols (cont’d)

Basic logic diagram for a master-slave J-K flip- flop.

Pulse-triggered (master-slave) J-K flip-flop logic symbols.

Truth Table for Master-Slave J-K Flip Flop JKCLKQQ’ 00Q 0 Q 0 ’ Hold 0101Reset 1010Set 11Q 0 ’Q 0 Toggle (opposite state)

Flip-Flop Applications Parallel Data Storage Frequency Division Counting

Flip-flops used in a basic register for parallel data storage.

J-K flip-flop as a divide-by-2 device. Q is one-half the frequency of CLK.

Two J-K flip-flops used to divide the clock frequency by 4. Q A is one-half and Q B is one-fourth the frequency of CLK.

Flip-flops used to generate a binary count sequence. Two repetitions (00, 01, 10, 11) are shown.

Flip-Flop Operating Characteristics Propagation Delay Times Set-up Time Hold Time Maximum Clock Frequency Pulse Width Power Dissipation

Comparison of operating parameters for 4 IC families of flip-flop of the same type

There are several other parameters that will also be listed in a manufacturers data sheet. Maximum frequency (F max ) Maximum frequency (F max ) - The maximum frequency allowed at the clock input. Clock pulse width (LOW) [t W (L)] Clock pulse width (LOW) [t W (L)] - The minimum width that is allowed at the clock input during the LOW level. Clock pulse width (HIGH) [t W (H)] Clock pulse width (HIGH) [t W (H)] - The minimum width that is allowed at the clock input during the high level. Set or Reset pulse width (LOW) [t w (L)] Set or Reset pulse width (LOW) [t w (L)] - The minimum width of the LOW pulse at the set or reset inputs.

Basic operation of a 555 Timer Threshold Control Voltage Trigger Discharge Reset Output

Functional Diagram of 555 Timer

555 Timer as a one shot t w = 1.1R1C1 = 1.1(2000  )(1  F) = 2.2ms

Astable operation of 555 Timer t H =.7 (R1+R2)C1 =2.1ms t L =.7R2C1 = 0.7ms

3.2 Shift Register ~Basic shift register functions ~Serial in / serial out shift registers ~Serial in / parallel out shift registers ~Parallel in / serial out shift registers ~Parallel in / parallel out shift registers ~Bidirectional shift registers ~Shift register counters ~Shift register applications