Professional Documents
Culture Documents
Codigo Compuerta and
Codigo Compuerta and
-- Documento: 10767388
-- Fecha: 19022023
--------------------------------------------------------------------------------
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity Simulacion is
--
end Simulacion;
component Compuerta_AND
port ( A : in STD_LOGIC;
B : in STD_LOGIC;
outC : in STD_LOGIC
);
end component;
-- Señales de salidas
signal C : STD_LOGIC;
begin
A => entrada1,
B => entrada2,
outC=> salida1
);
process begin
A <= '0';
B <= '0';
A <= '0';
B <= '1';
A <= '1';
B <= '0';
A <= '1';
B <= '1';
wait;
end process;
end Behavioral;
--------------------------------------------------------------------------------
-- Documento: 10767388
-- Fecha: 19022023
--------------------------------------------------------------------------------
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;
use IEEE.std_logic_unsigned.all;
entity Compuerta_AND is
Port ( A: in STD_LOGIC;
B: in STD_LOGIC;
outC: in STD_LOGIC);
end Compuerta_AND ;
begin
end Behavioral;