aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue938/ent.vhdl
blob: 6d38a9548a91a2627bd1ceb91ba88413b2e94b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
entity ent is
    port (
        r : in bit;
        s : in bit;
        q : out bit
    );
end entity;

architecture a of ent is
begin
    process(r, s)
    begin
        if r = '1' then
            q <= '0';
        elsif s = '1' then
            q <= '1';
        end if;
    end process;
end;