Behavioral Equivalence

Slides:



Advertisements
Similar presentations
Regular Expression Manipulation FSM Model
Advertisements

CS 140 Lecture 10 Sequential Networks: Implementation Professor CK Cheng CSE Dept. UC San Diego 1.
TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
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.
Digital Logic Design Lecture 27.
Lecture # 14 Theory Of Automata By Dr. MM Alam 1.
ECE 331 – Digital System Design
Equivalence, DFA, NDFA Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 2 Updated and modified by.
Morphisms of State Machines Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 7 Updated and adapted.
Regular Languages Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 3 Comments, additions and modifications.
CS 140L Lecture 7 Professor CK Cheng 11/12/02. Transformation between Mealy and Moore Machines Algorithm: 1) For each NS, z = S i, j create a state S.
Orderings and Bounds Parallel FSM Decomposition Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 10 Update and modified by Marek.
NFA- to NFA conversion. Purpose This presentation presents an example execution of the algorithm which takes as input an NFA with -transitions and produces.
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.
Behavioral Equivalence Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 7 Modifications and updates.
1 COMP541 State Machines Montek Singh Feb 8, 2012.
Sequential Circuits. Combinational Circuits + Storage element output depends both on previous state and input Fig. 5-1.
State Machines.
ECE2030 Introduction to Computer Engineering Lecture 16: Finite State Machines Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering.
Sequential Logic Materials taken from: Digital Design and Computer Architecture by David and Sarah Harris & The Essentials of Computer Organization and.
Lecture 4 – State Machine Design 9/26/20081ECE Lecture 4.
CSC312 Automata Theory Lecture # 19 Chapter # 8 by Cohen Finite Automata with Output.
1 Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 1 Adaptation to this.
ECE 3130 – Digital Electronics and Design Lab 6 State Machines Fall 2012 Allan Guan.
Lecture # 15 Theory Of Automata By Dr. MM Alam 1.
Unit 13 Analysis of Clocked Sequential Circuits Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information.
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.
Morphisms of State Machines Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 8 Updated and adapted.
Sequential Circuit: Analysis BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
CEC 220 Digital Circuit Design Timing Analysis of State Machines
Registers; State Machines Analysis Section 7-1 Section 5-4.
CEC 220 Digital Circuit Design Mealy and Moore State Machines Friday, March 27 CEC 220 Digital Circuit Design Slide 1 of 16.
Lecture # 15. Mealy machine A Mealy machine consists of the following 1. A finite set of states q 0, q 1, q 2, … where q 0 is the initial state. 2. An.
CMPSC 16 Problem Solving with Computers I Spring 2014 Instructor: Tevfik Bultan Lecture 4: Introduction to C: Control Flow.
Mealy and Moore Machines Lecture 8 Overview Moore Machines Mealy Machines Sequential Circuits.
Lecture # 16. Applications of Incrementing and Complementing machines 1’s complementing and incrementing machines which are basically Mealy machines are.
Lecture 15: Theory of Automata:2014 Finite Automata with Output.
1 Clocked synchronous seq. circuits A.k.a. “state machines” Use edge-triggered flip-flops All flip-flops are triggered from the same master clock signal,
Finite State Machines Mealy machine inputs Outputs next state function
Sequential Networks and Finite State Machines
Behavioral Equivalence
Introduction to Sequential Logic Design
ANALYSIS OF SEQUENTIAL CIRCUITS
Lecture 13 Derivation of State Graphs and Tables
CS 352 Introduction to Logic Design
Deterministic FA/ PDA Sequential Machine Theory Prof. K. J. Hintz
COMP541 Sequential Logic – 2: Finite State Machines
Digital Design Lecture 9
FINITE STATE MACHINES (FSMs)
Sequential logic circuits
Equivalence, DFA, NDFA Sequential Machine Theory Prof. K. J. Hintz
Sequential Networks and Finite State Machines
Jaya Krishna, M.Tech, Assistant Professor
CSE 370 – Winter Sequential Logic-2 - 1
CSE322 Mealy and Moore Machine
Regular Expression Manipulation FSM Model
Lecture 20 Logistics Last lecture Today HW6 due Wednesday
Lecture 14: State Tables, Diagrams, Latches, and Flip Flop
Lecture 22 Logistics Last lecture Today HW7 is due on Friday
Lecture 17 State Machine Design Using SM Chart
Finite Automata with Output
Sub: Theoretical Foundations of Computer Sciences
Lecture 22 Logistics Last lecture Today HW7 is due on Friday
Mealy and Moore Machines
Theory of Computation Lecture 23: Turing Machines III
Presentation transcript:

Behavioral Equivalence Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 7 Modifications and updates by Marek Perkowski

Behavioral Equivalence “Black Box” View of Machines M1 I1 O1 M2 I2 O2

Behavioral Equivalence Two machines, M1 and M2, are behaviorally equivalent iff The sets of inputs are the same, I1 = I2, The sets of outputs are the same, O1 = O2 and, there exists a behavioral equivalence relation (which is not necessarily injective) between the states...

Behavioral Equivalence

Behavioral Equivalence To show that R is a behavioral Equivalence, it is necessary to show that:

Behavioral Equivalence sj R(s1) a a s1 sk R R M1 M2

Behavioral Equivalence Example

Behavioral Equivalence Example 2/1 b 1/0 b

Behavioral Equivalence Example 2/1 b a 1/0 b M1 a B/1 b A/0 a b b C/0

Behavioral Equivalence Example Since This Is a Moore Machine, It Is Only Necessary to Check Each State, i.e., For Mealy Machine, Also Need to Check For Each Input.

Equivalence of Outputs M2 a 2/1 b a 1/0 b M1 a B/1 b A/0 a b b C/0

Verifying Morphism Need also to verify relation

Verifying Morphism a M2 a 2/1 b a 1/0 b M1 a B/1 b A/0 a b b C/0

How to check Behavioral Equivalence of Moore/Mealy Constructive Approach Moore to Mealy (easy)

Moore State a a b Sk/0k b c c

Mealy State Sk a/oo b/ok c/ok a/ok b/op c/oq

Mealy to Moore Conversion Construct a New Set of States Consisting of Each Present State Combined With Each of the Possible Outputs. Some of the States With Outputs May Not Be Reachable. A More Sophisticated Method Would Generate a New Set of States Consisting Only of Those State/Output Combinations Reached by the Head of an Arrow.

Mealy to Moore Conversion

Mealy to Moore Conversion

Mealy State Table

Equivalent Moore State Table