Updated pwm, top module for W1 works