`timescale 1ns/1ns module sequence_detect( input clk, input rst_n, input a, output reg match ); reg [3:0] state,next_state; localparam BIT1 = 4'b0000, /*8'b0000_0000,*/ BIT2 = 4'b0001, /*8'b0000_0001,*/ BIT3 = 4'b0010, /*8'b0000_0011,*/ BIT4 = 4'b0011, /*8'b0000_0111,*/ BIT5 = 4'b...