aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue937/enot.vhdl
blob: ea583d4ed4d13943153e194c4cdd8651d0c437cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
entity enot is
    port (
        i : in bit;
        x : in boolean;
        o : out bit
    );
end entity;

architecture a of enot is
begin
    process(i, x)
    begin
        if not x then
            o <= i;
        else
            o <= '0';
        end if;
    end process;
end;