verilog code for synthesizable ssd counter