Module 12.  In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the.

Slides:



Advertisements
Similar presentations
Changes in input values are reflected immediately (subject to the speed of light and electrical delays) on the outputs Each gate has an associated “electrical.
Advertisements

Sequential Logic ENEL 111. Sequential Logic Circuits So far we have only considered circuits where the output is purely a function of the inputs With.
EE 5900 Advanced Algorithms for Robust VLSI CAD, Spring 2009 Sequential Circuits.
Give qualifications of instructors: DAP
COE 202: Digital Logic Design Sequential Circuits Part 1 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM.
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
1 Fundamentals of Computer Science Sequential Circuits.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
Computer Architecture CS 215
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 Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Sequential circuits The digital circuits considered thus far have been combinational, where the outputs are entirely dependent on the current inputs. Although.
Circuits require memory to store intermediate data
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 1 – Storage.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
The Map Method Boolean expressions may be simplified by algebraic means as discussed in Previous lecture However, this procedure of minimization is awkward.
EECC341 - Shaaban #1 Lec # 13 Winter Sequential Logic Circuits Unlike combinational logic circuits, the output of sequential logic circuits.
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.
Sequential Circuits. 2 Sequential vs. Combinational Combinational Logic:  Output depends only on current input −TV channel selector (0-9) Sequential.
EE 4271 VLSI Design, Fall 2010 Sequential Circuits.
So far, all of the logic circuits we have studied were basically based on the analysis and design of combinational digital circuits. The other major aspect.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Digital Logic Design CHAPTER 5 Sequential Logic. 2 Sequential Circuits Combinational circuits – The outputs are entirely dependent on the current inputs.
Digital Computer Design Fundamental
COE 202: Digital Logic Design Sequential Circuits Part 1
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
Synchronous Sequential Logic Chapter 5. Digital Circuits Sequential Circuits Combinational circuits contains no memory elements the outputs depends.
Chap 4. Sequential Circuits
C HAPTER F IVE S YNCHRONOUS S EQUENTIAL L OGIC 1.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
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.
1 Synchronous Sequential Logic Sequential Circuits Every digital system is likely to have combinational circuits, most systems encountered in practice.
LECTURE IX CH 5 LATCHES AND FLIP-FLOPS. Sequential logic circuits by definition progressive from one logic state to the next. In order for this to occur,
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 Logic Part I
5 Chapter Synchronous Sequential Circuits 1. Logic Circuits- Review 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates.
Sahar Mosleh PageCalifornia State University San Marcos 1 More on Flip Flop State Table and State Diagram.
Chapter5: Synchronous Sequential Logic – Part 1
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
CENG 241 Digital Design 1 Lecture 7 Amirali Baniasadi
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
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.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
2018/5/2 EE 4271 VLSI Design, Fall 2016 Sequential Circuits.
LATCHED, FLIP-FLOPS,AND TIMERS
2018/8/29 EE 4271 VLSI Design, Fall 2013 Sequential Circuits.
Synchronous Sequential Circuits
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
Flip Flop.
ECE Digital logic Lecture 16: Synchronous Sequential Logic
LECTURE 15 – DIGITAL ELECTRONICS
Synchronous Sequential Circuits
FLIP-FLOPS.
Synchronous sequential
Synchronous Sequential
Flip-Flops.
Sequential Circuits UNIT- IV
2019/9/26 EE 4271 VLSI Design, Fall 2012 Sequential Circuits.
Presentation transcript:

