Microchip Technology Interview Question

Verilog code for the up-down counter.