aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2171/test1.vhdl
blob: daca3322df2148b483c39e3b91d47b8c7d851ae1 (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
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

entity test is
end entity;

architecture rtl of test is
  signal sig  : std_logic;
begin
end architecture;

library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

entity test1 is
end entity;

architecture rtl of test1 is
begin
  g_test : for i in 0 to 1 generate
  begin
    i_test : entity work.test;
  end generate;
  p_proc : process
    alias sig    is <<signal g_test(0).i_test.sig : std_logic>>;
  begin
    wait;
  end process;
end architecture;