Module 12

 In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the current inputs.  The following topics will be on sequential logic circuits, whereby in addition to the external inputs, the circuits also receives data from the the present state of the storage elements.

 A sequential circuit consists of a combinational circuit with a storage elements connected to form a feedback path.  The storage elements are devices capable of storing binary information.  The binary information that stored in these elements at any given time defines the state of the sequential circuit at that time. Combinational circuit Memory element InputsOutputs

 Two main types of sequential circuit (where classification depends on the timing of signals): A synchronous sequential circuit - a system whose behavior can be defined from the knowledge of its signals at discrete instants of time. Synchronization is achieved by a timing device called a clock generator which provide a clock signal having the from of a periodic train of clock pulses. An asynchronous sequential circuit - a system whose behavior depends upon the input signals at any instant of time and the order in which the inputs change. There is no clock in this circuit and thus, the signal changes are run freely and depend on signal order in the circuit.

 The storage element in synchronous sequential circuit is called flip-flop :- a binary storage device capable of storing one bit binary data.  A flip-flop receives inputs from the combinational circuit and from a clock.  Flip-flops are constructed by latches.  Flip-flop remains its state as long as it is powered.

 Latches are device that constructed by basic logic gates to store a single bit of binary data.  Flip-flops are constructed by latches.  Function table (or characteristics table) describes the properties or characteristics of latches / flip flops.  There are various kind of latches, we shall cover: SR latch SR latch with control input D latch

 The SR latch is a circuit with 2 cross-coupled NOR gates. It has 2 inputs labeled S (Set) and R (Reset).

 Characteristics: Set State: when output Q = 1 and Q’ = 0 (S=1, R=0) Reset State: when output Q = 0, Q’ = 1 (S=0, R=1) Output Q and Q’ is complement to each other. Under normal condition, both inputs of SR latch remain at 0 (S = 0 & R = 0), unless the state has to be change. If both inputs are 1 (S = 1 & R = 1), the output is Q = 0, Q’ = 0 which regards as an undefined state. Before any state change, the both SR latch inputs must be set to 0 (to avoid the occurrence of undefined state). After set or reset state, the output will remain unchanged even though the input is removed (return to 0).

 The characteristics of SR latch are the opposite to SR latch (some references may refer them with the same name, does not matter…)  It is a circuit with 2 cross-coupled NAND gates instead of 2 NOR gates.

 The operation of basic SR latch can be modified to determine when the state of the latch can be changed by adding a control input.

 The control C acts like an input to the other 2 inputs. The circuit functions only when C = 1 and remain the output as it is when C = 0.  Characteristics: Set State: when output Q = 1 and Q’ = 0 (C=1, S=1, R=0) Reset State: when output Q = 0, Q’ = 1 (C=1, S=0, R=1) Remain unchanged: C = 0 An indeterminate condition occurs when all 3 inputs are equal to 1.

 D (Delay) latch is designed to eliminate the indeterminate condition in the SR latch.  D latch ensures that inputs S and R are never equal to 1 at the same time.  S = D, R = D, thus R ≠ S.

 The graphical symbol for various latches is shown below.  The bubble indicates the complement input/output. SR latch SR latch D latch

 The state of a flip-flop is switched by a momentary change in clock signal that acts as a control input that triggers.  3 types of trigger signal: Positive level trigger Positive edge trigger Negative edge trigger

 Positive level trigger: Allows changes in the output when the input changes while the clock pulse stays at logic ‘1’ Problem: if more than 1 changes happen at the input signal and output will keep on changing following the input signal as long as the trigger signal still stay in positive level, thus causing confusion  Edge trigger: Preferred solution to avoid confusion. Edge trigger can be positive (during ‘0’ to ‘1’ transition) or negative (during ‘1’ to ‘0’ transition) In this Module, we use different D-flip flop implementations to demonstrate the example of positive and negative edge flip flops.

 D flip-flop can be constructed with two D-latches.  Properties: When CLK is 1, master D latch is enabled but slave D latch is disabled. Input (D) will be transferred to Y. When CLK is 0, slave D latch is enabled but master D latch is disabled. Data (Y) will be transferred to Q. Thus, changes in output occur only during transition from ‘1’ to ‘0’ (negative edge trigger D flip-flop).

 D flip flop can also be constructed using three NAND coupled SR latches.  Properties: When CLK is 0, (regardless of D) both S and R remains 1, thus Q and Q’ remains at the previous state (no changes) When CLK is 1, if D = 1, then S = 0, R = 1, thus Q = 1, Q’ = 0 When CLK is 1, if D = 0, then S = 1, R = 0, thus Q = 0, Q’ = 1 Thus, changes in output occur only during transition from ‘0’ to ‘1’ (positive edge trigger D flip-flop).

 The graphical symbol for different edge triggered D flip-flops is shown below.  The bubble indicates the complement input/output.  The arrowhead symbol in front of C indicates that the flip-flop responds to edge triggering + edge triggered D flip flop - edge triggered D flip flop

End of Module 12