Engr354: Digital Logic Circuits

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

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

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

Logic Design. Flip Flops, Registers and Counters

Chapter 11 Latches and Flip-Flops

Unit 11. Latches and Flip-Flops

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

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

ELCT201: DIGITAL LOGIC DESIGN

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

6. Sequential Logic Flip-Flops

ELCT201: DIGITAL LOGIC DESIGN

LATCHES & FLIP-FLOP. Chapter 7

INTRODUCTION TO SEQUENTIAL CIRCUITS

Digital Circuits ECS 371

ECE 341. Lecture # 2

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

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Chapter. Synchronous Sequential Circuits

Flip-Flops and Sequential Circuit Design

CSE140: Components and Design Techniques for Digital Systems. More D-Flip-Flops. Tajana Simunic Rosing. Sources: TSR, Katz, Boriello & Vahid

D Latch (Transparent Latch)

Sequential Circuits: Latches & Flip-Flops

Other Flip-Flops. Lecture 27 1

RS flip-flop using NOR gate

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

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

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

Introduction to Sequential Circuits

CprE 281: Digital Logic

Digital Fundamentals

Sequential Design Basics

RS flip-flop using NOR gate

CMSC 313 Preview Slides

LAB #4 SEQUENTIAL LOGIC CIRCUIT

Sequential Logic Circuits

ELE2120 Digital Circuits and Systems. Tutorial Note 7

Spring 2017 EE 3613: Computer Organization Chapter 5: The Processor: Datapath & Control - 1

Synchronous Sequential Logic

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.

CHAPTER1: Digital Logic Circuits

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

Experiment 8 Introduction to Latches and Flip-Flops and registers

CprE 281: Digital Logic

ECE 545 Digital System Design with VHDL Lecture 2. Digital Logic Refresher Part B Sequential Logic Building Blocks

CHAPTER 1 LATCHES & FLIP-FLOPS

Digital Fundamentals: A Systems Approach

Switching Circuits & Logic Design

Latches, Flip-Flops, and Registers. Dr. Ouiem Bchir

Chapter 5 Synchronous Sequential Logic

CprE 281: Digital Logic

Digital Logic Design I

Chapter 8 Sequential Circuits

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

Digital Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

Switching Circuits & Logic Design

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

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

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).

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

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

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

Rangkaian Sekuensial. Flip-flop

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

Lecture 8: Sequential Logic

Synchronous Sequential Logic. Chapter 5

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

MUX AND FLIPFLOPS/LATCHES

EET2411 DIGITAL ELECTRONICS

Review of Flip-Flop. Divya Aggarwal. Student, Department of Physics and Astro-Physics, University of Delhi, New Delhi. their state.

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states.

ECE 545 Digital System Design with VHDL Lecture 1B. Digital Logic Refresher Part B Sequential Logic Building Blocks

CHAPTER 11 LATCHES AND FLIP-FLOPS

CSE115: Digital Design Lecture 23: Latches & Flip-Flops

Chapter 5 Sequential Systems. Introduction

Registers & Counters. Logic and Digital System Design - CS 303 Erkay Savaş Sabanci University

MC9211 Computer Organization

Chapter 5: Synchronous Sequential Logic

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

Introduction to Microprocessor & Digital Logic

Lec 24 Sequential Logic Revisited Sequential Circuit Design and Timing

AIM: To study and verify the truth table of logic gates

The NOR latch is similar to the NAND latch

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

CHAPTER 4: Logic Circuits

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

Synchronous Sequential Logic

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

CHAPTER 4: Logic Circuits

Combinational vs Sequential

Chapter 4. Logic Design

Synchronous Sequential Logic

Sequential Circuit Design: Part 1

EKT 121/4 ELEKTRONIK DIGIT 1

Introduction to Sequential Logic Circuits (Class /16/12)

Synchronous Sequential Logic

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

Sequential Circuit Design: Part 1

Transcription:

Engr354: igital Circuits Chapter 7 Sequential Elements r. Curtis Nelson Sequential Elements In this chapter you will learn about: circuits that can store information; Basic cells, latches, and flip-flops; State diagrams; esign techniques for circuits that use flip-flops. Engr354 - Chapter 7, Brown 1

Circuit Types Combinational output depends only on the input. Sequential output depends on input and past behavior: Requires use of storage elements; Contents of the storage elements is called state; Circuit goes through a sequence of states as a result of changes in inputs. Synchronous controlled by a clock. Clock Signals Engr354 - Chapter 7, Brown 2

A Bistable Memory Element Bistable possessing two stable states. A B A / (SR) Memory Element Called a Basic Cell; NOR centered Basic Cell: Circuit (a), Function table (b). are active when they are high; Blocking side inputs. Engr354 - Chapter 7, Brown 3

Typical Operation of a Basic Cell, clear., preset. NOR-Centered ( ominant) Basic Cell r + s Action n+1 hold n 1 reset 1 set 1 1 1 reset Operation Table Circuit n n+1 1 f f 1 1 f 1 f r sr 1 r State iagram Engr354 - Chapter 7, Brown 4

NAN-Centered ( ominant) Basic Cell are active low (when they are asserted); Operation table indicates assertion, not voltage, levels. s Action N+1 hold N 1 reset 1 set 1 1 1 set 1 Operation Table Circuit n n+1 1 f 1 f 1 1 f f rs 1 s + r State iagram s Combined Form of the Basic Cell n n+1 1 f 1 f 1 1 f f NAN-centered n n+1 n n+1 1 f f 1 1 f 1 f NOR-centered 1 f 1 1 f Combined Form Basic Cell Engr354 - Chapter 7, Brown 5

