Mealy vs. Moore Machines Overview

Поделиться
HTML-код
  • Опубликовано: 4 дек 2024

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

  • @cheyno237
    @cheyno237 7 лет назад +577

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

    • @TheTCM
      @TheTCM 5 лет назад +18

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

    • @peka2478
      @peka2478 5 лет назад +10

      yeah, almost a bit disappointing xD

    • @lesleykramer7207
      @lesleykramer7207 5 лет назад +2

      ikr?

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

      they are just the best XD

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

      @@dayman161172 no, they aren't

  • @D19051996
    @D19051996 7 лет назад +28

    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 8 лет назад +4

    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 6 лет назад +4

    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+

  • @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

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

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

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

    U dont know how much this video helped. Cheers

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

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

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

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

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

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

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

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

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

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

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

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

  • @michel3329
    @michel3329 10 лет назад +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

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

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

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

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

  • @OrianeNana
    @OrianeNana 6 месяцев назад

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

  • @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.

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

    Thank you mate, still helps alot in 2018!

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

    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)

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

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

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

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

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

    Didnt understand the 4 led flash problem ...

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

    Very well explained, Thanks Bruce!

  • @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.

  • @보물-s7t
    @보물-s7t 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.

  • @gachle
    @gachle 4 месяца назад

    This is gold. Thanks!

  • @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?

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

    Very good explanations. Thank you

  • @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.

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

    what is he holding

  • @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 :)

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

    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."

  • @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.

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

    Thank you very much, I finally understand it now 😅

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

    Incredibly good video

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

    Which books should I use to study this subject?

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

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

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

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

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

    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  5 лет назад

      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 5 лет назад

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

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

    NIce Video :) . Clarity in Concepts

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

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

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

      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.

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

    Thanks Bruce!!

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

    That is so clear, thank you

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

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

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

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

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

    you sound like woody harrelson !

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

    This video is sooooooooo nice!!!

  • @vrakitine
    @vrakitine 6 месяцев назад

    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.

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

    That was helpful, thanks

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

    sir you are the man!

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

    I love the internet

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

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

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

    Great video

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

    Really great vid!!

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

    THAT
    IS FOR THE OVERLAPPING CASE

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

    this was very helpful . thank you

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

    Really appreciate it !

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

    Thank you king

  • @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

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

    awesome explanation :-)

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

    fantastic

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

    you are a boss 😤

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

    Great, thank you

  • @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.

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

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

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

    Thank you soo much!!!

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

    3:09

  • @salvationude-natha398
    @salvationude-natha398 Год назад

    I don’t understand 😢

  • @보물-s7t
    @보물-s7t 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.

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

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

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

    need a reply asap. can anyone help?

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

    Great❤

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

    Thanks for the vid!

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

    Thanks! Useful :)

  • @보물-s7t
    @보물-s7t 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.

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

    danke

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

    Thanks..

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

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

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

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

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

    thanks ~~~

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

    sad why do I still not understand

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

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

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

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

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

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

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

    Thanks :o)

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

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

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

    THANK YOU SO MUCH

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

    holy asmr

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

    He sounds like Woody Harrelson :D

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

    THANKS A L O T :)

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

    i love you