parameter N = 32'd25000000;reg [31:0]count;reg clk_1M;reg rst;always@(posedge clk_50M)begin if(rst == 1) begin clk_1M <= 0; cout <= 0; end else if(count == N) clk_1M <= ~ clk_1M;end