尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
Moore and Mealy
Machines
Present By:
Munib Habib
Roll No: 6233
What is (Finite State Machine)FSM?
A finite state machine is a machine that has many states and has a logical way
of changing from one state to the other under guiding rules.
Types of FSM
Without output (answer true or false)
1. Finite State Automata
- With output
2. Mealy machine
- output on transition
3. Moore machine
- output on state
Mealy Machine
A Mealy Machine is an FSM whose output depends on the present state as well
as the present input. In Mealy machine every transition for a particular input
symbol has a fixed output.
Mealy Machine(Cont.)
• It can be described by a 6 tuple (Q, ∑, O, δ, X, q0) where −
1. Q is a finite set of states.
2. ∑ is a finite set of symbols called the input alphabet.
3. O is a finite set of symbols called the output alphabet.
4. δ is the input transition function where δ: Q × ∑ → Q
5. X is the output transition function where X: Q → O
6. q0 is the initial state from where any input is processed (q0 ∈ Q).
State Diagram of Mealy Machine:
Mealy Transition Table
Moore Machine:
• In Moore machine. the value of output function is depend on the present
state only. Moore machine is described by 6-tuples - (Q, Σ, Δ, δ, λ, q0)
where
1. Q = Finite non-empty set of states;
2. Σ = Set of input alphabets.
3. Δ = Set of output alphabets.
4. δ = Transition function mapping Q X Σ → Q
5. λ = Output function mapping Q → Δ
6. q0 = Initial state..
Moore Transition Table:
• There is no concept of final state in Moore machines we consider output
for each state.
Moore Machine to Mealy Machine
1. Input: Moore Machine
2. Output: Mealy Machine
3. Step 1: Take a blank Mealy Machine transition table format.
4. Step 2: Copy all the Moore Machine transition states into this table format..
5. Step 3: Check the present states and their corresponding outputs in the Moore
Machine state table; if for a state Qi output is m, copy it into the output columns
of the Mealy Machine state table wherever Qi appears in the next state..
Example:
• Let us consider Moore Table
Present State Next State
a=0 a=1
Output
a d b 1
b a d 0
c c c 0
d b a 1
Step 1 & 2
Step 3
Mealy Machine To Moore Machine
1. Input: Mealy Machine
2. Output: Moore Machine
3. Step 1: Calculate the number of different outputs for each state (Qi) that are
available in the state table of the Mealy machine.
4. Step 2: If all the outputs of Qi are same, copy state Qi. If it has n distinct
outputs, break Qi into n states as Qin where n = 0, 1, 2.......
5. Step 3: If the output of the initial state is 1, insert a new initial state at the
beginning which gives 0 output.
Example:
• Let us consider the following Mealy Machine.
Here, states ‘a’ and ‘d’ give only 1 and 0 outputs respectively, so we retain states ‘a’ and ‘d’. But
states ‘b’ and ‘c’ produce different outputs 1and0. So, we divide b into b0, b1 and c into c0, c1.
Conversion Cont.…
Differences between Mealy and Moore state
Machines
Advantages of Mealy and Moore state
Machines
• Moore machines are cheap
• They are easy to use
• Moore state machines are very fast
• Mealy machines are reactive i.e. they have a low response time (they are fast)
Disadvantages of Mealy and Moore state
Machines
• Mealy state machines are expensive to produce
• Number of states can become unmanageable (they become too many)
Uses of Mealy and Moore state Machines
• Mealy state machines are used in processors due to their property of having
many states
• Mealy state machines are also used to provide a rudimentary mathematical
model for cipher machines
• A Moore state machine is used as a right enable in SRAM because of its
speed.
• It is used in SRAM because SRAM needs a level-sensitive control (signal has
to be asserted for an amount of time)
Conclusion
• In conclusion, Mealy and Moore state machines are very important concepts
in digital design
• These state machine can be used in the design of mathematical algorithms
• Mealy and Moore state machines can come in both simple (having one input
and output) to complex (having many inputs and outputs) types

More Related Content

What's hot

Turing Machine
Turing MachineTuring Machine
Turing Machine
Rajendran
 
Mealy Machine by Daniyal Khan
Mealy Machine by Daniyal KhanMealy Machine by Daniyal Khan
Mealy Machine by Daniyal Khan
Daniyal Khan
 
