Multi-function digital clock based on VerilogHDL design