title: State diagram and Transition table for a Moore machine
body: <p>I have drawn a mealey machine for this circuit, with two states, however I can't draw a Moore machine state diagram, I don't understand how to do this.</p>
  
  <p>The circuit is as follows : </p>
  
  <p>The circuit is a Moore machine with one binary input X and one binary output Y . The output Y
  depends on the two values of X sampled at the two most recent clock pulses. Y should always
  be the result of the XOR combination of these two input values.</p>
  
  <p>So, basically, if the state is 1 and the input is 1, it goes to 0. If it is 0 and it get's a 1, then it goes to 1. It goes to 1 as long as it is the opposite of it's state.</p>
  
  <p>How is this represented on a state diagram? What about a transition table?</p>