1. Design a state machine with one input w, and two outputs x, and y to detect the sequence 0,1,0 and determine if the number of zeros is even or odd. The number of zeros should be checked before detection starts, during detection, and after detection takes place. In other words all the zeroes inputted. The output x outputs a 1 if the number of zeros is even, otherwise it outputs a 0. The output y is equal to one when the sequence is detected, otherwise it is equal to zero. Design this state machine as a Moore model. Submit the homework in the format given for the experiments and available to you right at the top under the syllabus. 2. Implement the same problem but this time define the output as a Mealy model