Introduction - If you have any usage issues, please Google them yourself
Simple state machine design, function is to detect a 5-bit binary sequence " 10010." Taking into account the possibility of overlapping sequences, finite state machines provide a total of eight states (including the initial state IDLE).