ECE2030 Introduction to Computer Engineering Lecture 14: Sequential Logic Circuits Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering.

Slides:



Advertisements
Similar presentations
Introduction to Sequential Logic Design Latches. 2 Terminology A bistable memory device is the generic term for the elements we are studying. Latches.
Advertisements

Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
1 Lecture 14 Memory storage elements  Latches  Flip-flops State Diagrams.
Give qualifications of instructors: DAP
Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
1 Fundamentals of Computer Science Sequential Circuits.
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
Computer Architecture CS 215
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Multiplexors Sequential Circuits and Finite State Machines Prof. Sin-Min Lee Department of Computer Science.
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.
ReturnNext  Latch : a sequential device that watches all of its inputs continuously and changes its outputs at any time, independent of a clocking signal.
Sequential Circuits : Part I Read Sections 5-1, 5-2, 5-3.
Digital Logic Design Brief introduction to Sequential Circuits and Latches.
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
Latches Section 4-2 Mano & Kime. Sequential Logic Combinational Logic –Output depends only on current input Sequential Logic –Output depends not only.
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.
A clocked synchronous state-machine changes state only when a triggering edge or “tick” occurs on the clock signal. ReturnNext  “State-machine”: is a.
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 23: Sequential Circuit Design (1/3) Prof. Sherief Reda Division of Engineering,
1 CSE370, Lecture 14 Lecture 14 u Logistics n Midterm 1: Average 90/100. Well done! n Midterm solutions online n HW5 due date delayed until this Friday.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
ECE2030 Introduction to Computer Engineering Lecture 15: Registers, Toggle Cells, Counters Prof. Hsien-Hsin Sean Lee School of Electrical and Computer.
Latches, Flip-Flops BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
1 Sequential Circuit Latch & Flip-flop. 2 Contents Introduction Memory Element Latch  SR latch  D latch Flip-flop  SR flip-flop  D flip-flop  JK.
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.
C HAPTER F IVE S YNCHRONOUS S EQUENTIAL L OGIC 1.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
Sequential Logic Combinatorial components: the output values are computed only from their present input values. Sequential components: their output values.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2007.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
Sequential Circuit Latch & Flip-flop. Contents Introduction Memory Element Latch  SR latch  D latch Flip-flop  SR flip-flop  D flip-flop  JK flip-flop.
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
ECE 301 – Digital Electronics Brief introduction to Sequential Circuits and Latches (Lecture #14)
ECE 331 – Digital System Design Introduction to Sequential Circuits and Latches (Lecture #16)
Computer Science 210 Computer Organization
Lecture 4. Sequential Logic #1
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
LATCHED, FLIP-FLOPS,AND TIMERS
Prof. Hsien-Hsin Sean Lee
Prof. Hsien-Hsin Sean Lee
Flip Flops.
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Synchronous Sequential Circuits
Computer Science 210 Computer Organization
Assistant Prof. Fareena Saqib Florida Institute of Technology
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Digital Logic Design Sequential Circuits (Chapter 6)
Sequential logic circuits
Jeremy R. Johnson Mon. Apr. 3, 2000
Computer Science 210 Computer Organization
Synchronous Sequential Circuits
Lecture 16 Logistics Last lecture Today HW5 out, due next wednesday
Reference: Chapter 5 Sequential Circuits Moris Mano 4th Ediditon
Lecture 16 Logistics Last lecture Today HW5 out, due next wednesday
Synchronous sequential
Synchronous Sequential
Flip-Flops.
Flip Flops Unit-4.
Lecture 14: State Tables, Diagrams, Latches, and Flip Flop
Chapter 5 Sequential Circuits.
CMPE212 Discussion 11/21/2014 Patrick Sykes
Presentation transcript:

ECE2030 Introduction to Computer Engineering Lecture 14: Sequential Logic Circuits Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Tech

2 Sequential Logic Circuits Sequential circuits –Combinational logic circuits –State information (stored in memory) Output is a function of inputs and present state Can be synchronous or asynchronous Combinational circuits inputs outputs Storage Element delay PresentStateNextState Controller by a periodic clock or an event trigger

3 State machine example A TV channel control CH 2 CH 3 CH

4 Sequential Logic Circuits Synchronous Circuits use clock pulse to synchronize For a typical synchronous design, data are latched into the storage upon clock transition (edge-triggered) Combinational circuits inputs outputs Storage Element PresentStateNextState clock

5 Closed-Loop Logic for Storing Information 1 0 A buffer Tpd

6 SR Latch S R Q QNQNQNQN

7 SRQQNQN 00QQ S Q QNQNQNQN R Reset Set Undefined No Change

8 SR Latch SRQQNQN QQ R Q QNQNQNQN S Reset Set Undefined No Change

9 SR Latch w/ Control CSRQQNQN 0XXQQ 100QQ Q QNQNQNQN R C S Reset Set Undefined No Change

10 Issue of an SR Latch or SR Latch S Q QNQNQNQN R S R SRQQNQN 00QQ Q QNQNQNQN Race, and Unstable

11 D Latch Q QNQNQNQN C D CDQQNQN 0XQQ

12 D Latch  Keeping Data for Read QQ

13 D D Latch  Writing Data D D QQ

14 10T D Latch w/ Transmission Gates D En En En QQ

15 10T D Latch w/ Transmission Gates D En=1 En QQD Writing DataD DEn

16 10T D Latch w/ Transmission Gates D_new En=0 En QQ Writing DataD DD En

17 D Latch Symbol D En QQ EnDQQ 0XNC NC: No Change

18 Latch is Transparent D Latch is called “transparent” or “level sensitive” Output follows input instantaneously En D QQ Transparent

19 Transparency Property D En Q Transparent Latch D En Q Storage Cell 0 D En Q Storage Cell 1 Latch acts like a Wire

20 Problem of Transparency A momentary input change tunnels through the latch and the entire circuitry What problem this can cause? D En Q TransparentLatch Other Logic Circuits

21 Problem of Transparency En TransparentLatch 1 DQD

22 Eliminating Transparency Separating the input and output, so they are independently controlled Only open one gate at a time to avoid tunneling En TransparentLatch DQ En TransparentLatch DQ

23 Behavior of Master-Slave Latches En DQ En DQ 1 0 Storage Cell Storage 0 Cell (0) En DQ En DQ 0 1 Storage 1 Cell (1) Storage Cell

24 Behavior of Master-Slave Latches En D1Q1 En D2Q2 En D1 (initialized to1) D1 Q1=D2 Q2 A Toggle Cell, will discuss more later

25 Behavior of Master-Slave Latches En D1Q1 En D2Q2 En D1(input) Q1=D2 Q2

26 Behavior of Master-Slave Latches En D1Q1 En D2Q2 En Q1=D2 Q2 D1(input)

27 Flip-Flop (F/F) D1Q1D2Q2 Enable (or clock) InputOutput Enable (or clock) InputOutput 1-bit Flip Flop

28 Negative Edge Triggered Flip-Flop D1Q1D2Q2 clock Input Q1=D2 Output Enable (or clock) InputOutput

29 Positive Edge Triggered Flip-Flop D1Q1D2Q2 clock Q1=D2 Enable (or clock) InputOutput Input Output

30 Positive Edge Triggered Flip-Flop D1Q1D2Q2 clock Q1=D2 Enable (or clock) InputOutput Input Output

31 Flip Flops Symbols D C Q Q D C Q Q Positive Edge Triggered D Flip Flop Negative Edge Triggered D Flip Flop

32 Dual-phase Non-overlapped Clocks In reality, enable control is not ideal Use dual phase clocks (  1 and  2) to replace Enable and its inversion 1111Q1=D2 Input Output 2222 D2 follows  1 while Output follows  2

33 Dual-Phase Non-overlapped Clocks D1Q1D2Q2 InputOutput InputOutput 1-bit Flip Flop 1111 2222 1111 2222