同一个always块中实现时钟双电平或者双边沿触发信号跳变
always @(*)begin if(!rst_n) sync = 1'b0; else case(state) St_set: begin if(clk_30M) sync = 1'b1; else sync = sync; end 5'd16 : begin...