CPEN 315 - Digital System Design Chapter 5 Sequential Circuits Storage Elements and Sequential Circuit Analysis C. Gerousis © Logic and Computer Design.

Slides:



Advertisements
Similar presentations
DIGITAL ELECTRONICS & it0203 Semester - 3
Advertisements

EE 5900 Advanced Algorithms for Robust VLSI CAD, Spring 2009 Sequential Circuits.
COE 202: Digital Logic Design Sequential Circuits Part 1 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM.
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
1 Fundamentals of Computer Science Sequential Circuits.
Computer Architecture CS 215
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 12 Basic (NAND) S – R Latch “Cross-Coupling” two NAND gates gives the S -R Latch:
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 6 – Part 1.
Module 12.  In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the.
Overview Part 1 - Storage Elements and Analysis
Overview Part 1 - Storage Elements and Analysis
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Logic and Computer.
Circuits require memory to store intermediate data
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 1 – Storage.
Sequential Circuit Analysis & Design Dr. Aiman H. El-Maleh Computer Engineering Department King Fahd University of Petroleum & Minerals Dr. Aiman H. El-Maleh.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
CS 151 Digital Systems Design Lecture 21 Analyzing Sequential Circuits.
Latches Section 4-2 Mano & Kime. Sequential Logic Combinational Logic –Output depends only on current input Sequential Logic –Output depends not only.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 1 – Storage.
Overview Sequential Circuit Design Specification Formulation
EE 4271 VLSI Design, Fall 2010 Sequential Circuits.
Sequential Circuit Analysis. 2 Synchronous vs. Asynch. Synchronous sequential circuit:  The behavior can be defined from knowledge of its signal at discrete.
Sequential Circuit Analysis. 2 Synchronous vs. Asynch. Synchronous sequential circuit:  the behavior can be defined from knowledge of its signal at discrete.
Chapter 7 - Part 2 1 CPEN Digital System Design Chapter 7 – Registers and Register Transfers Part 2 – Counters, Register Cells, Buses, & Serial Operations.
Overview Part 1 - Storage Elements and Sequential Circuit Analysis
So far, all of the logic circuits we have studied were basically based on the analysis and design of combinational digital circuits. The other major aspect.
Digital Logic Design CHAPTER 5 Sequential Logic. 2 Sequential Circuits Combinational circuits – The outputs are entirely dependent on the current inputs.
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Chapter 4 – Part 3 Tom Kaminski & Charles.
Digital Computer Design Fundamental
COE 202: Digital Logic Design Sequential Circuits Part 1
Chapter 5 - Part Sequential Circuit Design Design Procedure  Specification  Formulation - Obtain a state diagram or state table  State Assignment.
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
Synchronous Sequential Logic Chapter 5. Digital Circuits Sequential Circuits Combinational circuits contains no memory elements the outputs depends.
Chap 4. Sequential Circuits
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 2 – Sequential.
CPEN Digital System Design Chapter 5 - Sequential Circuits Sequential Circuit Design C. Gerousis © Logic and Computer Design Fundamentals, 4 rd Ed.,
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 11 Binary Adder/Subtractor.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS 352: Digital Systems.
Sequential Circuit: Analysis BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Registers; State Machines Analysis Section 7-1 Section 5-4.
EKT 221 / 4 DIGITAL ELECTRONICS II
5 Chapter Synchronous Sequential Circuits 1. Logic Circuits- Review 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates.
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Chapter 4 – Part 4 Tom Kaminski & Charles.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
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.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 13 Edge-Triggered FF Operation.
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
Digital Design: With an Introduction to the Verilog HDL, 5e M. Morris Mano Michael D. Ciletti Copyright ©2013 by Pearson Education, Inc. All rights reserved.
2018/5/2 EE 4271 VLSI Design, Fall 2016 Sequential Circuits.
4.
Overview Part 1 - Storage Elements and Analysis
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
2018/8/29 EE 4271 VLSI Design, Fall 2013 Sequential Circuits.
Synchronous Sequential Circuits
EKT 121 / 4 DIGITAL ELECTRONICS I
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
Edge-Triggered FF Operation
Synchronous Sequential Circuits
EE2174: Digital Logic and Lab
Chapter 5 – Sequential Circuits
Sequential Circuit Analysis & Design
SYEN 3330 Digital Systems Chapter 6 – Part 3 SYEN 3330 Digital Systems.
Binary Adder/Subtractor
Sequential Circuits UNIT- IV
Chapter 5 Sequential Circuits.
2019/9/26 EE 4271 VLSI Design, Fall 2012 Sequential Circuits.
Presentation transcript:

CPEN Digital System Design Chapter 5 Sequential Circuits Storage Elements and Sequential Circuit Analysis C. Gerousis © Logic and Computer Design Fundamentals, 4 rd Ed., Mano Prentice Hall Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc.

Overview  Part 1 - Storage Elements and Analysis –Review of sequential circuits –Types of sequential circuits –Storage elements  Latches  Flip-flops –Sequential circuit analysis  State tables  State diagrams –Circuit and System Timing  Part 2 - Sequential Circuit Design –Specification –Assignment of State Codes –Implementation

Sequential Circuits  A Sequential circuit contains: –Storage elements: Latches or Flip-Flops –Combinatorial Logic:  Implements a multiple-output switching function  Inputs/Outputs are signals from/to the outside.  Other inputs, State or Present State, are signals from storage elements.  Next State are inputs to storage elements. Combina- tional Logic Storage Elements Inputs Outputs State Next State

 Sequential Circuit – Next State = f(Inputs, State) – Outputs = g(Inputs, State)  (Mealy model circuits) – Outputs = h(State)  (Moore model circuits)  Output function type depends on specification and affects the design significantly Sequential Circuits

 Synchronous – Behavior defined from knowledge of its signals at discrete instances of time – Storage elements observe inputs and can change state only in relation to a timing signal (clock pulses from a clock)  Asynchronous – Behavior defined from knowledge of inputs an any instant of time and the order in continuous time in which inputs change Types of Sequential Circuits

S B Y Storing State  By connecting Y to the input the simple combinational circuit has now become a sequential circuit because its output is a function of a time sequence of input signals.  Consider a simple 2-input multiplexer: With function: – Y = A for S = 1 – Y = B for S = 0 – Y = B for S = 1, – Y(t) dependent on Y(t –1 ) for S = 0

Basic (NAND) S–R Latch  “Cross-Coupling” two NAND gates gives the S -R Latch:  S = 0, R = 0 is forbidden as input pattern Q S (set) R (reset) Q

 Adding two NAND gates to the basic S - R NAND latch gives the clocked S – R latch:  C is “control” or “clock”.  Behavior similar to the basic S-R latch except that the S and R inputs are only observed when the line C is high. Clocked S - R Latch

D Latch  Adding an inverter to the S-R Latch, makes the D Latch.  Note that there are no “indeterminate” states! Q D Q(t+1) Comment No change Set Q Clear Q No Change D Q C Q C D Q Q

D C S R Q Q Direct Inputs  At power up or at reset, all or part of a sequential circuit usually is initialized to a known state before it begins operation  This initialization is often done outside of the clocked behavior of the circuit, i.e., asynchronously.  Direct R and/or S inputs that control the state of the latches within the flip-flops are used for this initialization.  For the example flip-flop shown –0 applied to R resets the flip-flop to the 0 state –0 applied to S sets the flip-flop to the 1 state

Sequential Circuit Analysis Combina- tional Logic Storage Elements Inputs Outputs State Next State General Model:  Current State at time (t) stored in the array of flip- Flops.  Next State at time (t+1) is a Boolean function of State and Inputs.  Outputs at time (t) are a Boolean function of State (t) and (sometimes) Inputs (t).

Example 1  Input: x(t)  Output: y(t)  State: (A(t), B(t))  What is the Output Function?  What is the Next State Function?

Example 1 (continued)  Boolean equations for the functions: A(t+1) = A(t)x(t) + B(t)x(t) B(t+1) = A (t)x(t) y(t) = x(t)(B(t) + A(t)) C D Q Q C D Q Q' y x A A B CP Next State Output

Example 1 (continued)  Where in time are inputs, outputs and states defined? Signal values are observed just before the 100% point in the clock cycle.

State Table Characteristics  State table – a multiple variable table with the following four sections: –Present State – the values of the state variables for each allowed state. –Input – the input combinations allowed. –Next-state – the value of the state at time (t+1) based on the present state and the input. –Output – the value of the output as a function of the present state and (sometimes) the input.

Example 1: State Table  The state table can be filled in using the next state and output equations: Present State Input Next State Output A(t) B(t) x(t) A(t+1) B(t+1) y(t)

Example 1: Alternate State Table  2-dimensional table