design a Mealy type circuit whose response to a binary sequence is to output a 1 iff the current and previous bit are both the same value.
a) Draw a state diagram, showing state, input, output
b)Complete the following table of (input, state, output) for this objective.
x q q* z
0 0
0 1
1 0
1 1
c) Find the system equations and draw a circuit to obtain the desired response, using one or more D flip flops.