blob: 3f3ce9ac430590ba098e81cabaa07bfd26773b25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package gen is
generic (type t);
end gen;
entity e is
end entity;
architecture a of e is
subtype T_DATA is bit_vector(31 downto 0);
type T_DATA_VECTOR is array(natural range <>) of T_DATA;
package pkg is new work.gen generic map (t => t_data_vector (31 downto 0));
begin
end architecture;
|