How do you plan to solve it?
module tick_div4( input wire clk, input wire rst, output reg tick ); reg [1:0] cnt; initial cnt = 0; always @(posedge clk) begin // Write your code here cnt <= (rst ? cnt : cnt + 1); tick <= (cnt == 2'd3); end endmodule