Fundamentals of Computer Systems

Similar documents
Fundamentals of Computer Systems

Fundamentals of Computer Systems

Digital Circuits and Systems

Chapter 11 Latches and Flip-Flops

Basis of sequential circuits: the R-S latch

cascading flip-flops for proper operation clock skew Hardware description languages and sequential logic

3 Flip-Flops. The latch is a logic block that has 2 stable states (0) or (1). The RS latch can be forced to hold a 1 when the Set line is asserted.

Digital Logic & Computer Design CS Professor Dan Moldovan Spring Chapter 3 :: Sequential Logic Design

ECEN454 Digital Integrated Circuit Design. Sequential Circuits. Sequencing. Output depends on current inputs

Outline. CPE/EE 422/522 Advanced Logic Design L03. Review: Clocked D Flip-Flop with Rising-edge Trigger. Sequential Networks

Switching Circuits & Logic Design

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

Keeping The Clock Pure. Making The Impurities Digestible

Unit 11. Latches and Flip-Flops

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

Digital System Design

give sequence to events have memory (short-term) use feedback from output to input to store information

CPE/EE 427, CPE 527 VLSI Design I Sequential Circuits. Sequencing

Review of digital electronics. Storage units Sequential circuits Counters Shifters

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

Chapter 9. Timing Design. (Based on Chapter 7 and Chapter 8 of Wakerly) Data Path Comb. Logic. Reg. Reg. Reg C <= A + B

Sequential logic. Circuits with feedback. How to control feedback? Sequential circuits. Timing methodologies. Basic registers

More on Flip-Flops Digital Design and Computer Architecture: ARM Edition 2015 Chapter 3 <98> 98

Lecture 8: Sequential Logic

Synchronous Digital Logic Systems. Review of Digital Logic. Philosophy. Combinational Logic. A Full Adder. Combinational Logic

CHAPTER 11 LATCHES AND FLIP-FLOPS

6. Sequential Logic Flip-Flops

LATCHES & FLIP-FLOP. Chapter 7

Engr354: Digital Logic Circuits

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

Clocking Spring /18/05

Memory elements. Topics. Memory element terminology. Variations in memory elements. Clock terminology. Memory element parameters. clock.

COSC 243. Sequential Logic. COSC 243 (Computer Architecture) Lecture 5 - Sequential Logic 1

Logic Design. Flip Flops, Registers and Counters

! Two inverters form a static memory cell " Will hold value as long as it has power applied

Combinational / Sequential Logic

Sequential Logic. Sequential Circuits. ! Timing Methodologies " Cascading flip-flops for proper operation " Clock skew

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

12/31/2010. Overview. 12-Latches and Flip Flops Text: Unit 11. Sequential Circuits. Sequential Circuits. Feedback. Feedback

Chapter 5 Sequential Circuits

Sequential Circuit Design: Part 1

Lecture 11: Sequential Circuit Design

Sequential Circuits. Sequential Logic. Circuits with Feedback. Simplest Circuits with Feedback. Memory with Cross-coupled Gates.

UNIT 11 LATCHES AND FLIP-FLOPS

Switching Circuits & Logic Design

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

ALGORITHMS IN HW EECS150 ALGORITHMS IN HW. COMBINATIONAL vs. SEQUENTIAL. Sequential Circuits ALGORITHMS IN HW

CMOS Latches and Flip-Flops

Momentary Changes in Outputs. State Machine Signaling. Oscillatory Behavior. Hazards/Glitches. Types of Hazards. Static Hazards

D Latch (Transparent Latch)

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

Figure 1 shows a simple implementation of a clock switch, using an AND-OR type multiplexer logic.

Learning Outcomes. Unit 13. Sequential Logic BISTABLES, LATCHES, AND FLIP- FLOPS. I understand the difference between levelsensitive

ECE321 Electronics I

Digital Fundamentals

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

Sequential Circuits. Introduction to Digital Logic. Course Outline. Overview. Introduction to Digital Logic. Introduction to Sequential Circuits

6.S084 Tutorial Problems L05 Sequential Circuits

Lecture 21: Sequential Circuits. Review: Timing Definitions

Chapter 3 Unit Combinational

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

Digital Fundamentals 11/2/2017. Summary. Summary. Floyd. Chapter 7. Latches

Traversing Digital Design. EECS Components and Design Techniques for Digital Systems. Lec 22 Sequential Logic - Advanced

Clocks. Sequential Logic. A clock is a free-running signal with a cycle time.

CHAPTER 1 LATCHES & FLIP-FLOPS

