add the fsm to pwm_generator
ajout gestion des états
add signal for the pwm
add o_pwm instancitiation
clean code