add tb for pwm_generator