CSCE 211: Digital Logic Design

Slides:



Advertisements
Similar presentations
Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
Advertisements

A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
Classification of Digital Circuits  Combinational. Output depends only on current input values.  Sequential. Output depends on current input values and.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
CSCE 211: Digital Logic Design. Chapter 6: Analysis of Sequential Systems.
1 © 2014 B. Wilkinson Modification date: Dec Sequential Logic Circuits – I Flip-Flops A sequential circuit is a logic components whose outputs.
Sequential Logic Flip-Flops and Related Devices Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty.
EECC341 - Shaaban #1 Lec # 13 Winter Sequential Logic Circuits Unlike combinational logic circuits, the output of sequential logic circuits.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
EECC341 - Shaaban #1 Lec # 14 Winter Clocked Synchronous State-Machines Such machines have the characteristics: –Sequential circuits designed.
CSCE 211: Digital Logic Design
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
A clocked synchronous state-machine changes state only when a triggering edge or “tick” occurs on the clock signal. ReturnNext  “State-machine”: is a.
Chapter 6 Analysis of Sequential Systems Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Digital Logic Design CHAPTER 5 Sequential Logic. 2 Sequential Circuits Combinational circuits – The outputs are entirely dependent on the current inputs.
Digital Computer Design Fundamental
COE 202: Digital Logic Design Sequential Circuits Part 1
Flip Flop
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Sequential Circuits. Two primary differences between combinational circuits and sequential circuits –Sequential circuits are synchronous (use a clock)
Digital Logic of Computer Engineering KKU.1 Chapter 5 Sequential Systems Latches and Flip-flops Synchronous Counter Asynchronous.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
Sahar Mosleh PageCalifornia State University San Marcos 1 More on Flip Flop State Table and State Diagram.
Introduction to Sequential Logic Design Finite State-Machine Analysis.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Chapter 6 Analysis of Sequential Systems Sequential Memory Feedback.
5 - 1 Chapter 6 Analysis of Sequential Systems Chapter 6 Analysis of Sequential Systems 6.0 Introduction  Clocked System Clock A signal that alternates.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Sequential Circuits.
Sequential Circuits.
LATCHED, FLIP-FLOPS,AND TIMERS
Lecture 13 State Machines / ROMs
Clocks A clock is a free-running signal with a cycle time.
Instructor: Alexander Stoytchev
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Synchronous Sequential Circuits
CSCE 211: Digital Logic Design
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.
T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T.
ECE Digital logic Lecture 16: Synchronous Sequential Logic
CSCE 211: Digital Logic Design
Sequential Circuits: Flip-Flops
Digital Logic Design Sequential Circuits (Chapter 6)
Sequential logic circuits
Digital Design Fundamentals
CSCE 211: Digital Logic Design
LECTURE 15 – DIGITAL ELECTRONICS
Chapter 6 -- Introduction to Sequential Devices
Elec 2607 Digital Switching Circuits
CSCE 211: Digital Logic Design
Synchronous Sequential Circuits
Instructor: Alexander Stoytchev
INTRODUCTION TO LOGIC DESIGN Chapter 5 Synchronous Sequential Logic
Instructor: Alexander Stoytchev
Computer Architecture and Organization: L02: Logic design Review
Analysis of Sequential Systems
FLIP-FLOPS.
Digital Logic Department of CNET Chapter-6
Synchronous sequential
Digital Logic Department of CNET Chapter-6
Synchronous Sequential
Flip-Flops.
CSCE 211: Digital Logic Design
Lecture 14: State Tables, Diagrams, Latches, and Flip Flop
Chapter 5 Sequential Circuits.
Sequential Digital Circuits
Presentation transcript:

CSCE 211: Digital Logic Design Chin-Tser Huang huangct@cse.sc.edu University of South Carolina

Chapter 6: Analysis of Sequential Systems

Sequential System A system that has memory The output will depend not only on the present input but also on the past, on what has happened earlier Will focus on clocked systems (also called synchronous) 03/17/2017

