VERILOG based PWM