上升沿和下降沿的捕捉模块 以后算是可以直接用吧 捕捉bt的下降沿 reg bt1; reg bt2; always @(posedge clk or negedge rst_n) if(!rst_n) begin bt1 <= 1'b0; bt2 <= 1'b0;