Add missing incrementer to PWM control

PWM now tested to work correctly.
parent b4895510
......@@ -255,6 +255,7 @@ module simple_pwm #(
pwm_out_reg <= 0;
end
pwm_counter <= pwm_counter + 1;
pwm_clock_div_counter <= 0;
end else begin
pwm_clock_div_counter <= pwm_clock_div_counter + 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment