To implement sequence detector which investigates input w and will produce the output z if:
- w is "0010" during last 4 consecutive clock cycles, or
- w is "100" during last 3 consecutive clock cycles.
Sequence detector should be negative-edge triggered Mealy machine with minimum number of states.
Software: Vivado Xilinx 2020.1
Hardware: Basys 3 Artix-7 FPGA Board