Flip-Flop Applications

Slides:



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

Registers and Counters
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 10.1 Sequential Logic  Introduction  Bistables  Memory Registers  Shift.
Flip-Flops, Registers, Counters, and a Simple Processor
Digital Logic Chapter 5 Presented by Prof Tim Johnson
EE2420 – Digital Logic Summer II 2013
Dr. ClincyLecture1 Appendix A – Part 2: Logic Circuits Current State or output of the device is affected by the previous states Circuit Flip Flops New.
Half Adder Sum = X’Y+XY’ = X  Y Carry = XY YXYXYX  YYYX  XX XOR XNOR.
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
Henry Hexmoor1 Chapter 7 Henry Hexmoor Registers and RTL.
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.
Sequential Logic Combination logic: outputs are based on a combination of present inputs only. Sequential logic: outputs depend on present and past inputs.
Sequential Circuit Introduction to Counter
What is shift register? A shift register is a digital memory circuit found in calculators, computers, and data-processing systems. Bits (binary digits)
REGISTER A Register is a group of binary storage cells suitable for holding binary information. A group of flip-flops constitutes a register, since each.
Sequential Circuit  It is a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its.
Counters and Registers
Electronics Technology
Counters.
SEQUENTIAL CIRCUITS USING TTL 74XX ICS
Registers and Counters
Chapter 1_4 Part II Counters
Asynchronous Counter © 2014 Project Lead The Way, Inc.Digital Electronics.
Sequential Logic - An Overview
Registers and Counters
Test #2 Combinational Circuits – MUX Sequential Circuits – Latches – Flip-flops – Clocked Sequential Circuits – Registers/Shift Register – Counters – Memory.
Counters Clocked sequential circuit whose state diagram contains a single cycle. Modulus – number of states in the cycle. Counters with non-power of 2.
Registers and Counters
Electronics Technology
Asynchronous Counters with SSI Gates
EE24C Digital Electronics Projects
Last Mod: March 2014  Paul R. Godin Shift Registers Registers 1.1.
CSI-2111 Computer Architecture Ipage Sequential circuits, 2nd part v Objectives: To recognize and know to use the principal types of sequential.
1 Registers and Counters A register consists of a group of flip-flops and gates that affect their transition. An n-bit register consists of n-bit flip-flops.
Registers and Counters
Rabie A. Ramadan Lecture 3
Digital Design: Principles and Practices
P. 4.1 Digital Technology and Computer Fundamentals Chapter 4 Digital Components.
Counter Application (Part B) By : Pn Siti Nor Diana Ismail CHAPTER 3.
 Counters are sequential circuits which "count" through a specific state sequence. They can count up, count down, or count through other fixed sequences.
