aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue2021/repro2.vhdl
blob: 5f59f8dcf548b5732dc5b85cacde1d21ee494f1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
entity repro2 is
end;

architecture ent of repro2 is
  type my_record is record
    field_a : bit_vector;                           -- Parametrized on instantiation
    field_b : bit_vector;
  end record;

  subtype my_record1 is my_record (field_b(3 downto 0));

  signal bar : my_record1(field_a(7 downto 0));
  signal baz : my_record1(field_a(7 downto 0));

begin

end ent;