Verilog implemented stopwatch