Clock A signal that alternates between 0 and 1 at a regular rate The same clock is normally connected to all flip flops (a clocked binary storage device) The period of the signal is the length of one cycle; the frequency is the inverse of the period In most synchronous systems, change occurs on the transition of the clock signal 03/17/2017

Conceptual View of a Sequential System 03/17/2017

A Continuing Example CE6. A system with one input x and one output z such that z = 1 iff x has been 1 for at least three consecutive clock times. State: what is stored in memory. It is stored in binary devices, but the information to be stored is not always naturally binary. Timing trace: a set of values for the input and output (and sometimes the state or other variables of the system, as well) at consecutive clock times. 03/17/2017

State Tables and Diagrams State table: shows for each input combination and each state, what the output is and what the next state is, that is, what is to be stored in memory after the next clock. 03/17/2017

State Tables and Diagrams State diagram (or state graph): a graphical representation of the state table. This is an example of Moore model because the output depends only on the state of the system, not the present input. 03/17/2017

State Tables and Diagrams Mealy model: the output depends not only on the present state, but also on the present input. 03/17/2017 1

Latch A binary storage device, composed of two or more gates, with feedback P = (S + Q)´ Q = (R + P)´ 03/17/2017

Gated Latch When Gate is 0, latch remains unchanged When Gate goes to 1, it behaves like the simpler latch 03/17/2017

Flip Flop A clocked binary storage device that stores either 0 or 1 State of flip flop changes on the transition of the clock Trailing-edge triggered: change takes place when the clock goes from 1 to 0 Leading-edge triggered: change takes place when the clock goes from 0 to 1 03/17/2017

Flip Flop What is stored after the transition depends on the data inputs and might also depend on what was stored in the flip flop prior to the transition Flip flops have one or two outputs State of the flip flop If there is a second output, it is the complement of the state 03/17/2017

D Flip Flop D means Delay Output is the input delayed until the next active clock transition Next state of D flip flop is the value of D (i.e. the input to the D flip flop) before clock transition 03/17/2017

D Flip Flop 03/17/2017

Timing Diagram of D Flip Flop 03/17/2017

Two Flip Flops Connect the output of one flip flop to the input of another flip flop, and clock them simultaneously At a clock transition when the first flip flop q changes, the old value of q is used to compute the behavior of r 03/17/2017

Two Flip Flops 03/17/2017

Flip Flop with Clear and Preset 03/17/2017

Flip Flop with Clear and Preset 03/17/2017

T Flip Flop T means Toggle If input T is 1, the flip flop changes state (i.e. is toggled) If T is 0, the state remains the same 03/17/2017

T Flip Flop 03/17/2017

Timing Diagram of T Flip Flop 03/17/2017

JK Flip Flop JK is not an acronym of anything If J = 0 and K = 0 , the flip flop holds the current state If J = 0 and K = 1 , the flip flop resets q to 0 If J = 1 and K = 0 , the flip flop sets q to 1 If J = 1 and K = 1 , the flip flop changes its state 03/17/2017

JK Flip Flop q* = Jq´ + K´q 03/17/2017

Timing Diagram of JK Flip Flop 03/17/2017

Review: Conceptual View of a Sequential System 03/17/2017

Analysis Example 1 D1 = q1 q´2 + x q´1 = q1* D2 = xq1 = q2* z = q´2 03/17/2017

Analysis Example 1 D1 = q1 q´2 + x q´1 = q1* D2 = xq1 = q2* z = q´2 03/17/2017

Analysis Example 2 JA = x KA = xB´ JB = KB = x + A´ z = A + B 03/17/2017

Analysis Example 2 03/17/2017

Analysis Example 2 03/17/2017

Analysis Example 3 D1 = xq1 + xq2 D2 = xq´1q´2 z = xq1 03/17/2017

Analysis Example 3 03/17/2017

Analysis Example 3 03/17/2017

Analysis Example 4 Is this Moore model or Mealy model? Draw timing diagram for input x = 0 1 1 0 1 1 1 1 0 03/17/2017

Analysis Example 4 03/17/2017