Refactor PulseWidthModulator entity parameters and update README for project setup

This commit is contained in:
2025-03-24 13:16:39 +01:00
parent 68ca4a6ea2
commit ac8b35ff73
3 changed files with 38 additions and 29 deletions

View File

@@ -33,10 +33,10 @@ 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
-- T_ON_INIT : POSITIVE := 64;
-- PERIOD_INIT : POSITIVE := 128;
-- PWM_INIT : STD_LOGIC := '0'
);
Port (
reset : IN STD_LOGIC;