CSCE 211: Digital Logic Design

Slides:



Advertisements
Similar presentations
State-machine structure (Mealy)
Advertisements

COE 202: Digital Logic Design Sequential Circuits Part 3
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.
Sequential Logic Design with Flip-flops
Registers.1. Register  Consists of N Flip-Flops  Stores N bits  Common clock used for all Flip-Flops Shift Register  A register that provides the.
Sequential Logic Design
Sequential Circuits and Finite State Machines Prof. Sin-Min Lee
CSCE 211: Digital Logic Design
Chapter 6 Analysis of Sequential Systems Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Sequential Circuit  It is a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR1 Sequential Circuit Design.
ECE 320 Homework #6 Derive the state table and state diagram of the sequential circuit of the Figure below. What is the function of the circuit? A’ A.
(Sequential Logic Circuit)
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Sequential Circuit Design. Outline  Flip-flop Excitation Tables  Sequential Circuit Design  Design: Example #1  Design: Example #2  Design: Example.
1 Lecture #12 EGR 277 – Digital Logic Synchronous Logic Circuits versus Combinational Logic Circuits A) Combinational Logic Circuits Recall that there.
1 Lecture 22 Sequential Circuits Analysis. 2 Combinational vs. Sequential  Combinational Logic Circuit  Output is a function only of the present inputs.
Fall 2004EE 3563 Digital Systems Design EE3563 Chapter 7, 8, 10 Reading Assignments  7.1, 7.2, 7.3  8.1, ,   8.5.1, 8.5.2,
Digital Logic of Computer Engineering KKU.1 Chapter 5 Sequential Systems Latches and Flip-flops Synchronous Counter Asynchronous.
1 State Reduction Goal: reduce the number of states while keeping the external input-output requirements unchanged. State reduction example: a: input 0.
Learning to Design Counters
ENG241 Digital Design Week #7 Sequential Circuits (Part B)
A sequential logic circuit (a.k.a. state machine) consists of both combinational logic circuit(s) and memory devices (flip flops). The combinational circuits.
Synchronous Counter Design
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.
Logic Design (CE1111 ) Lecture 6 (Chapter 6) Registers &Counters Prepared by Dr. Lamiaa Elshenawy 1.
Lecture 14 State Machines II Topics State Machine Design Resolution with Text Design with D flip-flops Design with JK Readings: Chapter 7 November 11,
CHAPTER 14 Digital Systems. Figure 14.1 RS flip-flop symbol and truth table Figure
Week #7 Sequential Circuits (Part B)
Counters & Sequential Circuit Design
Lecture 13 State Machines / ROMs
EKT 221 – Counters.
EKT 221 : Digital 2 COUNTERS.
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
FIGURE 5.1 Block diagram of sequential circuit
Sequential Circuit: Counter
CSCE 211: Digital Logic Design
Dr. Clincy Professor of CS
CSCE 211: Digital Logic Design
FINITE STATE MACHINES (FSMs)
CENG 241 Digital Design 1 Lecture 11
Digital Design Fundamentals
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
Instructor: Alexander Stoytchev
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
EET107/3 DIGITAL ELECTRONICS 1
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
CSCE 211: Digital Logic Design
MTE 202, Summer 2016 Digital Circuits Dr.-Ing. Saleh Hussin
Lecture No. 32 Sequential Logic.
CSCE 211: Digital Logic Design
DESIGN OF SEQUENTIAL CIRCUITS
Analysis of Sequential Systems
EGC 442 Introduction to Computer Architecture
Chapter5: Synchronous Sequential Logic – Part 4
A B x y A+ B+ z 1 Q X Y Q(t+1) S 1.
FINITE STATE MACHINES.
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Chapter5: Synchronous Sequential Logic – Part 3
A B x y A+ B+ z 1 Q X Y Q(t+1) S 1.
COE 202: Digital Logic Design Sequential Circuits Part 3
Presentation transcript:

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

Chapter 7: The Design of Sequential Systems

Review: Design Process for Combinational Systems Step 1: Represent each of the inputs and output in binary. Step 1.5: If necessary, break the problem into smaller subproblems. Step 2: Formalize the design specification either in the form of a truth table or of an algebraic expression. Step 3: Simplify the description. Step 4: Implement the system with the available components, subject to the design objectives and constraints. 11/24/2015

Design Process for Sequential Systems Step 1: From a word description, determine what needs to be stored in memory, that is, what are the possible states. Step 2: If necessary, code the inputs and outputs in binary. Step 3: Derive a state table or state diagram to describe the behavior of the system. Step 4: Choose a state assignment, that is, code the states in binary. Step 5: Choose a flip flop type and derive the flip flop input maps or tables. Step 6: Produce the logic equation and draw a block diagram (as in the case of combinational systems). 11/24/2015

Revisit Continuing Example 6 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. 11/24/2015

We use assignment (a) in our discussion of CE6. State Assignment of CE 6 We use assignment (a) in our discussion of CE6. 11/24/2015

Design and Output Truth Table of CE6 11/24/2015

K-map for Next State q1* = x q2 + x q1 q2* = x q2´ + x q1 11/24/2015

K-map for Output z = q1 q2 11/24/2015

Design with D Flip Flops Therefore, D1 = x q2 + x q1 D2 = x q´2 + x q1 11/24/2015

Implementation using D Flip Flops 11/24/2015

Design with JK Flip Flops 11/24/2015

Design with JK Flip Flops J1 = xq2 K1 = x´ z = q1q2 J2 = x K2 = x´ + q´1 11/24/2015

Design with T Flip Flops T1 = x´q1 + xq´1q2 z = q1q2 T2 = x´q2 + xq´2 + xq´1q2 11/24/2015

Synchronous Counter A synchronous counter is a device with no data input that goes through a fixed sequence of states on successive clocks The output is often just the state of the system, i.e., the contents of all of the flip flops So no output column is required in the state table 11/24/2015

Example: 4-bit Binary Counter 11/24/2015

Design with JK Flip Flops 11/24/2015

Another Example: Up/Down Counter A counter that can count up or down according to a control input Counts up when x=0 Counts down when x=1 11/24/2015

Design with JK Flip Flops JA = KA = 1 JB = KB = x´A + xA´ JC = KC = x´BA + xB´A´ 11/24/2015

Design with JK Flip Flops 11/24/2015

Another Example: Decimal Counter A decimal counter goes through the sequence 0 1 2 3 4 5 6 7 8 9 0 1 … Can you develop the truth table and then K-maps for the next state of each bit? 11/24/2015