Chapter 1_4 Part III more on … Counters Chapter 1_4 Part III more on … Counters.
Integrated Circuits. Integrated Circuit (IC) A silicon crystal (chip) containing electronic components that create the logic gates we’ve been looking.
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Latches & Flip-Flops.
Digital Logic Design.
Sequential logic circuits
Last Mod: Jan 2015  Paul R. Godin Shift Registers : Technician Series Registers 1.1.
C HAPTER S IX R EGISTERS AND C OUNTERS 1. A clocked sequential circuit consists of a group of flip-flops and combinational gates connected to form a feedback.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Counters and Registers Synchronous Counters. 7-7 Synchronous Down and Up/Down Counters  In the previous lecture, we’ve learned how synchronous counters.
Unit 1 – Counters and Registers Mr. Grimming. Introduction FFs and logic gates are combined to form various counters and registers. Unit Goals Goals:
THEME 6: Frequency dividers. Digital counters with reduced counting modulus. Programmable digital counters. If the input pulses are more than K, the counter.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
REGISTER TRANSFER LANGUAGE (RTL) INTRODUCTION TO REGISTER Registers1.
Modular sequential logic Use latches, flip-flops and combinational logic –Flip-flops usually grouped to form a register Shift registers –n bits {x n …x.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
Dept. of Electrical Engineering
Counters In digital logic and computing, a counter is a device which stores (and sometimes displays) the number of times a particular event or process.
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
Chapter 35 Sequential Logic Circuits. Objectives After completing this chapter, you will be able to: –Describe the function of a flip-flop –Identify the.
Sequential Logic An Overview
EKT 221 – Counters.
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
Flip-Flop Applications
Asynchronous Counters with SSI Gates
Flip-Flop Applications
COE 202: Digital Logic Design Sequential Circuits Part 4
Lecture No. 24 Sequential Logic.
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
Presentation transcript:

Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Flip-Flop Applications Project Lead The Way, Inc. Copyright 2009

Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Flip-Flop Applications This presentation will provide an overview of the following flip-flop applications: Event Detect Data Synchronizer Frequency Divider Shift Register Additional flip-flop applications will be covered in future lessons: Asynchronous {Ripple} Counters (Unit 3.2) Synchronous {Parallel} Counters (Unit 3.3) State Machines (Unit 3.4) Introductory Slide / Overview of Presentation Project Lead The Way, Inc. Copyright 2009

Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Event Detector An event detector circuit is one that is capable of detecting and holding a signal until the event that changed the signal can be addressed. For example, door sensors on a home burglar alarm system use an event detector circuit. Once someone opens the door, the alarm will sound until the system is turned off. If it were not for the event detection circuit, the alarm would only be on when the door was open. Thus, someone could quickly open the door, enter the house, and close the door. In this situation the alarm would only sound for the brief time that the door was actually open. Description of what an event detector circuit is used for. Ask the students to think of other applications. Project Lead The Way, Inc. Copyright 2009

Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Event Detect: Circuit Event detector circuit with a D flip-flop. Project Lead The Way, Inc. Copyright 2009

Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Event Detect Single_Event Clear Event Held Event Cleared Held_Event Case #1 Simulation of the Event Detector circuit. The top timing diagram (Case #1) shows that when the Single_Event signal changes (0-to-1), the event is held by the output signal Held_Event until it is cleared. The bottom timing diagram (Case #2) shows that when multiple events occur, only the first is held. The same is true with multiple clears. Multiple Events Only the 1st event is held. Single_Event Clear Multiple Clears Only the 1st event does anything. Held_Event Case #2 Project Lead The Way, Inc. Copyright 2009

Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Data Synchronizer Normally, timing is not a concern with combinational logic. However, due to gate delays, the outputs of combinational logic can change at different times. This can lead to potential timing problems. Take a look at the combinational logic circuit shown below. Because functions A, B, & C have different circuit complexity, they change logic levels at different times. To solve this problem, a data synchronizer circuit can be added to the outputs. C B A Description of what a data synchronizer circuit is used for. . Combinational Logic Circuit Inputs Project Lead The Way, Inc. Copyright 2009

Data Synchronizer: Circuit Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Data Synchronizer: Circuit Data synchronizer circuit with a D flip-flop. Project Lead The Way, Inc. Copyright 2009

Data Synchronizer: Timing Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Data Synchronizer: Timing Latched_A Latched_B Latched_C A B C Clock The signal can be a zero or a one, depending on the previous latched values. Timing diagram for the data synchronizer circuit. Project Lead The Way, Inc. Copyright 2009

Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Frequency Divider As the name implies, a frequency divider is a circuit the produces a digital output signal that is half the frequency of the input. The frequency divider is used extensively in the design of asynchronous counters. Description of what a data synchronizer circuit is used for. Project Lead The Way, Inc. Copyright 2009

Frequency Divider: Circuit Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Frequency Divider: Circuit D Version J/K Version Timing diagram for the frequency divider (divide-by-two circuit). Note that this circuit can be implemented with both the D and J/K flip-flops. Clock_Out Clock_In Project Lead The Way, Inc. Copyright 2009

Frequency Divider: Timing Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Frequency Divider: Timing T2 Clock_Out Clock_In T1 The period of Clock_Out is twice the period of Clock_In. Since the period is twice, the frequency is divided in half. Detailed view of the period and frequency of the input/output signals for the divide-by-two circuit. Project Lead The Way, Inc. Copyright 2009

Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Shift Register A shift register is a group of flip-flops (typically 4 or 8) that are arranged so that the values stored in the flip-flops are shifted from one flip-flop to the next for every clock. Shift registers are used extensively in logic circuits to control digital displays. A classic example is numbers being typed into a calculator. As the numbers are entered, the digits shift to the left one position. This shifting is controlled by a shift register. Description of what a shift register circuit is used for. Ask the students to think of other applications. Project Lead The Way, Inc. Copyright 2009

Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Shift Register Data In Data Out Serial In / Serial Out Left-to-Right Data Out Data In Serial In / Serial Out Right-to-Left Data Out Data In The four most common types of shift registers. Some textbooks also discuss the parallel in / parallel out shift register. Some people, including this writer, don’t consider this a shift register because nothing is being shifted. Parallel In / Serial Out Data Out Data In Serial In / Parallel Out Project Lead The Way, Inc. Copyright 2009

Shift Register: Circuit (D) Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Shift Register: Circuit (D) A Serial In / Parallel Out shift register with D flip-flops. Project Lead The Way, Inc. Copyright 2009

Shift Register: Circuit (J/K) Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Shift Register: Circuit (J/K) A Serial In / Parallel Out shift register with J/K flip-flops. Project Lead The Way, Inc. Copyright 2009

Shift Register: Timing Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Shift Register: Timing D3 D2 D1 D0 Time diagram for the proceeding Serial In / Parallel Out shift registers. Data_In Clock Project Lead The Way, Inc. Copyright 2009

Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches MSI Shift Register 74LS194 (4-bit Bi-Directional Universal Shift Register) Parallel Inputs Serial Inputs Mode Control Parallel Outputs & Serial Outputs Clear & Clock Overview of commonly used MSI Shift Registers. This IC is very common because is can be used to implement a Serial In / Serial Out, a Parallel In / Serial Out, and Serial In / Parallel Out shift register. Project Lead The Way, Inc. Copyright 2009

74LS194 Shift Register: Circuit Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches 74LS194 Shift Register: Circuit Design example of a In / Parallel Out shift register using a 74LS194 IC. Project Lead The Way, Inc. Copyright 2009

74LS194 Shift Register: Timing Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches 74LS194 Shift Register: Timing Data_In X1 X2 X3 Time diagram for the preceding Serial In / Parallel Out shift register. X4 Clock Project Lead The Way, Inc. Copyright 2009