MODELING, SIMULATION AND VHDL IMPLEMENTATION OF DISTRIBUTIONS BASED PWM CONTROLLER