aboutsummaryrefslogtreecommitdiff
path: root/src/invgate_equation.vhd
blob: 69e920e63e6ee152218b0ebb2750e82a3b051fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
-------------------------------------------------------------------------------
-- Module     : invgate
-------------------------------------------------------------------------------
-- Author     : Johann Faerber
-- Company    : University of Applied Sciences Augsburg
-------------------------------------------------------------------------------
-- Description: Inverter Gate
--              function modelled by logic equation
-------------------------------------------------------------------------------
-- Revisions  : see end of file
-------------------------------------------------------------------------------
LIBRARY IEEE;
USE IEEE.std_logic_1164.ALL;

ENTITY invgate IS
  PORT (a_i : IN  std_ulogic;           -- data input a
        y_o : OUT std_ulogic            -- data output y
        );
END invgate;

ARCHITECTURE equation OF invgate IS

BEGIN

  y_o <= NOT a_i;

END equation;

-------------------------------------------------------------------------------
-- Revisions:
-- ----------
-- $Id:$
-------------------------------------------------------------------------------