Design a MEALY MACHINE sequence detector state machine that outputs a 1 whenever the sequence 01 or 10 is detected in its input stream:
1. Draw state diagram
2. Perform state assignment
3. Drive minimized state equations
4. Implement the design using LogicWorks
5. Perform a simulation of your design in LogicWorks and show the timing diagram
6. Perform the same steps but this time for MOORE Machine