Moore and Mealy machines
Moore and Mealy machinesMoore and Mealy machines
Moore and Mealy machines
Irfan Anjum
 
Introduction TO Finite Automata
Introduction TO Finite AutomataIntroduction TO Finite Automata
Introduction TO Finite Automata
Ratnakar Mikkili
 
Finite State Machine.ppt.pptx
Finite State Machine.ppt.pptxFinite State Machine.ppt.pptx
Finite State Machine.ppt.pptx
SKUP1
 
Turing machine by_deep
Turing machine by_deepTuring machine by_deep
Turing machine by_deep
Deepjyoti Kalita
 
Need of object oriented programming
Need of object oriented programmingNeed of object oriented programming
Need of object oriented programming
Amar Jukuntla
 
NFA to DFA
NFA to DFANFA to DFA
NFA to DFA
Animesh Chaturvedi
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
Tech_MX
 
Theory of computation and automata
Theory of computation and automataTheory of computation and automata
Theory of computation and automata
Prof. Dr. K. Adisesha
 
Mealy and moore machines
Mealy and moore machinesMealy and moore machines
Mealy and moore machines
grahamwell
 
Turing machine - theory of computation
Turing machine - theory of computationTuring machine - theory of computation
Turing machine - theory of computation
Rubaya Mim
 
Turing machine
Turing machineTuring machine
Turing machine
HimanshuSirohi6
 
design of accumlator
design of accumlatordesign of accumlator
design of accumlator
SangeethaSasi1
 
Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)
Animesh Chaturvedi
 
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
Mohammad Ilyas Malik
 
Introduction to Compiler design
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design
Dr. C.V. Suresh Babu
 
Intro automata theory
Intro automata theory Intro automata theory
Intro automata theory
Rajendran
 
Timing and control
Timing and controlTiming and control
Timing and control
chauhankapil
 
Turing Machine
Turing MachineTuring Machine
Turing Machine
Rahul Narang
 

What's hot (20)

Turing Machine
Turing MachineTuring Machine
Turing Machine
 
Mealy Machine by Daniyal Khan
Mealy Machine by Daniyal KhanMealy Machine by Daniyal Khan
Mealy Machine by Daniyal Khan
 
Moore and Mealy machines
Moore and Mealy machinesMoore and Mealy machines
Moore and Mealy machines
 
Introduction TO Finite Automata
Introduction TO Finite AutomataIntroduction TO Finite Automata
Introduction TO Finite Automata
 
Finite State Machine.ppt.pptx
Finite State Machine.ppt.pptxFinite State Machine.ppt.pptx
Finite State Machine.ppt.pptx
 
Turing machine by_deep
Turing machine by_deepTuring machine by_deep
Turing machine by_deep
 
Need of object oriented programming
Need of object oriented programmingNeed of object oriented programming
Need of object oriented programming
 
NFA to DFA
NFA to DFANFA to DFA
NFA to DFA
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
 
Theory of computation and automata
Theory of computation and automataTheory of computation and automata
Theory of computation and automata
 
Mealy and moore machines
Mealy and moore machinesMealy and moore machines
Mealy and moore machines
 
Turing machine - theory of computation
Turing machine - theory of computationTuring machine - theory of computation
Turing machine - theory of computation
 
Turing machine
Turing machineTuring machine
Turing machine
 
design of accumlator
design of accumlatordesign of accumlator
design of accumlator
 
Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)
 
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
 
Introduction to Compiler design
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design
 
Intro automata theory
Intro automata theory Intro automata theory
Intro automata theory
 
Timing and control
Timing and controlTiming and control
Timing and control
 
Turing Machine
Turing MachineTuring Machine
Turing Machine
 

Viewers also liked

Moore and mealy machines
Moore and mealy machinesMoore and mealy machines
Moore and mealy machines
lavishka_anuj
 
Meley & moore
Meley & mooreMeley & moore
Meley & moore
Arif Siyal
 
Mealy state machine
Mealy state machineMealy state machine
Mealy state machine
Arif Siyal
 
Cldch8
Cldch8Cldch8
Cldch8
sealife24
 
Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machine
Shreyans Pathak
 
synchronous state machine design
synchronous state machine designsynchronous state machine design
synchronous state machine design
Adarsh Patel
 
