issue with report of 'Unused declaration'

Hi sigasi team,

I encountered a situation where Sigasi HDT seems to report an "Unused declaration" even if the signal concerned is used within a port map.

A VHDL-file with the following contents gives "Unused declaration" warning:

library ieee;
use ieee.std_logic_1164.all;
 
entity testme is
port (
	out_a : out std_logic_vector(1 downto 0)
);
end testme;
 
 
library ieee;
use ieee.std_logic_1164.all;
 
entity testme_1 is
end testme_1;
 
architecture RTL of testme_1 is
	signal test1 : std_logic;
	signal test2 : std_logic;
 
begin
	topd_0 : entity work.testme
	port map (
	out_a(0) => test1,
	out_a(1) => test2
	);
end architecture RTL;

Warning is thrown for signal "test1" only.
test2 is not affected.
May be there is an issue when port names occur twice within a port map!?

EDIT: added a simpler example (which actually compiles corectly)

Regards,
Josef

Apparently only the last

Apparently only the last occurrence of the vector is currently seen as a read access.
I have filed it as ticket:708

Thanks for reporting this,
Hendrik.

Fixed

This bug is fixed in the upcoming release.

Post new comment

The content of this field is kept private and will not be shown publicly.
By submitting this form, you accept the Mollom privacy policy.