1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Finite state machine (summarizing)

  1. Aug 3, 2014 #1
    Hello, I have an FSM which has 1 serial input and 4 outputs. The FSM must react to the table attaced in file.
    I can see that if the input is(for example)4 the output is 7(+3).
    I have to draw a state diagram(mealy). I cant solve it. Need some help

    Attached Files:

    • FSM.png
      File size:
      82.3 KB
  2. jcsd
  3. Aug 5, 2014 #2
    I take it that arrow coming in to the top is your clock.

    Have you recognized the function being performed on the serial string?
    If you haven't, look closely. What would you expect if you clocked in 1, 0, 1, 0?

    Since the four outputs are a function of the four bits being clocked in, what do you need to do with those input bits?
    Let's say that the input/output list looked like this:
    0,0,0,0 => 0 0 0 0
    0,0,0,1 => 0 0 0 1
    0,0,1,0 => 0 0 1 0
    0,0,1,1 => 0 0 1 1
    0,1,0,0 => 0 1 0 0
    ... => ...
    What kind of gate would do that for you?
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted

Similar Discussions: Finite state machine (summarizing)