1- A clock generator can get the frequency divisor as its input. Modify the clock generator code to include this input.
2- (Pulse width modulation) The aim of the pulse width modulation (PWM) is to form a digital signal with a constant period but with varying on and off-time values within a period. Write an HLS description to model the basic working principles of the PWM.