summaryrefslogtreecommitdiff
path: root/Example/logic_gates/inverter.vhdl
blob: ee2d8308e0d8bfbd1fa5aeac1667f852ed2f3baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
library ieee;
use ieee.std_logic_1164.all;

entity inverter is
    port ( i: in std_logic;
           o: out std_logic);
end inverter;

architecture beh of inverter is
begin
    o <= not i;
end beh;