Fix KittCarPWM to adjust BIT_LENGTH by reducing it by one

This commit is contained in:
2025-03-25 10:36:34 +01:00
parent 8826072328
commit 58f8384507

View File

@@ -63,7 +63,7 @@ BEGIN
BEGIN
PWM : PulseWidthModulator
GENERIC MAP(
BIT_LENGTH => PERIOD_BIT_LENGTH
BIT_LENGTH => PERIOD_BIT_LENGTH - 1
)
PORT MAP(
reset => reset,