Logic Design
Design a Mealy Finite State Machine that detects when a code of 0101 or 1101 is applied to the input.
The system should be continuous, and after the sequence detection, an LED should be switched ON. Perform the simulation to ensure that your design is working using the set of input: 01001011101011101011.
b. Use the Altera board to check if your system is working correctly (choose one input w, the output LEDG, and the clock at your own discretion). Double-check and ensure that the selected LEDG goes ON after the code has been detected.
c. Use a Raspberry Pi to implement the above-described finite state machine and connect an external LED to indicate the output.
The student can do either (a and b) or (a and c).