Files
nand2tetris/Nand2tetris_prj/Nand.vhdl
2023-05-01 19:13:45 +02:00

14 lines
250 B
VHDL

library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity NAND_GATE is
Port ( A : in STD_LOGIC;
B : in STD_LOGIC;
O : out STD_LOGIC);
end NAND_GATE;
architecture Behavioral of NAND_GATE is
begin
O <= not (A and B);
end Behavioral;