aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/case01/case07.vhdl
blob: deecf1e75fd7f8d57abd089ccea38ae02efec9bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
library ieee;
use ieee.std_logic_1164.all;

entity case07 is
  port (a : std_logic_vector (4 downto 0);
        o : out std_logic);
end case07;

architecture behav of case07 is
begin
  process (a)
  begin
    with a select o <=
      '1' when "00000",
      '0' when others;
  end process;
end behav;