blob: 0c8a5082754a3595643d485c74eb5f7ab4d8d5c4 (
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 bug is
end entity;
architecture a of bug is
component cmp is
port(o :out bit_vector);
end component;
signal o:bit_vector(4 downto 0);
begin
i_exp: cmp port map(o);
process(o)
begin
report "o event" severity note;
end process;
end architecture;
entity cmp is
port(o :out bit_vector);
end entity;
architecture a of cmp is
signal big_o:bit_vector(255 downto 0);
signal a:bit_vector(4 downto 0);
begin
o <= big_o(a'range);
big_o <= (others => '1') after 5 ns, (others => '0') after 10 ns;
a <= (others => '1') after 20 ns, (others => '0') after 30 ns;
end architecture;
|