| AR# | 32983 |
| Part | SW-XST |
| Last Modified | 2009-06-24 00:00:00.0 |
| Status | Active |
| Keywords | XST, Spartan-6, Virtex-6, 11.2 , Parser, HDLCompiler:607, Multiple declarations |
Keywords: XST, Spartan-6, Virtex-6, 11.2 , Parser, HDLCompiler:607, Multiple declarations
The following error occurs in XST when I target Virtex-6 or Spartan-6 devices, but I do not have any issues when I target older devices. Why?
ERROR:HDLCompiler:607 -"<file>.vhd" Line xx: Multiple declarations of my_const included via multiple use clauses; none are made directly visible
"<file>.vhd" Line aa. my_const is declared here
"<file>.vhd" Line bb Another match is here
library ieee;
use ieee.std_logic_1164.all;
package pack_0017_1 is
constant my_const: std_logic := '1';
end package;
-----------------------------------
library ieee;
use ieee.std_logic_1164.all;
package pack_0017_2 is
constant my_const: std_logic:= '0';
end package;
-----------------------------------
library ieee;
use ieee.std_logic_1164.all;
library work;
use work.pack_0017_1.all;
use work.pack_0017_2.all;
entity ex_0017 is
port(in_port : in std_logic;
out_port: out std_logic);
end ex_0017;
architecture beh of ex_0017 is
begin
out_port <= in_port and my_const; -- Note: Error points here
end