Mealy machine
Mealy machineMealy machine
Mealy machine
Arif Siyal
 
Mgd finite statemachine
Mgd finite statemachineMgd finite statemachine
Mgd finite statemachine
Moroccan game developers
 
Finite state machines
Finite state machinesFinite state machines
Finite state machines
grahamwell
 
What Is Php
What Is PhpWhat Is Php
What Is Php
AVC
 
Affirmative Action
Affirmative ActionAffirmative Action
Affirmative Action
C2 Essentials, Inc.
 
Theoryofcomp science
Theoryofcomp scienceTheoryofcomp science
Theoryofcomp science
Raghu nath
 
Sayısal Devreler 07, Feza BUZLUCA
Sayısal Devreler 07, Feza BUZLUCASayısal Devreler 07, Feza BUZLUCA
Sayısal Devreler 07, Feza BUZLUCA
Feza BUZLUCA
 
Finite automata
Finite automataFinite automata
Finite automata
Pusp Sunar
 
Introduction to State Machines
Introduction to State MachinesIntroduction to State Machines
Introduction to State Machines
codeofficer
 
Affirmative Action
Affirmative ActionAffirmative Action
Affirmative Action
Deepu Kurian, Ph.D
 
Affirmative Action Presentation
Affirmative Action PresentationAffirmative Action Presentation
Affirmative Action Presentation
timothy_m
 
Affirmative Action Info
Affirmative Action InfoAffirmative Action Info
Affirmative Action Info
Mr Ross Miller
 
Affirmative Action Planning 101 for Employers
Affirmative Action Planning 101 for EmployersAffirmative Action Planning 101 for Employers
Affirmative Action Planning 101 for Employers
CAI
 
The Equal Employment Opportunity (EEO) Act – Benefits, Rights and Responsibil...
The Equal Employment Opportunity (EEO) Act – Benefits, Rights and Responsibil...The Equal Employment Opportunity (EEO) Act – Benefits, Rights and Responsibil...
The Equal Employment Opportunity (EEO) Act – Benefits, Rights and Responsibil...
Amelia Figueroa
 

Viewers also liked (20)

Moore and mealy machines
Moore and mealy machinesMoore and mealy machines
Moore and mealy machines
 
Meley & moore
Meley & mooreMeley & moore
Meley & moore
 
Mealy state machine
Mealy state machineMealy state machine
Mealy state machine
 
Cldch8
Cldch8Cldch8
Cldch8
 
Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machine
 
synchronous state machine design
synchronous state machine designsynchronous state machine design
synchronous state machine design
 
Mealy machine
Mealy machineMealy machine
Mealy machine
 
Mgd finite statemachine
Mgd finite statemachineMgd finite statemachine
Mgd finite statemachine
 
Finite state machines
Finite state machinesFinite state machines
Finite state machines
 
What Is Php
What Is PhpWhat Is Php
What Is Php
 
Affirmative Action
Affirmative ActionAffirmative Action
Affirmative Action
 
Theoryofcomp science
Theoryofcomp scienceTheoryofcomp science
Theoryofcomp science
 
Sayısal Devreler 07, Feza BUZLUCA
Sayısal Devreler 07, Feza BUZLUCASayısal Devreler 07, Feza BUZLUCA
Sayısal Devreler 07, Feza BUZLUCA
 
Finite automata
Finite automataFinite automata
Finite automata
 
Introduction to State Machines
Introduction to State MachinesIntroduction to State Machines
Introduction to State Machines
 
Affirmative Action
Affirmative ActionAffirmative Action
Affirmative Action
 
Affirmative Action Presentation
Affirmative Action PresentationAffirmative Action Presentation
Affirmative Action Presentation
 
Affirmative Action Info
Affirmative Action InfoAffirmative Action Info
Affirmative Action Info
 
Affirmative Action Planning 101 for Employers
Affirmative Action Planning 101 for EmployersAffirmative Action Planning 101 for Employers
Affirmative Action Planning 101 for Employers
 
The Equal Employment Opportunity (EEO) Act – Benefits, Rights and Responsibil...
The Equal Employment Opportunity (EEO) Act – Benefits, Rights and Responsibil...The Equal Employment Opportunity (EEO) Act – Benefits, Rights and Responsibil...
The Equal Employment Opportunity (EEO) Act – Benefits, Rights and Responsibil...
 

