blob: 67f0d6b62de57857fdc33a2cc920e8822e704b66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
entity asd is
end entity;
architecture aa of asd is
type ia is array (natural range <>) of integer;
function a return ia is
begin
return (1,2);
end function;
function a (s : integer) return ia is
begin
return (1,2);
end function;
signal ad : integer;
begin
ad <= a(1);
end architecture;
|