Flip-Flop Applications

Slides:



Advertisements
Similar presentations
Asynchronous Counter with MSI Gates
Advertisements

Flip-Flops, Registers, Counters, and a Simple Processor
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.
Registers and Counters
Flip-Flop Applications
Registers and Counters
Registers and Counters
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.
Rabie A. Ramadan Lecture 3
Sequential logic circuits
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
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.
SIGNAL TRAINING SCHOOL – BORDER SECIRITY FORCE - TIGRI
Sequential Logic An Overview
Principles & Applications
Dr. Clincy Professor of CS
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
REGISTER TRANSFER LANGUAGE (RTL)
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Synchronous Counter with MSI Gates
Flip-Flops and Related Devices
Asynchronous Counters with SSI Gates
Instructor: Alexander Stoytchev
EKT 221 – Counters.
Sequential Logic Counters and Registers
Flip-FLops and Latches
SLIDES FOR CHAPTER 12 REGISTERS AND COUNTERS
FIGURE 5.1 Block diagram of sequential circuit
Sequential Circuit: Counter
Asynchronous Inputs of a Flip-Flop
Malik Najmus Siraj Digital Logic Design Malik Najmus Siraj
D Flip-Flop.
Flip-FLops and Latches
Instructor: Alexander Stoytchev
DIGITAL ELECTRONICS THEME 7: Register structures – with parallel input, with serial input. Shift registers – reversible, cycle. Register structures are.
Flip-FLops and Latches
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.
Instructor: Alexander Stoytchev
Elec 2607 Digital Switching Circuits
Asynchronous Counters with SSI Gates
Flip-FLops and Latches
Flip-Flop Applications
COE 202: Digital Logic Design Sequential Circuits Part 4
Asynchronous Counter with MSI Gates
Synchronous Counters with MSI Gates
Flip-FLops and Latches
Lecture No. 24 Sequential Logic.
Synchronous Counters with MSI Gates
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Dr. Clincy Professor of CS
Principles & Applications
State Machine Design State Machine Design Digital Electronics
Combinational Logic - An Overview
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
Switching Theory and Logic Design Chapter 5:
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
Flip Flops Unit-4.
14 Digital Systems.
Flip-FLops and Latches
Registers and Counters
Instructor: Alexander Stoytchev
Counters.
Registers Today we’ll see some common sequential devices: counters and registers. They’re good examples of sequential analysis and design. They are also.
Sequential Digital Circuits
Week 11 Flip flop & Latches.
Combinational Logic - An Overview
State Machine Design State Machine Design Digital Electronics
Digital Electronics and Logic Design
Presentation transcript:

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

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

Flip-Flop Applications Event Detector Digital Electronics TM 3.1 Flip-Flops and Latches 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 Event Detect: Circuit Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches Event detector circuit with a D flip-flop. Project Lead The Way, Inc. Copyright 2009

Flip-Flop Applications Event Detect Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches 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 Data Synchronizer Digital Electronics TM 3.1 Flip-Flops and Latches 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 with a D flip-flop. Project Lead The Way, Inc. Copyright 2009

Data Synchronizer: Timing Flip-Flop Applications Data Synchronizer: Timing Digital Electronics TM 3.1 Flip-Flops and Latches 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 Shift Register Digital Electronics TM 3.1 Flip-Flops and Latches 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 Shift Register Digital Electronics TM 3.1 Flip-Flops and Latches 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. 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 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 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 D4 D3 D2 D1 Time diagram for the proceeding Serial In / Parallel Out shift registers. Data_In Clock Project Lead The Way, Inc. Copyright 2009

Flip-Flop Applications MSI Shift Register Flip-Flop Applications Digital Electronics TM 3.1 Flip-Flops and Latches 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 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 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