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

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

LATCHES & FLIP-FLOP. Chapter 7

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

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Synchronous Sequential Logic

CHAPTER 1 LATCHES & FLIP-FLOPS

Sequential Circuits: Latches & Flip-Flops

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

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

Unit 11. Latches and Flip-Flops

RS flip-flop using NOR gate

Chapter 11 Latches and Flip-Flops

Rangkaian Sekuensial. Flip-flop

D Latch (Transparent Latch)

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

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

Experiment 8 Introduction to Latches and Flip-Flops and registers

ECE 341. Lecture # 2

RS flip-flop using NOR gate

Chapter. Synchronous Sequential Circuits

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN

Other Flip-Flops. Lecture 27 1

ELE2120 Digital Circuits and Systems. Tutorial Note 7

Engr354: Digital Logic Circuits

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

Lecture 8: Sequential Logic

Logic Design. Flip Flops, Registers and Counters

LAB #4 SEQUENTIAL LOGIC CIRCUIT

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

Introduction to Sequential Circuits

Digital Circuits ECS 371

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

Chapter 3. Boolean Algebra and Digital Logic

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

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.

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

EKT 121/4 ELEKTRONIK DIGIT 1

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

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

Combinational vs Sequential

Switching Circuits & Logic Design

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

INTRODUCTION TO SEQUENTIAL CIRCUITS

Chapter 5 Synchronous Sequential Logic

Lecture 7: Sequential Networks

Chapter 8 Sequential Circuits

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

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.

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

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

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Chapter 5 Sequential Circuits

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

Asynchronous (Ripple) Counters

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur

Sequential Logic and Clocked Circuits

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

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

Chapter 5 Sequential Circuits

Digital Fundamentals: A Systems Approach

Sequential Circuits. Output depends only and immediately on the inputs Have no memory (dependence on past values of the inputs)

EEC 118 Lecture #9: Sequential Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

Flip-flop and Registers

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

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

Module 4:FLIP-FLOP. Quote of the day. Never think you are nothing, never think you are everything, but think you are something and achieve anything.

The NOR latch is similar to the NAND latch

2 Sequential Circuits

CHAPTER 4: Logic Circuits

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

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

Introduction to Microprocessor & Digital Logic

LAB 7. Latches & Flip Flops

Sequential Logic Basics

MC9211 Computer Organization

Part II. Chapter2: Synchronous Sequential Logic

Digital Fundamentals

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

UNIT IV. Sequential circuit

CHAPTER 4: Logic Circuits

CHAPTER 6 COUNTERS & REGISTERS

PRE J. Figure 25.1a J-K flip-flop with Asynchronous Preset and Clear inputs

Synchronous Sequential Logic

CHAPTER 11 LATCHES AND FLIP-FLOPS

Digital Logic Design ENEE x. Lecture 19

Chapter 5: Synchronous 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 Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I

SEQUENTIAL CIRCUITS THE RELAY CIRCUIT

Feedback Sequential Circuits

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Digital Logic Design I

CMOS Latches and Flip-Flops

5: Sequential Logic Latches & Flip-flops

CMSC 313 Preview Slides

Chapter 4. Logic Design

Sequential Design Basics

Transcription:

Seung-Jong Park (Jay) http://www.csc.lsu.edu/~sjpark Computer Architecture (CSC-3501) Lecture 7 (07 Feb 2008) 1 Announcement 2 1

Combinational vs. Sequential Logic Combinational Logic Memoryless Outputs determined by current values of inputs Sequential Logic Has memory Outputs determined by previous and current values of inputs 3 Sequential Logic Feedback (loop) State of system is stored States and inputs determine outputs 4 2

Sequential Circuits Types Synchronous: State changes synchronized by one or more clocks Asynchronous: Changes occur independently Kinds S-R latch D latch SR Flip-flop D Flip-flop Combinational Logics consist of Gates Can be built from Transistors Sequential Logics consist of Latch Can be built from Gates Flip-flop Can be built from latch 5 Clocking of Synchronous Changes enabled by clock 6 3

Comparison Synchronous Easier to analyze because can factor out gate delays Set clock so changes allowed to occur before next clock pulse Asynchronous Asynchronous (latch) means that output changes very soon after inputs change Potentially faster Harder to analyze Will look mostly at synchronous 7 Sequential Circuits As the name implies, sequential logic circuits require a means by which events can be sequenced. State changes are controlled by clocks. A clock is a special circuit that sends electrical pulses through a circuit. Clocks produce electrical waveforms such as the one shown below. 8 4

Edge- vs. Level-Triggered State changes occur in sequential circuits only when the clock ticks. Circuits can change state on the rising edge, falling edge, or when the clock pulse reaches its highest voltage. Circuits that change state on the rising edge, or falling edge of the clock pulse are called edge-triggered. Level-triggered circuits change state when the clock voltage reaches its highest or lowest level. 9 Feedback of Sequential Circuits To retain their state values, sequential circuits rely on feedback. Feedback in digital circuits occurs when an output is looped back to the input. A simple example of this concept is shown below. If Q is 0 it will always be 0, if it is 1, it will always be 1. Why? 10 5

SR (set-reset) Latch (asynchronous) You can see how feedback works by examining the most basic sequential logic components, the SR latch. The SR stands for set/reset. The internals of an SR latch are shown below, along with its block diagram. 11 SR (set-reset) Latches Basic storage made from gates S & R both 0 in resting state Have to keep both from 1 at same time 12 6

Operation 13 SR Latch Similar made from NANDs 14 7

Add Control Input Gates when state can change Gate is off when inputs are invalid or unstable Is there latch w/ no illegal state? 15 Transparency As long as C (the trigger ) is high, state can change soon after input change Thisiscalledtransparency What s problem with that? Unstable results for unstable inputs -> not accurate results 16 8

Effects of Transparency Output of one latch may feedback So more state changes may happen Depends on gate delays Want to change latch state once Depending on inputs at time of clock 17 Flip-Flops Synchronous version of latches Be careful this book use latch and flip-flop interchangeably Ensure only one transition Edge trigger Pulse trigger Master-slave FF 18 9

Master-Slave Flip-Flop Either R (master) or L (slave) is enabled, not both 19 J-K Flip-Flop At the right, we see how an SR flipflop can be modified to create a JK flip-flop. The characteristic table indicates that the flip-flop is stable for all inputs. 20 10

D Flip-Flop Another modification of the SR flip-flop is the D flip-flop, shown below with its characteristic table. You will notice that the output of the flip-flop flop remains the same during subsequent clock pulses. The output changes only when the value of D changes. The D flip-flop is the fundamental circuit of computer memory. D flip-flops are usually illustrated using the block diagram shown below. The characteristic table for the D flip-flop is shown at the right. 21 11