Advertisement
Oleguer

Untitled

Mar 4th, 2022
1,033
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VHDL 0.42 KB | None | 0 0
  1. library IEEE;
  2. use IEEE.std_logic_1164.all;
  3.  
  4. entity and4_vhdl is
  5.  
  6.     port(A : in std_logic;      
  7.          B : in std_logic;
  8.             C : in std_logic;
  9.             D : in std_logic;
  10.          Y : out std_logic);    
  11.  
  12. end and4_vhdl;
  13.  
  14. architecture andLogic of and4_vhdl is
  15.  
  16.  begin
  17.    
  18.     Y <= (not A) AND (not B) AND (not C) AND (not D);
  19.  
  20. end andLogic;
  21.  
  22. -- Aunque se llame AND, tiene quatro entradas en logica negativa --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement