aboutsummaryrefslogtreecommitdiff
path: root/sem6/dig/m2/ex3.vhdl
blob: 8b3603ab4b4d1fac0445329107172952c05b886a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- TEST_START{"inputs": ["a", "b"], "outputs": ["o"], "testin": ["00", "01", "10", "11"]}TEST_STOP
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.all;

ENTITY ex3 IS
    PORT(
        a: IN STD_LOGIC;
        b: IN STD_LOGIC;
        o: OUT STD_LOGIC);
END ex3;

ARCHITECTURE impl OF ex3 IS
BEGIN
    o <= a and b;
END impl;