esigning Latches - A Model Latch - a logic circuit that transfers the input state to the output state when the clock signal is high and latches and holds the input when the clock signal goes low. n n+1 1 f 1 1 f Combined Form Clock S R Basic Cell (H) (L) esign of a Clocked (ata) Latch Clock S R Basic Cell (H) (L) Engr354 - Chapter 7, Brown 6

esign of a Clocked Latch (H) Clk Clk Action N+1 x 1 1 1 Block iagram hold N reset set 1 Operation Table n n+1 1 f 1 1 f Basic Cell Clk n n+1 f 1 1 f 1 f 1 1 1 f 1 f 1 1 1 1 1 1 1 1 1 1 1 f Truth Table = clk = clk Equations CLK +CLK 1 +CLK CLK State iagram Clocked Latch Engr354 - Chapter 7, Brown 7

esign of a Clocked Toggle (T) Latch (H) T Clk Clk T Action N+1 x Hold N 1 Hold N 1 1 Toggle N Function Table Block iagram n n+1 1 f 1 1 f Basic Cell Clk T n n+1 f 1 1 f 1 f 1 1 1 f 1 f 1 1 1 f 1 1 1 1 1 1 1 1 Truth Table = clk T = clk T Equations T CLK T +CLK 1 T +CLK T CLK State iagram esign of a Clocked JK Latch (H) J K Clk Clk J K Action N+1 x x Hold N 1 Hold N 1 1 1 1 1 1 1 1 Toggle N Function Table Block iagram n n+1 1 f 1 1 f Basic Cell = clk J = clk K Equations Clk J K n n+1 f 1 1 f 1 f 1 1 1 f 1 f 1 1 1 f 1 1 f 1 1 1 1 f 1 f 1 1 1 f 1 1 f 1 1 1 1 1 1 1 1 1 1 1 1 f 1 1 1 1 1 1 1 1 1 1 Truth Table Engr354 - Chapter 7, Brown 8

esign of a -ominant Clocked SR Latch S R Clock S R Basic Cell (H) (L) S, R, Clock, Outputs, esign of a -ominant Clocked SR Latch (H) S R Clk Action N+1 1 1 1 1 hold N reset set 1 set 1 Operation Table Block iagram n n+1 1 f 1 1 f Basic Cell = clk S = clk R S Equations Clk n n+1 f 1 1 f 1 f 1 1 1 f 1 f 1 1 1 f 1 1 f 1 1 1 1 f 1 f 1 1 1 f 1 1 f 1 1 1 1 1 1 1 1 1 1 1 1 f 1 1 1 1 1 1 1 1 1 1 f Truth Table Engr354 - Chapter 7, Brown 9

SR Latch with Enable (Clock) esign of a Clocked JK Latch Version II Replace the basic cell with a -latch as the memory element. J K Clk -Latch (H) (L) J, K, Clk, Output Engr354 - Chapter 7, Brown 1

esign of a Clocked JK Latch Version II (H) J K Clk Clk J K Action N+1 x x Hold N 1 Hold N 1 1 1 1 1 1 1 1 Toggle N Function Table Block iagram n n+1 1 1 1 Truth Table = K + clk + clk J Equation Clk J K n n+1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Terminology Latches are often called Transparent because the output will follow the input as long as the clock signal is high. Flip-flops are edge-triggered: Positive-edge triggered (PET) is when action occurs on the rising edge of the clock signal; Negative-edge triggered (NET) is when action occurs on the falling edge of the clock signal. Types of Flip-flops: SR (rarely used); (very, very common, 74HC74); JK (hardly ever used, 74HC19); Toggle (occasionally used by CA programs). Engr354 - Chapter 7, Brown 11

up and Hold Times up time (t SU ) is the time interval preceding the active transition point of the CLK during which all data inputs must remain stable. Hold time (t H ) is the time interval following the active transition point of the CLK during which all data inputs must remain stable. See data sheet for 74HC74 t su t h Clk PET Master-Slave Flip-Flop M follows the input whenever CLK is low. When CLK goes high, M is transferred to the output. Engr354 - Chapter 7, Brown 12

Positive-Edge-Triggered Flip-Flop PET Flip-Flop with Clear and Preset Synchronous transitions or actions occur in relation to the CLK signal; Asynchronous transitions or actions are not related to the CLK signal. Engr354 - Chapter 7, Brown 13

Level-Sensitive vs. Edge-Triggered Level-sensitive = latch Edge-triggered = flip-flop a Clock Clk a b Clock b a c b c c (a) Circuit (b) Timing diagram esign a T Flip-Flop from a Flip-Flop The memory element is now edge-triggered meaning the Clk signal is no longer part of the next-state logic. T flip-flop (H) (L) Clk T 1 ( n + 1 ) ( n ) ( n ) Function Table n n+1 1 1 1 T n n+1 1 1 1 1 1 1 1 1 Truth Table Engr354 - Chapter 7, Brown 14

esign a T Flip-Flop from a Flip-Flop T Clock (a) Circuit T (c) Graphical symbol esign a JK Flip-Flop from a Flip-Flop J K Clock J K ( n+ 1) 1 ( n) 1 1 1 1 ( n) Function Table Circuit J K Graphical symbol Engr354 - Chapter 7, Brown 15

Summary of Terminology Basic cell cross-coupled NAN/NOR. Gated latch output changes only when Clk is asserted: Gated SR latch; Gated latch; Gated JK latch. Flip-flop output changes only on Clk edge: Master-slave; Edge-triggered; Three main types: (very, very common, 74HC74); JK (hardly ever used, 74HC19); Toggle (occasionally used by CA programs). Sequential Elements Summary In this chapter you learned about: circuits that can store information; Basic cells, latches, and flip-flops; State diagrams; esign techniques for circuits that use flip-flops. Engr354 - Chapter 7, Brown 16