Similar to Moore and mealy machine

state_machines1.pdf
state_machines1.pdfstate_machines1.pdf
state_machines1.pdf
rdjo
 
Finite state automaton
Finite state automatonFinite state automaton
Finite state automaton
AmmAr mobark
 
MOC2.PPT[1].pptx introduction to mealy machine and moore machine with eample ...
MOC2.PPT[1].pptx introduction to mealy machine and moore machine with eample ...MOC2.PPT[1].pptx introduction to mealy machine and moore machine with eample ...
MOC2.PPT[1].pptx introduction to mealy machine and moore machine with eample ...
PranavHendre1
 
Moorey to mealy conversion
Moorey to mealy conversionMoorey to mealy conversion
Moorey to mealy conversion
Dr. ABHISHEK K PANDEY
 
19-MooreMealy.ppt
19-MooreMealy.ppt19-MooreMealy.ppt
19-MooreMealy.ppt
AhsanRahman13
 
mealy moore machine conversion
mealy moore machine conversion mealy moore machine conversion
mealy moore machine conversion
Chandnigupta80
 
Automata
AutomataAutomata
Automata
Gaurav Sinha
 
melay and moore machine.pptx
melay and moore machine.pptxmelay and moore machine.pptx
melay and moore machine.pptx
ssuser1b2fab
 
Lecture 3
Lecture 3Lecture 3
Lesson 18 Automata .ppt
Lesson 18 Automata .pptLesson 18 Automata .ppt
Lesson 18 Automata .ppt
GeekyHassan
 
20. Saima Ansari-mealy-moore-machine.pptx
20. Saima Ansari-mealy-moore-machine.pptx20. Saima Ansari-mealy-moore-machine.pptx
20. Saima Ansari-mealy-moore-machine.pptx
RidyaGupta1
 
Logic and computer design.ppt
Logic and computer design.pptLogic and computer design.ppt
Logic and computer design.ppt
eissaalesayi1
 
Preparatory_questions_final_exam_DigitalElectronics1 (1).pdf
Preparatory_questions_final_exam_DigitalElectronics1 (1).pdfPreparatory_questions_final_exam_DigitalElectronics1 (1).pdf
Preparatory_questions_final_exam_DigitalElectronics1 (1).pdf
rdjo
 
Lesson 19.ppt
Lesson 19.pptLesson 19.ppt
Lesson 19.ppt
GeekyHassan
 
Automata based programming
Automata based programmingAutomata based programming
Automata based programming
VisnuDharsini
 
19-MooreMealy.ppt
19-MooreMealy.ppt19-MooreMealy.ppt
19-MooreMealy.ppt
priyadarsini47
 
Formalization Machines and Sastes
Formalization Machines and SastesFormalization Machines and Sastes
Formalization Machines and Sastes
Lahiru Danushka
 
Autoata.pptx
Autoata.pptxAutoata.pptx
Autoata.pptx
PratikBose10
 
Plc Robotics
Plc RoboticsPlc Robotics
Plc Robotics
plc_course
 
9920Lec12 FSM.ppt
9920Lec12 FSM.ppt9920Lec12 FSM.ppt
9920Lec12 FSM.ppt
SHASHISHARMA850123
 

Similar to Moore and mealy machine (20)

state_machines1.pdf
state_machines1.pdfstate_machines1.pdf
state_machines1.pdf
 
Finite state automaton
Finite state automatonFinite state automaton
Finite state automaton
 
MOC2.PPT[1].pptx introduction to mealy machine and moore machine with eample ...
MOC2.PPT[1].pptx introduction to mealy machine and moore machine with eample ...MOC2.PPT[1].pptx introduction to mealy machine and moore machine with eample ...
MOC2.PPT[1].pptx introduction to mealy machine and moore machine with eample ...
 
Moorey to mealy conversion
Moorey to mealy conversionMoorey to mealy conversion
Moorey to mealy conversion
 
19-MooreMealy.ppt
19-MooreMealy.ppt19-MooreMealy.ppt
19-MooreMealy.ppt
 
mealy moore machine conversion
mealy moore machine conversion mealy moore machine conversion
mealy moore machine conversion
 
