aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1379/bar4.vhdl
blob: 6aaf2679159cdba86fea6312cb1439ad7390b31f (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
35
entity foo4 is
  port (
    input : in bit_vector(1 downto 0)
    );
end foo4;

architecture behave of foo4 is
begin
end behave;

entity bar4 is
end entity bar4;

architecture behave of bar4 is
  component foo4 is
  port (
    input : in natural
    );
  end component;

begin

  my_foo : foo4
    port map (
      input => 0
      );
end behave;

configuration cfg of bar4 is
  for behave
    for my_foo : foo4
      use open;
    end for;
  end for;
end cfg;