LAB 7. Latches & Flip Flops

Similar documents
Other Flip-Flops. Lecture 27 1

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

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

Unit 11. Latches and Flip-Flops

Chapter. Synchronous Sequential Circuits

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

CHAPTER 11 LATCHES AND FLIP-FLOPS

Synchronous Sequential Logic

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

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

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

ELCT201: DIGITAL LOGIC DESIGN

RS flip-flop using NOR gate

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

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

ELCT201: DIGITAL LOGIC DESIGN

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

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

CHAPTER 4: Logic Circuits

CHAPTER 4: Logic Circuits

Rangkaian Sekuensial. Flip-flop

LAB #4 SEQUENTIAL LOGIC CIRCUIT

RS flip-flop using NOR gate

Part II. Chapter2: Synchronous Sequential Logic

MC9211 Computer Organization

Lecture 8: Sequential Logic

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

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

Asynchronous (Ripple) Counters

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

ELE2120 Digital Circuits and Systems. Tutorial Note 8

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

LATCHES & FLIP-FLOP. Chapter 7

Sequential Logic Circuits

Introduction to Sequential Circuits

ELE2120 Digital Circuits and Systems. Tutorial Note 7

AIM: To study and verify the truth table of logic gates

Logic Design. Flip Flops, Registers and Counters

Sequential Logic and Clocked Circuits

Flip-Flops and Registers

Chapter 8 Sequential Circuits

DIGITAL CIRCUIT LOGIC UNIT 11: SEQUENTIAL CIRCUITS (LATCHES AND FLIP-FLOPS)

Flip-Flops and Sequential Circuit Design

DIGITAL CIRCUIT COMBINATORIAL LOGIC

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

B.Tech CSE Sem. 3 15CS202 DIGITAL SYSTEM DESIGN (Regulations 2015) UNIT -IV

Introduction to Microprocessor & Digital Logic

Lecture 11: Synchronous Sequential Logic

Latches, Flip-Flops, and Registers. Dr. Ouiem Bchir

CHAPTER 1 LATCHES & FLIP-FLOPS

Chapter 5 Synchronous Sequential Logic

INC 253 Digital and electronics laboratory I

CPS311 Lecture: Sequential Circuits

Experiment 8 Introduction to Latches and Flip-Flops and registers

Chapter 5 Sequential Circuits

Chapter 4. Logic Design

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

Sequential Design Basics

Module -5 Sequential Logic Design

Counter dan Register

CHAPTER1: Digital Logic Circuits

Chapter 1: Switching Algebra Chapter 2: Logical Levels, Timing & Delays. Introduction to latches Chapter 9: Binary Arithmetic

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

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

INTRODUCTION TO SEQUENTIAL CIRCUITS

Sequential Circuits: Latches & Flip-Flops

EE292: Fundamentals of ECE

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

Synchronous Sequential Logic. Chapter 5

Vignana Bharathi Institute of Technology UNIT 4 DLD

Sequential Circuits. Output depends only and immediately on the inputs Have no memory (dependence on past values of the inputs)

Chapter 5: Synchronous Sequential Logic

REPEAT EXAMINATIONS 2002

Engr354: Digital Logic Circuits

EET2411 DIGITAL ELECTRONICS

UNIT IV. Sequential circuit

Synchronous Sequential Logic

Chapter 2. Digital Circuits

1.b. Realize a 5-input NOR function using 2-input NOR gates only.

First published October, Online Edition available at For reprints, please contact us at

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

Digital Logic Design I

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

Synchronous Sequential Logic

To design a sequential logic circuit using D-Flip-flop. To implement the designed circuit.

D Latch (Transparent Latch)

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

Chapter 5 Synchronous Sequential Logic

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

ECE 331 Digital System Design

Synchronous Sequential Logic

ECE 301 Digital Electronics

Combinational vs Sequential

Module 4:FLIP-FLOP. Quote of the day. Never think you are nothing, never think you are everything, but think you are something and achieve anything.

Digital Circuits ECS 371

Multiplexor (aka MUX) An example, yet VERY useful circuit!

Logic. Andrew Mark Allen March 4, 2012

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

ECE 341. Lecture # 2

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

Transcription:

