Mealy vs. Moore Machines Overview

Поделиться
HTML-код
  • Опубликовано: 12 мар 2013
  • An outline of some of the main differences between Moore and Mealy State Machines.
  • НаукаНаука

Комментарии • 129

  • @cheyno237
    @cheyno237 6 лет назад +532

    Damn... a computer science video not done in a thick Indian accent

    • @TheTCM
      @TheTCM 4 года назад +13

      i had to add IN ENGLISH to my search for this one to pop up

    • @peka2478
      @peka2478 4 года назад +8

      yeah, almost a bit disappointing xD

    • @lesleykramer7207
      @lesleykramer7207 4 года назад +2

      ikr?

    • @dayman161172
      @dayman161172 3 года назад

      they are just the best XD

    • @user-ge8hj9br6w
      @user-ge8hj9br6w 3 года назад

      @@dayman161172 no, they aren't

  • @D19051996
    @D19051996 6 лет назад +26

    Incredibly good video, its very short considering that in twelve minutes you will genuinely know the two machines confidently enough to answer questions on them whereas a lecture is typically fifty minutes and you're sometimes still left with questions

  • @BrianFaure1
    @BrianFaure1 7 лет назад +2

    I think I must've watched this same video at least 10 times now over the past 4 years of school. Thank you for the help

  • @exsiyabanele
    @exsiyabanele 5 лет назад +3

    Been surfing on the net for a more understandable explanation for this, I must say this is the best I found so far

  • @mitjtl5738
    @mitjtl5738 9 лет назад +3

    all the comments exactly describe the way i feel
    YOU MADE THIS SO EASY TO UNDERSTAND.
    Wish my prof explained it like you so i didnt have to search for an hour+

  • @vrakitine
    @vrakitine Месяц назад

    When I was earning my master's degree, I heard a lot about finite state machines (FSMs), but it was all theory - like clouds in the sky: there's a lot of water, but you can't drink it. I toiled for three months after graduating until I implemented my first FSM in code in 1981. Now, there is a programming methodology based on this concept - v-agent oriented programming (VAOP) - with many examples of its implementation. It's best to start learning about VAOP with this article on Medium: "Bagels and Muffins of Programming or How Easy It Is to Convert a Bagel into a Black Hole".
    With VAOP, you can implement FSM in any programming language.

  • @Ediolot123
    @Ediolot123 9 лет назад +6

    After this video, I find those really easy to understand, thank you so much!

  • @MexterO123
    @MexterO123 10 лет назад +115

    Thank you! you saved this electrical engineers butt! :D

  • @michaelanderson9118
    @michaelanderson9118 8 лет назад +14

    Nice video Bruce, I thought you did an excellent job explaining the topic. I took a digital logic class in college and learned about Mealy and Moore state machines. Very frequently I receive questions asking what the difference between the two actually is. I think this video answers that very well. It is a little dry and long but if someone is committed to learning the difference between Mealy and Moore machines this is the video for them. Without all the nitpicking this is an excellent educational tool for teaching the differences between Moore and Mealy machines. Thank you for your time.

    • @ohayuhanna
      @ohayuhanna 4 года назад

      This is great feedback, you should also be thanked for putting your time into writing and sharing it

  • @apoorvs781
    @apoorvs781 7 лет назад +27

    Hey man, you should make more videos, yours was the most clearly spoken and easy to understand video i found. :D

    • @bobgames6718
      @bobgames6718 4 года назад

      @@kion3606 ok? so he is indian...

  • @gbernal7100
    @gbernal7100 11 лет назад +1

    Thanks Bruce! I completely forgot this stuff from EEE 120, and am reviewing for EEE 333. great refresher

  • @MotigEx
    @MotigEx 6 лет назад

    Thank you mate, still helps alot in 2018!

  • @agustinvicencio8117
    @agustinvicencio8117 Год назад

    U dont know how much this video helped. Cheers

  • @BeautifulFreakful
    @BeautifulFreakful 8 лет назад +11

    Helpful video, wish my teachers would take 10 minutes to explain things this way. Thanks !

  • @oliver622
    @oliver622 5 лет назад

    Very well explained, Thanks Bruce!

  • @SupremestCommander
    @SupremestCommander 10 лет назад +3

    very well explained, watches this while lecture because guy in front of me was talking crap

  • @turtledrum13
    @turtledrum13 10 лет назад

    Very good explanations. Thank you

  • @pimpaknatsoontorntham4928
    @pimpaknatsoontorntham4928 10 лет назад

    That helps me doing homework a lot :D Thank you!!!

  • @zulraisismail3881
    @zulraisismail3881 8 лет назад +1

    very nice video..its helping me for final exam :)

  • @khaledaldousari3997
    @khaledaldousari3997 6 лет назад +9

    nice explanation, but naming the states (idle, got0, got01, got011) will make more sense and easier to follow

  • @LoLorelando
    @LoLorelando 8 лет назад +1

    Many thanks to you, I'm now starting to understand a lecture I missed :)

  • @spenZorr
    @spenZorr 11 лет назад

    why on the first moore example with the 1's and 0's, having to make the 0,1,1 sequence did it have a arrow going from the 11 over 1 circle to the 10 over 0 circle.

  • @yifengguo9620
    @yifengguo9620 5 лет назад

    That is so clear, thank you

  • @OrianeNana
    @OrianeNana Месяц назад

    This video is amazing and simple it really helped me a lot thankyou!!!

  • @JAYJAYSTARDRAGON
    @JAYJAYSTARDRAGON 2 года назад

    Thanks Bruce!!

  • @karanverma1536
    @karanverma1536 8 лет назад

    NIce Video :) . Clarity in Concepts

  • @williammartin9681
    @williammartin9681 10 лет назад +1

    Great video, thank you for taking the time to create and post it. I have a question about the sequence of 0,1,1 Moore Machine implementation. In the final state, you always go back to the 00 state. But you have a line drawn from 11 to 01. I believe this is a valid transition because from the 11 state, if your next bit is a 0, then it could be the 0 at the beginning of the next 0,1,1 sequence. If in the 11 state and your next bit is a 1, then you would go back to the 00 state. Am I completely wrong and confused?

  • @mrblack8447
    @mrblack8447 Год назад

    Thank you very much, I finally understand it now 😅

  • @cupmike
    @cupmike 11 лет назад +2

    Fantastic video, very informative - but the noise of the scribe scratching the paper is not headphone friendly!

  • @ColeenDove
    @ColeenDove 8 лет назад

    Really great vid!!

  • @tezbirchoudharie5471
    @tezbirchoudharie5471 11 лет назад

    great work....very helpful....!!!!!!

  • @Ricky23289
    @Ricky23289 10 лет назад +1

    So why doesn't my teacher explains in that nice way?
    Nice job! Thanks a lot!!!

  • @PunitJain8695
    @PunitJain8695 3 года назад

    In the moore machine at around 4:00, the output doesn't stay at one. Instead, it's just a very short pulse. Is that a correct transition (automatically moving the machine back to initial state). I think it would instead stay at the 4th state (11)

  • @enhanmai5812
    @enhanmai5812 8 лет назад

    Really appreciate it !

  • @wayneshao4232
    @wayneshao4232 11 лет назад

    This video is sooooooooo nice!!!

  • @dendoumoussama4220
    @dendoumoussama4220 9 лет назад

    this was very helpful . thank you

  • @JustinDiazJokes
    @JustinDiazJokes 11 лет назад

    sir you are the man!

  • @Seifounage
    @Seifounage 2 года назад

    That was helpful, thanks

  • @michel3329
    @michel3329 9 лет назад +12

    Nice example, thanks. But maybe name the states a, b, c, d or something, which makes it look less complicated.

    • @QuickishFM
      @QuickishFM 6 лет назад

      i agree, the 00/01/10/11 for name of state is confusing when you are finding a sequence of 011 for example

    • @khaledaldousari3997
      @khaledaldousari3997 6 лет назад +1

      Actually naming the states (idle, got0, got01, got011) will make more sense and easier to follow

  • @buckg2129
    @buckg2129 6 лет назад

    fantastic

  • @phanindrajosh4395
    @phanindrajosh4395 10 лет назад

    awesome explanation :-)

  • @TheDrivenMind
    @TheDrivenMind 8 лет назад +12

    The "direction bit" is really just another way to store states, yet it's not really part of the state machine.
    Personally, I really don't like that method. Every state should be part of the state machine explicitly.
    Seems like it would be the better practice. It's much simpler and formal.

  • @aisaacp
    @aisaacp 3 года назад

    Thank you king

  • @account618
    @account618 5 лет назад

    Thank you soo much!!!

  • @wenaolong
    @wenaolong 11 лет назад

    It will be interesting to see everyone's response to the final revelation of how this physical universe is fundamentally a finite state machine, but that the consequences of this fact are very personal.

  • @ahmadjaradat3011
    @ahmadjaradat3011 8 месяцев назад

    Incredibly good video

  • @cvttz88
    @cvttz88 11 лет назад

    this really helped me thank you so much .. I hope ill do good in 2 days in the exam thanks alot :)

    • @ThePursuer7
      @ThePursuer7 3 года назад

      You did well?

    • @samizhr4096
      @samizhr4096 3 года назад +1

      That was 7 years ago. But, I did well lol highest grade

    • @ThePursuer7
      @ThePursuer7 3 года назад

      @@samizhr4096 Glad to hear it man :)

  • @assafmeiron697
    @assafmeiron697 8 лет назад

    Great, thank you

  • @awrel2
    @awrel2 11 лет назад

    Thanks for the vid!

  • @monisha4239
    @monisha4239 6 лет назад

    Thank you so much @Bruce_Boatner . This is really helpful to understand the concept clearly.

  • @shrinidhikulkarni5703
    @shrinidhikulkarni5703 5 лет назад

    Great video

  • @andyhitchings8826
    @andyhitchings8826 10 лет назад

    Thanks! Useful :)

  • @sakkedtank3152
    @sakkedtank3152 2 года назад

    you are a boss 😤

  • @user-nt3bg8wm4h
    @user-nt3bg8wm4h 4 года назад +1

    I think the Moore machine for the "Flashing LED 1,2,3,4,3,2,1" is not correct. the author made a mistake in toggling flip-flop. Note that the T (toggle) output changes the flip=flop after one clock cylcle.

  • @malharjajoo7393
    @malharjajoo7393 9 лет назад +2

    Didnt understand the 4 led flash problem ...

  • @noweare1
    @noweare1 3 года назад

    I think more like the moore machine since the state that your in is not during the transition it is after the transition plus it seems to make a cleaner diagram.

  • @ManavKaushal
    @ManavKaushal 9 лет назад +13

    you sound like woody harrelson !

  • @IgorDalik
    @IgorDalik 7 лет назад

    Which books should I use to study this subject?

    • @HarishKumar-gw8bz
      @HarishKumar-gw8bz 7 лет назад

      Igor Andrade morris mano
      roth fundamentals
      Sudhakar Samauel, these are some good books on logic design

  • @RoboticsLive
    @RoboticsLive 7 лет назад

    Thanks..

  • @dariokartal9453
    @dariokartal9453 2 года назад

    Missing are the input labels of the two edges originating from the 11 state: the 11->00 edge should be labeled "1", and the 11->01 edge should be labeled "0."

  • @akashvakil6696
    @akashvakil6696 4 года назад

    Why is toggle bit set to 1 from (state-11)-->( state 10) and (state10)-->(state01)

    • @bruceboatner3877
      @bruceboatner3877  4 года назад

      In the first example of the Moore Machine that sequences the LED's up and down, the toggle bit is set to '1' in State 11 and State 00 in order to toggle (change the state of) the Direction Bit. This causes the state machine to be executed in the desired order, 00, 01, 10, 11, 10, 01, 00, 01 … etc. The output of the toggle flip-flop holds its output of 0 or 1 until it is pulsed with a '1' toggle bit at which time it reverses its output. Notice that the other states reset the toggle register input back to a '0', which has no effect on the flip-flop's output, but prepares it for the next '1' input signal to toggle its Direction Bit output.
      When (in which state or transition) the toggle signal is sent to the Direction Bit flip-flop is dependent on the specific design variation.
      In the two different design approaches, the Direction Bit can be expressly programmed as an output in every state, or it can be done in hardware with the toggle flip-flop. The advantage of doing it with the toggle flip-flop is that a signal needs to be generated only when a change in direction is desired.

  • @kaursingh637
    @kaursingh637 4 года назад

    sir in moore machine we have only input = where as in meanly machine we have both in put and out put --- what is the difference in practical terms ?

    • @bruceboatner3877
      @bruceboatner3877  4 года назад

      The practical difference becomes apparent when you design actual hardware to implement the various solutions. You usually will find that one approach is typically quite a bit easier/convenient to implement than the other, based on the specifics of the problem you are trying to solve. ~bb

    • @kaursingh637
      @kaursingh637 4 года назад

      thank u sir =amarjit =advocate =delhi high court -india

  • @nikodem_____5023
    @nikodem_____5023 Год назад

    Great❤

  • @rogersmith258
    @rogersmith258 2 года назад

    Welp, thanks for the video. I now know the difference between the two but I still do not understand how to make one. Imma take this L on this assignment lol.

  • @al.qasimi
    @al.qasimi 10 лет назад

    THANK YOU SO MUCH

  • @bruceboatner3877
    @bruceboatner3877  11 лет назад

    Thanks :o)

  • @taniaperales9363
    @taniaperales9363 5 лет назад

    thanks ~~~

  • @siddharthjawahar3919
    @siddharthjawahar3919 11 лет назад

    THAT
    IS FOR THE OVERLAPPING CASE

  • @davidzhan5821
    @davidzhan5821 6 лет назад

    danke

  • @user-kp7sw1nf6g
    @user-kp7sw1nf6g 2 года назад

    thank you so much. I wonder if you want to be a prof in my university it would be helpful

  • @KorayUlusan
    @KorayUlusan 3 года назад

    what is he holding

  • @dengan699
    @dengan699 2 года назад +2

    Mealy machine -> pure functional programming
    Moor machine -> imperative programming
    :)

  • @spenZorr
    @spenZorr 11 лет назад

    need a reply asap. can anyone help?

  • @9abdull
    @9abdull 9 лет назад

    THANKS A L O T :)

  • @TheAdlcn
    @TheAdlcn 10 лет назад

    im only at 43. second now and it seems like wonderfull :)

  • @ivansafronov2185
    @ivansafronov2185 3 года назад

    2 minutes and i understood more than in the half year of the curse

  • @SFhavoc
    @SFhavoc 10 лет назад

    He sounds like Woody Harrelson :D

  • @csplinter
    @csplinter 3 года назад

    Good explanation. Please stop scratching the paper with the thing! lol

  • @Ohthesearenthomemade
    @Ohthesearenthomemade 3 года назад

    holy asmr

  • @robertschumann6977
    @robertschumann6977 3 года назад

    Please not that the reset state was missing in the examples.

  • @salvationude-natha398
    @salvationude-natha398 7 месяцев назад

    I don’t understand 😢

  • @user-nt3bg8wm4h
    @user-nt3bg8wm4h 4 года назад

    I think the Moore machine design for counter 1,2,4,8,4,2,1 is wrong becasue the toggle flip-flop change just after clock rising-edge and then the counter maintains the "1000" state for 2 clock cycles which also outputs toggle control signal for 2 clock cycles resulting in toggling T flip-flop two times and you get dir=0 again. Conclusiion: It would not work it will result as 2,4,8,4,8,4,8,4 ,... becasue of Toggling=0->1->0 for consecutive two clock cycle.

  • @megfan1383
    @megfan1383 4 года назад

    sad why do I still not understand

  • @Ricky23289
    @Ricky23289 10 лет назад

    To put some tags on this video for the Germans: Moore-Automat mealy Automat zustandsdiagramm

  • @Kiro_Adel_B
    @Kiro_Adel_B 3 месяца назад +1

    I love the internet

  • @tsyukomi021
    @tsyukomi021 11 лет назад

    i love you

  • @user-nt3bg8wm4h
    @user-nt3bg8wm4h 4 года назад

    I have proved that the state diagram of "flashing 4 LED example" in the video is incorrect by coding in Verilog and simulating it. If you leave your email I can send it to you.

  • @kaursingh637
    @kaursingh637 4 года назад

    sorry sir = I do not under stand difference between moore machine and meanly machine = please be little clear -- thank u sir

  • @no5x937
    @no5x937 2 года назад

    Your Moore state machine has one too many transitions from state 11. Remove the transition from state 11 to state 01.