uaveiro-leci/1ano/2semestre/lsd/aula01/part2/GateDemo.vhd.bak

19 lines
391 B
VHDL
Raw Normal View History

library IEEE;
use IEEE.STD_LOGIC_1164.all;
entity GateDemo is
port (
SW : in std_logic_vector(1 downto 0);
LEDR : out std_logic_vector(1 downto 0)
);
end GateDemo;
architecture Shell of GateDemo is
begin
system_core: entity work.AND2Gate(Behavioral)
port map(
inPort0 => SW(0),
inPort1 => SW(1),
outPort => LEDR(0),
);
end Shell;