بسام عب د الكريم جاد هللا النبريص Bass am Ak J Alnabr iss Islamic University of Gaza Faculty of Engineering Computer Engineering Dept. Digital Design Lab : ECOM 2112 Fall 2016 Eng. Bassam Nabriss LAB 7 Latches & Flip Flops 11/11/2016

Objectives Become familiar with flip-flops. Implement and observe the operation of different flip-flops Theory Sequential Circuits Digital electronics is classified into combinational logic and sequential logic. Combinational logic output depends on the inputs levels, whereas sequential logic output depends on stored levels and also the input levels. The memory elements are devices capable of storing binary info. The binary info stored in the memory elements at any given time defines the state of the sequential circuit. The input and the present state of the memory element determine the output. Examples on sequential circuits are Flip-Flops, latches, counters, registers, and time state generators. There are two types of sequential circuits. Their classification depends on the timing of their signals: Synchronous sequential circuits: is achieved by a timing device called a clock pulse generator. Clock pulses are distributed throughout the system in such a way that the flipflops are affected only with the arrival of the synchronization pulse. Synchronous sequential circuits that use clock pulses in the inputs are called clocked-sequential circuits They are stable and their timing can easily be broken down into independent discrete steps, each of which is considered separately Asynchronous sequential circuits: The behavior of an asynchronous circuit depends on the order in which the inputs change. Sometimes, there is an input labeled clock, that provides some level of synchronization, but it is normally only applied to one flip-flop. In addition to this style of asynchronous circuit, you also get gate-level asynchronous circuits, which are combinatorial circuits with feedback Where the tringle in the block means input for clocks and work on rising edge, and if it was followed by circle it means that the clock works on falling edge. 1

Flip-Flops and Latches Rising Edge Falling Edge Active high Active low Flip-Flop Flip-Flop Latch Latch There are several types of flip-flops and they are S-R, J-K, D and T flip-flops, but the two most important kinds are the D and J-K flip-flops. The difference between latches and flip-flops is that the latches output essentially responds immediately to changes on the input lines where the flip-flop output is designed to change at the edge of a controlling clock signal (rising or falling). S-R latch is the first type of latches, you can implement it using NAND, or using NOR gates. Use the KL 33002 and implement the following figure, and put the following sequence for the inputs S-R, (0,0) (0,1) (1,1) (1,0) (1,1) and each case read the output Q and Q`, What you note? Types of flip flops Symbol SR JK D T Characteristic table S R Q t 0 0 Q t-1 0 1 0 1 1 X J K Q t 0 0 Q t-1 0 1 0 1 1 Q t-1` Equation Q t = S + R`Q t-1 Q t = JQ t-1` + K`Q t-1 D Q t 0 0 1 1 Q t = D T Q t 0 Q t-1 1 Q t-1` Q t = TQ t-1` + T`Q t-1 Excitation table Q t Q t-1 S R 0 0 0 x 0 0 1 1 x 0 Q t Q t-1 J K 0 0 0 x 0 1 x 1 x 1 1 x 0 Q t Q t-1 D 0 0 0 0 1 0 1 1 1 Q t Q t-1 T 0 0 0 0 1 1 1 1 0 2

Example 1, Timing diagram for the positive edge triggered D flip-flop: Timing diagram for the D latch The timing diagram for the negative and postive triggered JK flip-flop The timing diagram for the positive triggered T flip-flop 3

Example 2, 1) Convert a D-FF to a T-FF: Method A: by thinking, we want to find inverse if input is 1, and work as buffer if the input is 0, you get it? The XOR gate? the second Method is from excitation table, the system has T and Q t-1 as inputs, and has the output the D, the excitation table will be Q t Q t-1 T D 0 0 0 0 0 1 1 0 1 1 Now you should deal with D as output and Q t-1 with T as inputs, so D = Q t-1 T 2) Convert a D-FF to a JK-FF the system has J, K and Q t-1 as inputs and D as output Q t Q t-1 J K D 0 0 0 x 0 0 1 x 1 0 x 1 1 1 x 0 1 Using K-map, you will get that D = JQ t-1 ` + K`Q t-1 LAB work Construct A JK flip-flop Think, how you will construct a T flip-flop and D flip-flop 4

Exercises 1- Convert a RS-FF to a JK-FF. 2- Convert a RS-FF to a D-FF. 5