Chargement…
Chargement…
The PWM generator produces a periodic signal whose duty cycle is controlled by i_duty. The signal period is set by the g_clk_hz and g_pwm_hz generics. The output is active when the internal counter is below the duty value.
Reset is asynchronous and active-high.
g_clk_hz (default 100,000,000) and g_pwm_hz (default 1,000)i_clki_reseti_dutyunsigned)o_pwm