AN 501: Pulse Width Modulation Using Altera MAX Series