blob: 693e77d6cff0b2ccd08bcf2002c92cb5c1c6f4c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package pkg3 is
generic (c : natural);
constant d : natural := c;
end;
entity tb3 is
end tb3;
architecture behav of tb3 is
package p is new work.pkg generic map (c => 3);
begin
assert p.d = 3;
end behav;
|