IKI10201 06c-Synthesis of Sequential Logic Bobby Nazief Semester-I 2005 - 2006 The materials on these slides are adopted from: Prof. Daniel Gajski’s transparency.

Slides:



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

Introduction to Sequential Circuits
1 Steps towards State assignment Slides of Mark Schulz used.
State-machine structure (Mealy)
TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Computing Machinery Chapter 5: Sequential Circuits.
Circuits require memory to store intermediate data
Digital Logic Design Lecture 27.
CS 151 Digital Systems Design Lecture 21 Analyzing Sequential Circuits.
Sequential Design Part II. Output A(t+1) =D A = AX + BX B(t+1) =D B = AX Y = AX + BX.
ECE 331 – Digital System Design Introduction to and Analysis of Sequential Logic Circuits (Lecture #20) The slides included herein were taken from the.
ECE 331 – Digital System Design State Reduction and State Assignment (Lecture #22) The slides included herein were taken from the materials accompanying.
ECE 331 – Digital System Design
Sequential Circuits and Finite State Machines Prof. Sin-Min Lee
Give qualifications of instructors: DAP
CSCE 211: Digital Logic Design
Overview Sequential Circuit Design Specification Formulation
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
Contemporary Logic Design FSM Optimization © R.H. Katz Transparency No Chapter #9: Finite State Machine 9.4 Choosing Flip-Flops 9.5 Machine Partitioning.
ECE 301 – Digital Electronics
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.
Sequential circuit design
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.
Lecture 10 Topics: Sequential circuits Basic concepts Clocks
Digital Computer Design Fundamental
ECE 331 – Digital Systems Design Sequential Logic Circuits: FSM Design (Lecture #20)
L5 – Sequential Circuit Design
Chapter 5 - Part Sequential Circuit Design Design Procedure  Specification  Formulation - Obtain a state diagram or state table  State Assignment.
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.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
B-1 Appendix B - Reduction of Digital Logic Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Principles.
State Machines.
IKI Register-transfer Design
Lecture 4 – State Machine Design 9/26/20081ECE Lecture 4.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
Introduction to Sequential Logic Design Finite State-Machine Design.
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.
1 © 2014 B. Wilkinson Modification date: Dec Sequential Logic Circuits Previously, we described the basic building blocks of sequential circuits,
Module : FSM Topic : types of FSM. Two types of FSM The instant of transition from the present to the next can be completely controlled by a clock; additionally,
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,
DLD Lecture 26 Finite State Machine Design Procedure.
1 Finite State Machines (FSMs) Now that we understand sequential circuits, we can use them to build: Synchronous (Clocked) Finite State Machines Finite.
ANALYSIS OF SEQUENTIAL CIRCUITS by Dr. Amin Danial Asham.
Digital Circuits State Reduction and Assignment State Reduction reductions on the number of flip-flops and the number of gates a reduction in the.
Analysis and Synthesis of Synchronous Sequential Circuits A “synchronizing” pulse/edge signal (clock) controls the operation of the memory portion of the.
1 State Reduction Goal: reduce the number of states while keeping the external input-output requirements unchanged. State reduction example: a: input 0.
1Sequential circuit design Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA by Erol Sahin and Ruken Cakici.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
ENG241 Digital Design Week #7 Sequential Circuits (Part B)
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
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 Design 05 Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA.
State Machine Design Shiva choudhary En No.: Electronics and comm. Dept K.I.T.,Jamnagar 1.
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,
Week #7 Sequential Circuits (Part B)
ANALYSIS OF SEQUENTIAL CIRCUITS
Sequential logic design principles
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
ECE 301 – Digital Electronics
FINITE STATE MACHINES (FSMs)
State Reduction and State Assignment
DESIGN OF SEQUENTIAL CIRCUITS
SYEN 3330 Digital Systems Chapter 6 – Part 3 SYEN 3330 Digital Systems.
CSE 370 – Winter Sequential Logic-2 - 1
Presentation transcript:

IKI c-Synthesis of Sequential Logic Bobby Nazief Semester-I The materials on these slides are adopted from: Prof. Daniel Gajski’s transparency for Principles of Digital Design.

2 Analyze this!

3 Remember: sequential circuit analysis To analyze sequential circuits, you have to: – Find Boolean expressions for the outputs of the circuit and the flip- flop inputs. – Use these expressions to fill in the output and flip-flop input columns in the state table. – Finally, use the characteristic equation or characteristic table of the flip-flop to fill in the next state columns. The result of sequential circuit analysis is a state table or a state diagram describing the circuit.

4 The Analysis

5 Finite State Machine (FSM) Model Quintuple – S: set of states – I: set of inputs – O: set of outputs – f: next-state function (S x I  S) – h: output funtion state-based (Moore Machine): S  O input-based (Mealy Machine): S x I  O

6 Moore Machine

7 Mealy Machine

8 FSM Implementations

9 Synthesis of sequential logic

10 The Case: Modulo-3 Up-Down Counter

11 FSM Model Capture

12 FSM Model Capture (cont.)

13 FSM Model Capture (cont.)

14 State Minimization Reduce the number of states – reduce the number of flip-flops Based on behavioral equivalence concept – 2 FSMs are equivalent if they produce the same sequence of output symbols for every sequence of input symbols s 1 & s 2 states in an FSM are equivalent, iff: – for every input symbol i, h(s 1, i) = h(s 2, i) – for every input symbol i, f(s 1, i) = f(s 2, i) Minimization procedure: 1. partition states into equivalence classes 2. construct new FSM with one state for each equivalence class

15 State Minimization (cont.) output values next states

16 State Minimization (cont.) State minimization can also be done using Implication Table (see text!)

17 State Encoding The cost & delay of FSM implementation depends on encoding of symbolic states. – e.g., 4 states can be encoded in 4! = 24 different ways There are more than n! different encodings for n states. – exploration of all encodings is impossible, therefore heuristics are used 3 different heuristics: 1. minimum-bit change 2. prioritized adjacency 3. hot-one encoding

18 State Encoding (cont.) Minimum-bit change: assigns codes to states so that the total number of bit changes for all state transitions is minimized.

19 State Encoding (cont.) Prioritized adjacency: assigns adjacent encodings to all states with common source, common destination, or common output – Highest: states with the same next-state since the same next- state code will appear in adjacent entries in the K-map – Second: the next-states of the same state since they also may appear adjacent in the K-map – Third: states that have the same output value for the same input value since they may be adjacent in the output K-map

20 State Encoding (cont.) Possible state encoding for module-3 counter: – A: minimum-bit change/prioritized adjacency – B: simplified output logic – C: Hot-one encoding

21 State Encoding (based on Encoding A)

22 Choice of memory elements Select the type of flip-flops from: D, SR, JK, T Derive the required flip-flop’s input value for every present-next state pair; then derive the excitation equations: J 1 K 1 J 0 K 0 J 1 = Q 0 ’CD + Q 0 CD’ = (C’ + Q 0 D + Q 0 ’D’) K 1 = C J 0 = Q 1 CD + Q 1 ’CD’ = (C’ + Q 1 ’D + Q 1 D’) K 0 = C

23 The Circuit: Modulo-3 Up-Down Counter