Automata
AutomataAutomata
Automata
 
melay and moore machine.pptx
melay and moore machine.pptxmelay and moore machine.pptx
melay and moore machine.pptx
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lesson 18 Automata .ppt
Lesson 18 Automata .pptLesson 18 Automata .ppt
Lesson 18 Automata .ppt
 
20. Saima Ansari-mealy-moore-machine.pptx
20. Saima Ansari-mealy-moore-machine.pptx20. Saima Ansari-mealy-moore-machine.pptx
20. Saima Ansari-mealy-moore-machine.pptx
 
Logic and computer design.ppt
Logic and computer design.pptLogic and computer design.ppt
Logic and computer design.ppt
 
Preparatory_questions_final_exam_DigitalElectronics1 (1).pdf
Preparatory_questions_final_exam_DigitalElectronics1 (1).pdfPreparatory_questions_final_exam_DigitalElectronics1 (1).pdf
Preparatory_questions_final_exam_DigitalElectronics1 (1).pdf
 
Lesson 19.ppt
Lesson 19.pptLesson 19.ppt
Lesson 19.ppt
 
Automata based programming
Automata based programmingAutomata based programming
Automata based programming
 
19-MooreMealy.ppt
19-MooreMealy.ppt19-MooreMealy.ppt
19-MooreMealy.ppt
 
Formalization Machines and Sastes
Formalization Machines and SastesFormalization Machines and Sastes
Formalization Machines and Sastes
 
Autoata.pptx
Autoata.pptxAutoata.pptx
Autoata.pptx
 
Plc Robotics
Plc RoboticsPlc Robotics
Plc Robotics
 
9920Lec12 FSM.ppt
9920Lec12 FSM.ppt9920Lec12 FSM.ppt
9920Lec12 FSM.ppt
 

Recently uploaded

Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
felixwold
 
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
aarusi sexy model
 
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
simrangupta87541
 
Data Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdfData Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdf
Kamal Acharya
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
Lubi Valves
 
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book NowKandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
SONALI Batra $A12
 
CSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdfCSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdf
Ismail Sultan
 
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
nonods
 
Call Girls Goa (india) ☎️ +91-7426014248 Goa Call Girl
Call Girls Goa (india) ☎️ +91-7426014248 Goa Call GirlCall Girls Goa (india) ☎️ +91-7426014248 Goa Call Girl
Call Girls Goa (india) ☎️ +91-7426014248 Goa Call Girl
sapna sharmap11
 
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl LucknowCall Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
yogita singh$A17
 
BBOC407 Module 1.pptx Biology for Engineers
BBOC407  Module 1.pptx Biology for EngineersBBOC407  Module 1.pptx Biology for Engineers
BBOC407 Module 1.pptx Biology for Engineers
sathishkumars808912
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
gapboxn
 
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
dulbh kashyap
 
Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7
Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7
Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7
sexytaniya455
 
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptxMODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
NaveenNaveen726446
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
AK47
 
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Banerescorts
 
Technological Innovation Management And Entrepreneurship-1.pdf
Technological Innovation Management And Entrepreneurship-1.pdfTechnological Innovation Management And Entrepreneurship-1.pdf
Technological Innovation Management And Entrepreneurship-1.pdf
tanujaharish2
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
drshikhapandey2022
 
College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...
College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...
College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...
Ak47
 

Recently uploaded (20)

Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
 
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
 
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
 
Data Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdfData Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdf
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
 
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book NowKandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
 
CSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdfCSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdf
 
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
 
Call Girls Goa (india) ☎️ +91-7426014248 Goa Call Girl
Call Girls Goa (india) ☎️ +91-7426014248 Goa Call GirlCall Girls Goa (india) ☎️ +91-7426014248 Goa Call Girl
Call Girls Goa (india) ☎️ +91-7426014248 Goa Call Girl
 
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl LucknowCall Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
 
BBOC407 Module 1.pptx Biology for Engineers
BBOC407  Module 1.pptx Biology for EngineersBBOC407  Module 1.pptx Biology for Engineers
BBOC407 Module 1.pptx Biology for Engineers
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
 
Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7
Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7
Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7
 
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptxMODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
 
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
 
