`timescale 1ns/1ns module sequence_detect( input clk, input rst_n, input a, output reg match ); //序列缓存法 reg [8:0] input_reg; always@(posedge clk ...