| AR# | 32981 |
| Part | SW-XST |
| Last Modified | 2009-06-24 00:00:00.0 |
| Status | Active |
| Keywords | XST, Spartan-6, Virtex-6, 11.2 , Parser, HDLCompiler:377 |
Keywords: XST, Spartan-6, Virtex-6, 11.2 , Parser, HDLCompiler:377
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:377 - "<file>.vhd" Line xx: Entity port in_port does not match with type std_logic_vector of component port
"<file>.vhd" Line xx: in_port is declared here
Example code:
library ieee;
use ieee.std_logic_1164.all;
entity subb_0014 is
port(in_port : in bit_vector(3 downto 0);
out_port: out bit_vector(3 downto 0));
end subb_0014;
architecture beh of subb_0014 is
begin
out_port <= in_port;
end;
------------------------------------------
library ieee;
use ieee.std_logic_1164.all;
entity ex_0014 is
port(in_port : in std_logic_vector(3 downto 0);
out_port: out std_logic_vector(3 downto 0));
end ex_0014;
architecture beh of ex_0014 is
component subb_0014 is
port(in_port : in std_logic_vector(3 downto 0);
out_port: out std_logic_vector(3 downto 0));
end component;
begin
inst : subb_0014 port map(in_port => in_port, out_port=>out_port);
end;