ISE Verilog HDL programming implements m-sequence generation and detects "1010"