Prof. Hsien-Hsin Sean Lee

Slides:



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

Introduction to Sequential Logic Design Latches. 2 Terminology A bistable memory device is the generic term for the elements we are studying. Latches.
Give qualifications of instructors: DAP
1 Fundamentals of Computer Science Sequential Circuits.
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
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.
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.
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
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.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Digital Design: Sequential Logic Principles
Digital Design - Sequential Logic Design
Lecture 4. Sequential Logic #1
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
LATCHED, FLIP-FLOPS,AND TIMERS
Prof. Hsien-Hsin Sean Lee
Flip-FLops and Latches
Flip Flops.
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Synchronous Sequential Circuits
FLIP FLOPS.
Flip-Flop.
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
Flip Flop.
Flip-FLops and Latches
Assistant Prof. Fareena Saqib Florida Institute of Technology
Introduction to Sequential Logic Design
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Flip-FLops and Latches
Digital Logic Design Sequential Circuits (Chapter 6)
Sequential logic circuits
LECTURE 15 – DIGITAL ELECTRONICS
Jeremy R. Johnson Mon. Apr. 3, 2000
COMP541 Sequential Circuits
Flip-FLops and Latches
Flip-FLops and Latches
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.
Sequential Circuits UNIT- IV
Lecture 14: State Tables, Diagrams, Latches, and Flip Flop
Flip-FLops and Latches
Chapter 5 Sequential Circuits.
CMPE212 Discussion 11/21/2014 Patrick Sykes
Sequential Digital Circuits
Lecture 3: Timing & Sequential Circuits
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

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

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

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

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

SR Latch QN S Q R

SR Latch R Q QN S S R Q QN 1 Reset Set Undefined No Change

SR Latch S Q QN R S R Q QN 1 Reset Set Undefined No Change

SR Latch w/ Control S Q C QN R C S R Q QN X 1 Reset Set Undefined X 1 Reset Set Undefined No Change

Issue of an SR Latch or SR Latch Q QN 1 Q QN S S R Q Race, and Unstable QN

D Latch D Q C QN C D Q QN X 1

D Latch  Keeping Data for Read Q Q

D Latch  Writing Data D Q D Q

10T D Latch w/ Transmission Gates En En Q D Q En

10T D Latch w/ Transmission Gates En=1 En D Q D D Q D En Writing Data

10T D Latch w/ Transmission Gates En=0 En D Q D D_new Q D En Writing Data

D Latch Symbol En D Q X NC 1 D Q En Q NC: No Change

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

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

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

Problem of Transparency D Q D Transparent Latch En 1 En D Q Oscillating  Unstable Unstable

Eliminating Transparency D Q D Q Transparent Latch Transparent Latch En En Separating the input and output, so they are independently controlled Only open one gate at a time to avoid tunneling

Behavior of Master-Slave Latches D Q D Q Storage Cell Storage Cell (0) 1 En En D Q D Q Storage Cell (1) Storage Cell En En 1

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

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

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

Flip-Flop (F/F) D1 Q1 D2 Q2 1-bit Flip Flop Input Output Enable (or clock) 1-bit Flip Flop Input Output Enable (or clock)

Negative Edge Triggered Flip-Flop Input Output D1 Q1 D2 Q2 Enable (or clock) clock Input Q1=D2 Output

Positive Edge Triggered Flip-Flop Input Output D1 Q1 D2 Q2 Enable (or clock) clock Input Q1=D2 Output

Positive Edge Triggered Flip-Flop Input Output D1 Q1 D2 Q2 Enable (or clock) clock Input Q1=D2 Output

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

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 Q1=D2 Input Output 2 D2 follows 1 while Output follows 2

Dual-Phase Non-overlapped Clocks Input Output D1 Q1 D2 Q2 1 2 1-bit Flip Flop Input Output 1 2