blob: 303d8051634ddc26856bc333db8acfac5e1dd7d5 (
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
26
27
28
29
30
31
32
33
34
35
|
entity foo is
generic (
LENGTH : natural
);
port (
input : in bit_vector(LENGTH - 1 downto 0)
);
end foo;
architecture behave of foo is
begin
end behave;
entity bar is
end entity bar;
architecture behave of bar is
component foo is
port (
input : in bit_vector(7 downto 0)
);
end component;
begin
my_foo : foo
port map (
input => (others => '0')
);
end behave;
configuration cfg of bar is
for cfg
end for;
end cfg;
|