working implementation

This commit is contained in:
Tiago Batista Cardoso
2025-12-26 12:20:48 +01:00
parent c350456d06
commit 6e000cdcaa
3 changed files with 22 additions and 21 deletions

View File

@@ -15,7 +15,7 @@ architecture sim of tb_traffic_light is
constant clk_period : time := 1000 ns;
begin
-- Instantiate DUT
-- instanciation de l'uut
UUT: entity work.traffic_light
port map (
rst => rst_s,
@@ -25,7 +25,7 @@ begin
red => red_s
);
-- Clock generator
-- horloge
clk_proc: process
begin
while true loop
@@ -36,7 +36,7 @@ begin
end loop;
end process;
-- Stimulus
-- processus
stim_proc: process
begin
-- apply reset