summaryrefslogtreecommitdiff
path: root/VHDL/or_nghdl.vhdl
blob: 92e36a8a196ab57827bb07e6ad1afc4938c57ca6 (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 or_nghdl is
       port (x : in  std_logic_vector(0 downto 0); 
             y : in  std_logic_vector(0 downto 0);
             z : out std_logic_vector(0 downto 0)); 
     end or_nghdl;
     
     architecture rtl of or_nghdl is
     begin
        
        z <= x or y;
        
     end rtl;