Introduction - If you have any usage issues, please Google them yourself
A sequence detector, check the data in each clock falling edge. When the din of detection to the input sequence is a 1101 or 0110, the output flag is 1, otherwise the output is 0.