1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.

Slides:



Advertisements
Similar presentations
EE 5900 Advanced Algorithms for Robust VLSI CAD, Spring 2009 Sequential Circuits.
Advertisements

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,
Computer Architecture CS 215
Flip-Flops, Registers, Counters, and a Simple Processor
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.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 6 – Part 1.
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.
Sequential logic circuits. 2 Outline Sequential Circuit Models –Asynchronous –Synchronous Latches Flip-Flops.
Overview Part 1 - Storage Elements and Analysis
Overview Part 1 - Storage Elements and Analysis
1 CS 151: Digital Design Chapter 5: Sequential Circuits 5-3: Flip-Flops I.
CPEN Digital System Design Chapter 5 Sequential Circuits Storage Elements and Sequential Circuit Analysis C. Gerousis © Logic and Computer Design.
Logical Circuit Design Week 11: Sequential Logic Circuits Mentor Hamiti, MSc Office ,
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Logic and Computer.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 1 – Storage.
Digital Logic Design Lecture 22. Announcements Homework 7 due today Homework 8 on course webpage, due 11/20. Recitation quiz on Monday on material from.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Chapter 10 Flip-Flops and Registers Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. William Kleitz.
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.
EECC341 - Shaaban #1 Lec # 13 Winter Sequential Logic Circuits Unlike combinational logic circuits, the output of sequential logic circuits.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 1 – Storage.
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.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
Digital Computer Design Fundamental
COE 202: Digital Logic Design Sequential Circuits Part 1
Flip Flop
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
Unit 11 Latches and Flip-Flops Fundamentals of Logic Design By Roth and Kinney.
CS 151: Digital Design Chapter 5: Sequential Circuits 5-3: Flip-Flops II.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 11 Binary Adder/Subtractor.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS 352: Digital Systems.
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.
Sequential logic circuits
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 Logic Part I
5 Chapter Synchronous Sequential Circuits 1. Logic Circuits- Review 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates.
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.
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.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
CENG 241 Digital Design 1 Lecture 7 Amirali Baniasadi
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Synchronous Sequential Circuits
EKT 121 / 4 DIGITAL ELECTRONICS I
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Sequential logic circuits
Synchronous Sequential Circuits
FLIP-FLOPS.
Synchronous sequential
Synchronous Sequential
Binary Adder/Subtractor
Presentation transcript:

1

2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs. Performs an operation that can be specified by a set of Boolean functions. Employ storage elements in addition to logic gates. Outputs are a function of the inputs and the state of the storage elements. Output depend on present value of input + past input.

3  Storage Elements and Analysis ◦ Introduction to sequential circuits ◦ Types of sequential circuits ◦ Storage elements  Latches  Flip-flops ◦ Sequential circuit analysis  State tables  State diagrams

4  A Sequential circuit contains: ◦ Storage elements: Latches or Flip-Flops ◦ Combinatorial Logic:  Implements a multiple-output switching function  Inputs are signals from the outside.  Outputs are signals to the outside.  Other inputs, State or Present State, are signals from storage elements.  The remaining outputs, Next State are inputs to storage elements. Combinational Logic Storage Elements Inputs Outputs State Next State

5  Sequential Logic ◦ Output function Outputs = g(Inputs, State) ◦ Next state function Next State = f(Inputs, State) Combina- tional Logic Storage Elements Inputs Outputs State Next State

6  Depends on the times at which: ◦ storage elements observe their inputs, and ◦ storage elements change their state  Synchronous ◦ Behavior defined from knowledge of its signals at discrete instances of time ◦ Storage elements observe inputs and can change state only in relation to a timing signal (clock pulses from a clock)  Asynchronous ◦ Behavior defined from knowledge of inputs at any instant of time and the order in continuous time in which inputs change ◦ If clock just regarded as another input, all circuits are asynchronous!

7  Storage elements  Maintain a binary state (0 or 1) indefinitely as long as power is delivered to the circuit  Switch states (0  1 or 1  0) when directed by an input signal  Most basic storage element  Used mainly to construct Flip-Flops  Asynchronous storage circuit  Types of latches: ◦ SR Latches ◦ S`R` Latches ◦ D Latches X = X

8  Cross-coupling two NOR gates gives the S – R Latch: S (set) R (reset) Q Q SRQQ’COMMENTS 00??Undefined state 1010Set 0010After S=1,R=0 0101Reset 0001After S=0,R=1 1100forbidden 00??Undefined state

9  “Cross-Coupling” two NAND gates gives the S -R Latch: Q S (set) R (reset) Q SRQQ’COMMENTS 11??Undefined state 1001set 1101After S=1,R=0 0110reset 1110After S=0,R=1 0011forbidden 11??Undefined state

10  Adding two NAND gates to the basic S - R NAND latch gives the clocked S – R latch:  Has a time sequence behavior similar to the basic S-R latch except that the S and R inputs are only observed when the line C is high.  C means “control” or “clock”. S R Q C Q 1 1 S` R`

11  Adding an inverter to the S-R Latch, gives the D Latch:  Note that there are no “indeterminate” states! Q D Q(t+1) Comment No change Set Q Clear Q No Change C D Q Q D Q C Q

12 C D Q Q R Q Q R S Q Q S SR S’R’ D

13 Chapter 5: Sequential Circuits 5.4: Flip-Flops

14  The latch timing problem  Master-slave flip-flop  Edge-triggered flip-flop  Other flip-flops - JK flip-flop - T flip-flop

15  In a sequential circuit, paths may exist through combinational logic: ◦ From one storage element to another ◦ From a storage element back to the same storage element  The combinational logic between a latch output and a latch input may be as simple as an interconnect  For a clocked D-latch, the output Q depends on the input D whenever the clock input C has value 1

16  Consider the following circuit:  Suppose that initially Y = 0.  As long as C = 1, the value of Y continues to change!  The changes are based on the delay present on the loop through the connection from Y back to Y.  This behavior is clearly unacceptable.  Desired behavior: Y changes only once per clock pulse Clock Y C D Q Q Y

17  A solution to the latch timing problem is to break the closed path from Y to Y within the storage element  The commonly-used, path-breaking solutions replace the clocked D-latch with: ◦ a master-slave flip-flop ◦ an edge-triggered flip-flop

18  Consists of two clocked D latches in series with the clock on the second latch inverted  The input is observed by the first latch with C = 1  The output is changed by the second latch with C = 0  The path from input to output is broken by the difference in clocking values (C = 1 and C = 0).  The behavior demonstrated by the example with D driven by Y given previously is prevented since the clock must change from 1 to 0 before a change in Y based on D can occur. C D Q C C D Q D Master Slave Y

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34