计数0到99
always@(posedge Clk or posedge rst_p2)begin if(rst_p2) cnt <= 0; else cnt <= (cnt < 'd100) ? cnt + 1'd1 : cnt; end