Technological Innovation Management And Entrepreneurship-1.pdf
Technological Innovation Management And Entrepreneurship-1.pdfTechnological Innovation Management And Entrepreneurship-1.pdf
Technological Innovation Management And Entrepreneurship-1.pdf
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
 
College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...
College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...
College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...
 

Moore and mealy machine

  • 1. Moore and Mealy Machines Present By: Munib Habib Roll No: 6233
  • 2. What is (Finite State Machine)FSM? A finite state machine is a machine that has many states and has a logical way of changing from one state to the other under guiding rules.
  • 3. Types of FSM Without output (answer true or false) 1. Finite State Automata - With output 2. Mealy machine - output on transition 3. Moore machine - output on state
  • 4. Mealy Machine A Mealy Machine is an FSM whose output depends on the present state as well as the present input. In Mealy machine every transition for a particular input symbol has a fixed output.
  • 5. Mealy Machine(Cont.) • It can be described by a 6 tuple (Q, ∑, O, δ, X, q0) where − 1. Q is a finite set of states. 2. ∑ is a finite set of symbols called the input alphabet. 3. O is a finite set of symbols called the output alphabet. 4. δ is the input transition function where δ: Q × ∑ → Q 5. X is the output transition function where X: Q → O 6. q0 is the initial state from where any input is processed (q0 ∈ Q).
  • 6. State Diagram of Mealy Machine:
  • 8. Moore Machine: • In Moore machine. the value of output function is depend on the present state only. Moore machine is described by 6-tuples - (Q, Σ, Δ, δ, λ, q0) where 1. Q = Finite non-empty set of states; 2. Σ = Set of input alphabets. 3. Δ = Set of output alphabets. 4. δ = Transition function mapping Q X Σ → Q 5. λ = Output function mapping Q → Δ 6. q0 = Initial state..
  • 9. Moore Transition Table: • There is no concept of final state in Moore machines we consider output for each state.
  • 10. Moore Machine to Mealy Machine 1. Input: Moore Machine 2. Output: Mealy Machine 3. Step 1: Take a blank Mealy Machine transition table format. 4. Step 2: Copy all the Moore Machine transition states into this table format.. 5. Step 3: Check the present states and their corresponding outputs in the Moore Machine state table; if for a state Qi output is m, copy it into the output columns of the Mealy Machine state table wherever Qi appears in the next state..
  • 11. Example: • Let us consider Moore Table Present State Next State a=0 a=1 Output a d b 1 b a d 0 c c c 0 d b a 1
  • 12. Step 1 & 2
  • 14. Mealy Machine To Moore Machine 1. Input: Mealy Machine 2. Output: Moore Machine 3. Step 1: Calculate the number of different outputs for each state (Qi) that are available in the state table of the Mealy machine. 4. Step 2: If all the outputs of Qi are same, copy state Qi. If it has n distinct outputs, break Qi into n states as Qin where n = 0, 1, 2....... 5. Step 3: If the output of the initial state is 1, insert a new initial state at the beginning which gives 0 output.
  • 15. Example: • Let us consider the following Mealy Machine. Here, states ‘a’ and ‘d’ give only 1 and 0 outputs respectively, so we retain states ‘a’ and ‘d’. But states ‘b’ and ‘c’ produce different outputs 1and0. So, we divide b into b0, b1 and c into c0, c1.
  • 17. Differences between Mealy and Moore state Machines
  • 18. Advantages of Mealy and Moore state Machines • Moore machines are cheap • They are easy to use • Moore state machines are very fast • Mealy machines are reactive i.e. they have a low response time (they are fast)
  • 19. Disadvantages of Mealy and Moore state Machines • Mealy state machines are expensive to produce • Number of states can become unmanageable (they become too many)
  • 20. Uses of Mealy and Moore state Machines • Mealy state machines are used in processors due to their property of having many states • Mealy state machines are also used to provide a rudimentary mathematical model for cipher machines • A Moore state machine is used as a right enable in SRAM because of its speed. • It is used in SRAM because SRAM needs a level-sensitive control (signal has to be asserted for an amount of time)
  • 21. Conclusion • In conclusion, Mealy and Moore state machines are very important concepts in digital design • These state machine can be used in the design of mathematical algorithms • Mealy and Moore state machines can come in both simple (having one input and output) to complex (having many inputs and outputs) types
  翻译: