E1.3 Codigo - quartus
CÓDIGO
library ieee;
use ieee.std_logic_1164.all;
entity E_1_3 is
port
(A, B, C: in std_logic;
G: out std_logic);
end E_1_3;
architecture db of E_1_3 is
signal S1: std_logic_vector (2 downto 0);
begin
S1 <= A & B & C;
with S1 select
G <= '1' when "011" | "110" | "111",
'0' when others;
end db;
Comentarios
Publicar un comentario