2. (20 %) We wish to design a circuit that can detect odd 1's in a serial input binary bit
stream. The function can be described more detailed as follows: if the input signal
accumulates odd 1's, the circuit output 1, while it accumulates even 1's, the circuit
outputs 0. (a) Please give the output binary bit stream if the serial input is 001011001110 (the most
right bit is the first bit input to the detector).
001011001110
odd1's detector
(b) Please plot the corresponding state diagram.
(c) Please give the corresponding state table, including present state Q(t), input x, next
state O(t+1), output y and J and K.
(p) Please design the circuit with JK Flip-Flops.