02 Sequence detector and testbench