UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Newbie ambar686
Newbie
6,633 Views
Registered: ‎09-01-2013

VHDL program NgdBuild:604 error

hi !! i was designing a full adder using two half adder using the following program in VHDL programming in Xilinx ISE 9.2i, but constantly i got the same error. please help me. any suggestion is acceptable.

the name of vhd file is fulladd.vhd.

library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;

---- Uncomment the following library declaration if instantiating
---- any Xilinx primitives in this code.
--library UNISIM;
--use UNISIM.VComponents.all;

entity fulladd is
Port ( a1 : in STD_LOGIC;
b1 : in STD_LOGIC;
cin : in STD_LOGIC;
sum : out STD_LOGIC;
car : out STD_LOGIC);
end fulladd;

architecture fullad of fulladd is
component ha
port(a: in std_logic;
b: in std_logic;
sha,cha: out std_logic);
end component;
signal s1,c1,c2:std_logic;
begin
H1: ha port map(a1,b1,s1,c1);
H2: ha port map(s1,cin,sum,c2);
car<=c1 or c2;

end fullad;


the ERROR i m getting is:
ERROR:NgdBuild:604 - logical block 'H1' with type 'ha' could not be resolved. A
pin name misspelling can cause this, a missing edif or ngc file, or the
misspelling of a type name. Symbol 'ha' is not supported in target
'xa9500xl'.
ERROR:NgdBuild:604 - logical block 'H2' with type 'ha' could not be resolved. A
pin name misspelling can cause this, a missing edif or ngc file, or the
misspelling of a type name. Symbol 'ha' is not supported in target
'xa9500xl'.

 

please help me as fast as you can, its my final year project.

Untitled.png
dfs.png
0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
6,624 Views
Registered: ‎09-20-2012

Re: VHDL program NgdBuild:604 error

Hi,

 

Did you add the ha module to the project?

 

The tool is unable to find this ha module and hence it says that it is taking it as black box.

 

At translate level, it actually checks for the ngc/edif og the submodule, if it doesnot find it will error out.

 

So add the submodule definition to the project.

 

Thanks,

Deepika.

Thanks,
Deepika.
--------------------------------------------------------------------------------------------
Google your question before posting. If someone's post answers your question, mark the post as answer with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (the star on the left)
0 Kudos
Moderator
Moderator
6,619 Views
Registered: ‎01-16-2013

Re: VHDL program NgdBuild:604 error

Hello,

 

Please refer this article: http://www.xilinx.com/support/answers/9838.htm 

 

Regards,

Yash

0 Kudos