Refactor KittCar and KittCarPWM for improved LED control; update simulation settings and add testbench

This commit is contained in:
2025-03-22 17:02:22 +01:00
parent f6c568b416
commit 7b51306696
5 changed files with 145 additions and 72 deletions

View File

@@ -33,10 +33,7 @@ use IEEE.NUMERIC_STD.ALL;
entity PulseWidthModulator is
Generic(
BIT_LENGTH : INTEGER RANGE 1 to 16 := 8;
T_ON_INIT : POSITIVE := 64;
PERIOD_INIT : POSITIVE := 128;
PWM_INIT : STD_LOGIC := '0'
BIT_LENGTH : INTEGER RANGE 1 to 16 := 8
);
Port (
reset : IN STD_LOGIC;