ECE 25 Introduction to Digital Design. Chapter 5 Sequential Circuits ( ) Part 1 Storage Elements and Sequential Circuit Analysis

Sequential Circuit Design: Principle

INTRODUCTION TO SEQUENTIAL CIRCUITS

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

Software Engineering 2DA4. Slides 9: Asynchronous Sequential Circuits

EE141-Fall 2010 Digital Integrated Circuits. Announcements. Homework #8 due next Tuesday. Project Phase 3 plan due this Sat.

Chapter 6. sequential logic design. This is the beginning of the second part of this course, sequential logic.

Page 1. Some Definitions. Chapter 3: Sequential Logic. Sequential Logic. The Combinational Logic Unit. A NOR Gate with a Lumped Delay

Digital Phase Adjustment Scheme 0 6/3/98, Chaney. A Digital Phase Adjustment Circuit for ATM and ATM- like Data Formats. by Thomas J.

Lec 24 Sequential Logic Revisited Sequential Circuit Design and Timing

Sequential Circuit Design: Part 1

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Chapter 5 Sequential Systems. Introduction

Chapter 9. Timing Design. (Based on Chapter 7 and Chapter 8 of Wakerly)

Sequential Logic Counters and Registers

Introduction to Sequential Circuits

Chapter 7 Sequential Circuits

Last time, we saw how latches can be used as memory in a circuit

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

ASYNCHRONOUS SEQUENTIAL CIRCUIT CONCEPTS

EE141-Fall 2010 Digital Integrated Circuits. Announcements. Synchronous Timing. Latch Parameters. Class Material. Homework #8 due next Tuesday

Sequential Circuits: Latches & Flip-Flops

ECE 3401 Lecture 12. Sequential Circuits (II)

ENGR 303 Introduction to Logic Design Lecture 10. Dr. Chuck Brown Engineering and Computer Information Science Folsom Lake College

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

Introduction to Digital Logic Missouri S&T University CPE 2210 Flip-Flops

Chapter 5 Sequential Circuits

EEE2135 Digital Logic Design Chapter 6. Latches/Flip-Flops and Registers/Counters 서강대학교 전자공학과

RS flip-flop using NOR gate

Outline. CPE/EE 422/522 Advanced Logic Design L04. Review: 8421 BCD to Excess3 BCD Code Converter. Review: Mealy Sequential Networks

11. Sequential Elements

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

Digital Fundamentals: A Systems Approach

Experiment 8 Introduction to Latches and Flip-Flops and registers

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

Transcription:

Fundamentals of omputer Systems Sequential Logic Martha A. Kim olumbia University Spring 2016 1/1

2/1

Bistable Elements Equivalent circuits; right is more traditional. Two stable states: 0 1 1 0 3/1

S Latch S S S 0 0 0 1 1 0 1 1 4/1

S Latch 0 1 S S 1 0 S 0 0 0 1 1 0 Set ( = 1) 1 0 1 1 4/1

S Latch 1 0 S S 0 1 S 0 0 0 1 1 0 Set ( = 1) 1 0 0 1 eset ( = 0) 1 1 4/1

S Latch 0 (0 + )= S S 0 (0 + )= S 0 0 Hold previous value 0 1 1 0 Set ( = 1) 1 0 0 1 eset ( = 0) 1 1 4/1

S Latch 1 0 S S 1 0 S 0 0 Hold previous value 0 1 1 0 Set ( = 1) 1 0 0 1 eset ( = 0) 1 1 0 0 Bad. o not use. 4/1

S Latch S S S 0 0 1 1 Bad. o not use. 0 1 0 1 eset ( = 0) 1 0 1 0 Set ( = 1) 1 1 Hold previous value 5/1

Latch 0 X 1 0 0 1 1 1 1 0 6/1

A hallenge: Build a traffic light controller Want the lights to cycle green-yellow-red. Y G oes this work? 7/1

8/1

8/1

8/1

8/1

8/1

8/1

8/1

9/1

9/1

9/1

9/1

9/1

Positive-Edge-Triggered Flip-Flop M Master S Slave M 0 S transparent opaque 10 / 1

Positive-Edge-Triggered Flip-Flop M Master S Slave M 0 S transparent opaque 10 / 1

Positive-Edge-Triggered Flip-Flop M Master S Slave M 0 S transparent opaque opaque transparent 10 / 1

Positive-Edge-Triggered Flip-Flop M Master S Slave M 0 S transparent opaque opaque transparent 10 / 1

Positive-Edge-Triggered Flip-Flop M Master S Slave M transparent opaque transparent 0 S opaque transparent opaque 10 / 1

Positive-Edge-Triggered Flip-Flop M Master S Slave M transparent opaque transparent opaque 0 S opaque transparent opaque transparent 10 / 1

The Traffic Light ontroller: A second try Let s try this again with flip-flops. Y G Y G 11 / 1

The Traffic Light ontroller: A second try Let s try this again with flip-flops. Y G Y G 11 / 1

The Traffic Light ontroller: A second try Let s try this again with flip-flops. Y G Y G 11 / 1

The Traffic Light ontroller: A second try Let s try this again with flip-flops. Y G Y G 11 / 1

The Traffic Light ontroller: A second try Let s try this again with flip-flops. Y G Y G 11 / 1

The Traffic Light ontroller with eset ESET Y G ESET Y G 12 / 1

The Traffic Light ontroller with eset ESET Y G ESET Y G 12 / 1

The Traffic Light ontroller with eset ESET Y G ESET Y G 12 / 1

The Traffic Light ontroller with eset ESET Y G ESET Y G 12 / 1

The Traffic Light ontroller with eset ESET Y G ESET Y G 12 / 1

The Traffic Light ontroller with eset ESET Y G ESET Y G 12 / 1

Flip-Flop with Enable 0 1 E E " 0 X " 1 0 0 " 1 1 1 0 X X 1 X X E What s wrong with this solution? 13 / 1

Asynchronous Preset/lear PE L PE L 14 / 1

The Traffic Light ontroller w/ Async. eset ESET PE L PE L Y PE L G 15 / 1

The Synchronous igital Logic Paradigm Gates and flip-flops only INPUTS OUTPUTS Each flip-flop driven by the same clock STATE L Every cyclic path contains at least one flip-flop LOK NEXT STATE 16 / 1

ool Sequential ircuits: Shift egisters A 0 1 2 3 A 0 1 2 3 0 X X X X 1 0 X X X 1 1 0 X X 0 1 1 0 X 1 0 1 1 0 0 1 0 1 1 0 0 1 0 1 0 0 0 1 0 1 0 0 0 1 0 1 0 0 0 17 / 1

Universal Shift egister L 3 2 0 0 1 0 3 2 1 1 1 0 3 2 2 2 1 0 3 2 3 3 1 0 S 1 S0 S 1 S 0 3 2 1 0 0 0 3 2 1 0 1 3 2 1 0 1 0 3 2 1 0 1 1 2 1 0 L S 1 S 0 Operation 0 0 Shift right 0 1 Load 1 0 Hold 1 1 Shift left 18 / 1

ool Sequential ircuits: ounters ycle through sequences of numbers, e.g., 00 01 10 11 19 / 1

Flip-Flop Timing Setup Time: Time before the clock edge after which the data may not change t su 20 / 1

Flip-Flop Timing Setup Time: Time before the clock edge after which the data may not change Hold Time: Time after the clock edge after which the data may change t su t h 20 / 1

Flip-Flop Timing Setup Time: Time before the clock edge after which the data may not change Hold Time: Time after the clock edge after which the data may change t su t h Minimum Propagation elay: Time from clock edge to when might start changing t p(min) 20 / 1

Flip-Flop Timing Setup Time: Time before the clock edge after which the data may not change Hold Time: Time after the clock edge after which the data may change t su t h Minimum Propagation elay: Time from clock edge to when might start changing t p(min) t p(max) Maximum Propagation elay: Time from clock edge to when guaranteed stable 20 / 1

Timing in Synchronous ircuits L t c t c : lock period. E.g., 10 ns for a 100 MHz clock 21 / 1

Timing in Synchronous ircuits L Sufficient Hold Time? t p(min,ff) t p(min,l) Hold time constraint: how soon after the clock edge is liable to start changing? Min. FF delay + min. logic delay 21 / 1

Timing in Synchronous ircuits L t p(max,ff) Sufficient Setup Time? t p(max,l) Setup time constraint: when before the clock edge is guaranteed to have stabilized? Max. FF delay + max. logic delay 21 / 1

lock Skew: What eally Happens L 1 2 Sufficient Hold Time? 1 2 t skew t p(min,ff) t p(min,l) 2 arrives late, creating potential hold time violation 22 / 1

lock Skew: What eally Happens L 1 2 Sufficient Setup Time? 1 2 t skew t p(max,ff) t p(max,l) 2 arrives early, creating potential setup time violation 22 / 1