MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR1 Sequential Circuit Design.

Slides:



Advertisements
Similar presentations
COE 202: Digital Logic Design Sequential Circuits Part 2
Advertisements

CS1104 – Computer Organization
State-machine structure (Mealy)
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Combinational Circuit – Arithmetic Circuit Parallel Adder Example: 4-bit adder.
COE 202: Digital Logic Design Sequential Circuits Part 3
EKT 124 / 3 DIGITAL ELEKTRONIC 1
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR1 Sequential Circuit Latch & Flip-flop.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Computing Machinery Chapter 5: Sequential Circuits.
CS 151 Digital Systems Design Lecture 21 Analyzing Sequential Circuits.
1 Lecture 23 More Sequential Circuits Analysis. 2 Analysis of Combinational Vs. Sequential Circuits °Combinational : Boolean Equations Truth Table Output.
Sequential Design Part II. Output A(t+1) =D A = AX + BX B(t+1) =D B = AX Y = AX + BX.
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.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Sequential Circuit: Register Introduction N-bit register contains n flip-flop and several logic gates and.
Sequential Circuits and Finite State Machines Prof. Sin-Min Lee
CSCE 211: Digital Logic Design
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
Sequential Circuits Problems(I) Prof. Sin-Min Lee Department of Mathematics and Computer Science Algorithm = Logic + Control.
1 Synchronous Sequential Circuit Analysis. 2 Synchronous Sequential Circuit State Memory – A set of n edge-triggered flip-flops that store the current.
Sequential Circuit Introduction to Counter
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.
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
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.
Digital Computer Design Fundamental
Analyzing our example circuit
(Sequential Logic Circuit)
Synchronous Circuit Design (Class 10.1 – 10/30/2012) CSE 2441 – Introduction to Digital Logic Fall 2012 Instructor – Bill Carroll, Professor of CSE.
Digital Design Lecture 10 Sequential Design. State Reduction Equivalent Circuits –Identical input sequence –Identical output sequence Equivalent States.
Circuit, State Diagram, State Table
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Chap 4. Sequential Circuits
Introduction to Sequential Circuit By : Pn Siti Nor Diana Ismail CHAPTER 5.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
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 Circuits State Reduction and Assignment State Reduction reductions on the number of flip-flops and the number of gates a reduction in the.
1 State Reduction Goal: reduce the number of states while keeping the external input-output requirements unchanged. State reduction example: a: input 0.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
ENG241 Digital Design Week #7 Sequential Circuits (Part B)
Synchronous Counter Design
Sequential circuit analysis1 Sequential Circuit Analysis Last time we started talking about latches and flip-flops, which are basic one-bit memory units.
CSE 260 DIGITAL LOGIC DESIGN
1 Lecture #15 EGR 277 – Digital Logic Reading Assignment: Chapter 5 in Digital Design, 3 rd Edition by Mano Example: (Problem 5-17 from Digital Design,
Counters & Sequential Circuit Design
ANALYSIS OF SEQUENTIAL CIRCUITS
Figure 12-13: Synchronous Binary Counter
FIGURE 5.1 Block diagram of sequential circuit
Sequential Circuit: Counter
CSCE 211: Digital Logic Design
29th Oct Review Session 8.
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.
CSCE 211: Digital Logic Design
FINITE STATE MACHINES (FSMs)
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
MTE 202, Summer 2016 Digital Circuits Dr.-Ing. Saleh Hussin
Lecture No. 32 Sequential Logic.
DESIGN OF SEQUENTIAL CIRCUITS
Analysis with JK flip-flops
EGC 442 Introduction to Computer Architecture
Chapter5: Synchronous Sequential Logic – Part 4
FINITE STATE MACHINES.
CSCE 211: Digital Logic Design
Chapter5: Synchronous Sequential Logic – Part 3
COE 202: Digital Logic Design Sequential Circuits Part 3
Presentation transcript:

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR1 Sequential Circuit Design

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 2 Sequential Logic Design Contents Why sequential logic? Flip-flop criteria table Sequential circuit analysis Sequential circuit design

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 3 Why Sequential Logic? Sequential circuit has additional dimension which is time Combinational logic only depends on current input Sequential circuit output depends on previous input other than current input More powerful than combination logic Able to model condition which can’t be modeled by combinational logic

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 4 Sequential Circuit Analysis Given sequential circuit diagram, behavioral analysis from state table and also state diagram Need state equations to get flip-flop input and output functions for circuit output other than flip- flop (if any) We use A(t) and A(t+1) to represent current condition and the next condition for flip-flop represented by A. Other method, we can use A and A + to represent current condition and the following condition

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 5 Sequential Circuit Analysis Example 1 (using D flip-flop) State equation Output Function

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 6 Sequential Circuit Analysis From the state equations and output function, we can derive state table which contains all combined binary available for current condition and input State table  The same as Truth Table  Input and condition pad on the left  Output and next condition on the right  combined binary available for current condition and input M flip-flop and n input => 2 m+n line

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 7 Sequential Circuit Analysis State equationOutput function State table for circuit in Example 1

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 8 Sequential Circuit Analysis Other method

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 9 Sequential Circuit Analysis From the truth table, we can draw state diagram State diagram  Each state is represented by circle  Each arrow (between two circle) represent transfer for sequential logic (i.e. line transition in truth table)  a/b label for each arrow where a represent inputs and b represent output for circuit in transition Each flip-flop value combination represent state. Therefore, m flip-flop=> until 2 m state.

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 10 Sequential Circuit Analysis State diagram for circuit in example 1

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 11 Flip-flop Input Function Output of sequential circuit is function for current condition for flip-flop and input. This is explained using algebra by circuit output function  In example 1: y= (A+B)x’ Circuit part that generate input to flip-flop is explained using algebra by flip-flop input functions

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 12 Flip-flop Input Function Flip-flop input function determine next condition From flip-flop input function and criteria table for flip-flop, we get next condition of the flip- flop

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 13 Flip-flop Input Function Example 2: circuit with JK flip flop We use 2 character to represent flip-flop input: first character represent flip-flop input (J or K for JK flip-flop, S or R for SR flip-flop, D for D flip-flop, T for T flip-flop ) and second character represent name of the flip-flop

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 14 Analysis: Example 3 Given sequential circuit with two JK flip-flop, A and B and one input x Get the input flip-flop function from the circuit

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 15 Analysis: Example 3 Input flip-flop function Fill the state table with the above function using criteria table for used flip-flop

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 16 Analysis: Example 3 Draw state diagram from the state table

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 17 Flip-flop Excitation Tables Analysis: Start from circuit diagram, build state table or state diagram Design: Start from specification set (i.e. in state equation form, state table or state diagram) build logic circuit. Criteria table is used in analysis Excitation tables is used in design

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 18 Flip-flop Excitation Tables Excitation tables : it give transition characteristic between current condition and next condition to determine flip-flop input

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 19 Designing Sequential Circuit Design steps Start with circuit spesification – characteristic of circuit Build state table Do state reduction if needed (not in syllabus) Do state assignment (not in syllabus) Determine number of flip-flop which will be used Build circuit excitation and output table from state table Build circuit output function and flip-flop input function Draw logic diagram

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 20 Design: Example 1 Given state diagram as follows, get the sequential circuit using JK flip-flop

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 21 Design: Example 1 State/excitation table using JK flip-flop

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 22 Design: Example 1 Block diagram

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 23 Design: Example 1 From state table, get input flip-flop function

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 24 Design: Example 1 Input flip-flop function Logic Diagram

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 25 Design: Example 2 Design, using D flip-flop, circuit is based on state table below. (Exercise: How if using JK flip-flop)

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 26 Design: Example 2 Determine input expression for flip-flop and y output

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 27 Design: Example 2 From expression built, draw logic diagram

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 28 Design a Synchronous Counter Counter: sequential circuit cycle through state sequence Binary counter: follow binary sequence. n-bit binary counter (with n flip-flop) able to count from 0 to 2 n -1. Example 1: 3-bit binary counter (using T flip-flop)

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 29 Design a Synchronous Counter 3-bit binary counter (cont)

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 30 Design a Synchronous Counter 3-bit binary counter (cont)