Introduction to Sequential Circuit By : Pn Siti Nor Diana Ismail CHAPTER 5.

Slides:



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

Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
Sequential Circuits Storage elements
State-machine structure (Mealy)
1 Combinational Logic Design&Analysis. 2 Introduction We have learned all the prerequisite material: – Truth tables and Boolean expressions describe functions.
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 1 – Storage.
1 EE365 Sequential-circuit analysis. 2 Clocked synchronous seq. circuits A.k.a. “state machines” Use edge-triggered flip-flops All flip-flops are triggered.
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.
A Sequential Parity Checker
Nonlinear & Neural Networks LAB. CHAPTER 13 Analysis of Clocked Sequential Circuit 13.1 A Sequential Parity Checker 13.2 Analysis by Signal Tracing 13.3.
Sequential Circuit Design
ECE 331 – Digital System Design Introduction to and Analysis of Sequential Logic Circuits (Lecture #20) The slides included herein were taken from the.
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
EECC341 - Shaaban #1 Lec # 14 Winter Clocked Synchronous State-Machines Such machines have the characteristics: –Sequential circuits designed.
1 COMP541 State Machines Montek Singh Feb 6, 2007.
Sequential Circuit Design
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
1 Synchronous Sequential Circuit Analysis. 2 Synchronous Sequential Circuit State Memory – A set of n edge-triggered flip-flops that store the current.
9/15/09 - L22 Sequential Circuit Design Copyright Joanne DeGroat, ECE, OSU1 Sequential Circuit Design Creating a sequential circuit to address a.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR1 Sequential Circuit Design.
An Introduction to Digital System II By: Pn Siti Nor Diana Bt Ismail DKT 212/3 DIGITAL SYSTEM II.
Digital Computer Design Fundamental
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 =
Synchronous Sequential Logic Part I
Circuit, State Diagram, State Table
Chap 4. Sequential Circuits
Sequential Circuits. Combinational Circuits + Storage element output depends both on previous state and input Fig. 5-1.
Digital Logic Design Sequential circuits
State Machines.
Chap 4. Sequential Circuits
Lecture 4 – State Machine Design 9/26/20081ECE Lecture 4.
Introduction to Sequential Logic Design Finite State-Machine Design.
CPEN Digital System Design Chapter 5 - Sequential Circuits Sequential Circuit Design C. Gerousis © Logic and Computer Design Fundamentals, 4 rd Ed.,
1 Lecture 22 Sequential Circuits Analysis. 2 Combinational vs. Sequential  Combinational Logic Circuit  Output is a function only of the present inputs.
Sequential Design Basics. Lecture 2 topics  A review of devices that hold state A review of Latches A review of Flip-Flops 8/22/2012 – ECE 3561 Lect.
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,
ANALYSIS OF SEQUENTIAL CIRCUITS by Dr. Amin Danial Asham.
1 A counter counts Number of elements in counter determines how many different states we need For example, an eight-state counter can count eight steps.
Sequential Circuit: Analysis BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Registers; State Machines Analysis Section 7-1 Section 5-4.
1 State Reduction Goal: reduce the number of states while keeping the external input-output requirements unchanged. State reduction example: a: input 0.
Synchronous Sequential Logic Part I
ENG241 Digital Design Week #7 Sequential Circuits (Part B)
Sequential Circuit Design By : Pn Siti Nor Diana Ismail CHAPTER 6.
Introduction to Sequential Logic Design Finite State-Machine Analysis.
CO5023 Building Circuits from Truth Tables. Build the following… Let’s say we want a circuit which acts as described by the following truth table: We.
IKI b-Analysis of Sequential Logic Bobby Nazief Semester-I The materials on these slides are adopted from: CS231’s Lecture Notes at.
Sequential circuit analysis1 Sequential Circuit Analysis Last time we started talking about latches and flip-flops, which are basic one-bit memory units.
5 - 1 Chapter 6 Analysis of Sequential Systems Chapter 6 Analysis of Sequential Systems 6.0 Introduction  Clocked System Clock A signal that alternates.
State Machine Design Shiva choudhary En No.: Electronics and comm. Dept K.I.T.,Jamnagar 1.
Mealy and Moore Machines Lecture 8 Overview Moore Machines Mealy Machines Sequential Circuits.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
Week #7 Sequential Circuits (Part B)
Counters & Sequential Circuit Design
Introduction to Sequential Logic Design
ANALYSIS OF SEQUENTIAL CIRCUITS
Analysis of Clocked Sequential Circuit
SLIDES FOR CHAPTER 13 ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
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.
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
Combinational Circuits
Chapter5: Synchronous Sequential Logic – Part 4
Digital Circuits.
Presentation transcript:

Introduction to Sequential Circuit By : Pn Siti Nor Diana Ismail CHAPTER 5

What is Sequential Circuit? Its behaviour is from : Inputs Outputs Present state Includes flip-flops with clock inputs Logic diagram may or may not include combinational gates.

Sequential Circuit Diagram

Important element in sequential circuit : i. Input equations ii. State table iii. State diagram

Diagram (A)

Diagram (B)

From previous diagrams (A and B) You should be able to identify, which part is : The inputs The outputs The combinational circuits The flip-flop

i.Input Equation Algebraic expression specifying logic diagram of a sequential circuit Imply the type of FF used Fully specify the combinational circuit that drives the

Try to analyze this circuit

What are the elements that you can identify? Type of flip-flop; Input; Output; The equations of the circuit.

INPUT Equations D A = D B = Y = STATES The element are: - Type FFs : D FFs - Input : X, State:A,B - Output : Y - Equation : 3 equations, D A, D B and Y

ii.State Table Shows functional relationship between inputs, outputs and FF states. State table consists of: -Present state -Input -Next state -Output

Example : State table

How many rows in state table? FF = m Inputs = n Number of rows = 2 m+n

How to fill in the state table? STEP 1 : List all possible binary combinations of present state and inputs. STEP 2 : Next state column is determined by logic diagram or input equations of FF (get the value for all FF inputs and then refer to FF truth table to get the next state value). STEP 3 : Output column is determined by logic diagram or input equations.

STEP 1 List down all binary numbers from 0 to (2 m+n – 1) in present state and input column. Let’s say you have 3 FF and 1 input, number of rows = = 16 Binary numbers involved is 0 – 15

STEP 2 Determine the next column Substitute the values in every rows into the FF input equations that you have got earlier. You will get the input for each FF Trace down the value for the FF output

STEP 3 Determine the output Substitute the values in every rows into the input equations of output that you have got earlier. You will directly get the output value

Try to fill in this state table based on the given diagram

So, here is the answer

Types of sequential circuits Mealy model -Output depend on INPUTS and STATES Moore model -Output depend on STATES

Circuit Analysis :What type of this circuit?

Circuit Analyze Just take a look at the output equation Since Y involves both (A & B) states and (X) input, therefore it is a Mealy model.

Can you differentiate between the previous equation and this one? The output is Z. Only involves A (state).. So it is a Moore model

iii.State Diagram State – represented by a circle Transition between states – directed lines connecting the circles

Examples of State Diagram

Referring to State Diagram (a) Circuit diagram

State Table

Moore Model Circuit Diagram

Equation State Table

State Diagram (Mealy) Provide same info with state table Obtained from state table State (A B) Input (X) Output (Y)

State Diagram (Moore) Input X Input Y State Output

State Table

Exercise 1 A sequential circuit with two D flip-flops A and B, X input, and one output Y is specified by the following input equations : D A = XA D B = A+XB’ Y = XB Draw the logic diagram of the circuit Derive the state table State Diagram

Exercise 2 A sequential circuit with two D flip-flops A and B, two inputs X and Y, and one output Z is specified by the following input equations : D A = XA + XY D B = XA + XB Z = XB Draw the logic diagram of the circuit Derive the state table