Académique Documents
Professionnel Documents
Culture Documents
Experiment :1
AIM: Implementation of VHDL code for Traffic Light Controller.
VHDL CODE:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity tfcontroller is
Port ( clk : in STD_LOGIC;
rst : in STD_LOGIC;
Green : out STD_LOGIC;
Red : out STD_LOGIC;
Yellow : out STD_LOGIC);
end tfcontroller;
RTL REPORT:
Simulation Waveform: