Professional Documents
Culture Documents
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity Simulacion is
component compuerta1
Port ( A: in STD_LOGIC;
B: in STD_LOGIC;
F: out STD_LOGIC;
);
end component;
-- Señales de salidas
begin
A=> A_S,
B=> B_S,
F=> F_S,
);
process begin
wait;
end process;
end Behavioral;
DISEÑO
--------------------------------------------------------------------------------
-- Documento: 1101756229
-- Fecha:07/09/2020
--------------------------------------------------------------------------------
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;
use IEEE.std_logic_unsigned.all;
entity compuerta1 is
Port ( A: in STD_LOGIC;
B: in STD_LOGIC;
F: out STD_LOGIC;
);
end compuerta1;
begin
-- DISEÑO
F <= A and B;
end Behavioral;