50MHZ时钟20ns周期。延时100ns就是五个周期搜耐兄。
reg[2:0] cnt;
always@(posedge clk or nengedge reset)
if(!reset)
cnt <= 0;
else if(cnt == 5 \\(或世袭)!reverve)这里两个竖线打出来亩春是斜的
cnt <= 0;
else
cnt <= cnt + 1'b1;
always@(posedge clk or nengedge reset)
if(!reveive)
send <= 0;
else if(cnt == 5)
send <= 1;
else
send <= send;