summaryrefslogtreecommitdiff
path: root/VHDL/and_nghdl.vhdl
blob: 3d482016c7ce083cfb8b0c1c16c654120e91775a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
library ieee;
use ieee.std_logic_1164.all;

entity and_nghdl is
       port (e : in  std_logic_vector(0 downto 0); 
             f : in  std_logic_vector(0 downto 0);
             g : out std_logic_vector(0 downto 0)); 
     end and_nghdl;
     
     architecture rtl of and_nghdl is
     begin
        
        g <= e and f;
        
     end rtl;