blob: 443c17cf99486ae2c2def4e2fbe360e058b0e84c (
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
|
library ieee;
use ieee.std_logic_1164.all;
package a2 is
generic(
size: positive
);
subtype t is std_logic_vector(size-1 downto 0);
end package a2;
entity test2 is
end test2;
architecture dataflow of test2 is
package p is new work.a2 generic map(
size => 3
);
begin
entities:
for i in 0 to 7 generate
signal a: p.t;
begin
end generate entities;
end dataflow;
|