cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1,284 Views
Registered: ‎02-04-2019

NgdBuild:604 - ngc file is not recognized in Linux

Jump to solution

Hello.

I am trying to compile a project written by a colleague of mine but I always get the infamous NgdBuild:604 error.

He developed this project in Windows while I am working in Linux. This is the only difference in the configuration because I have not changed a single bit of the project.

Here some other useful info:

  • ISE version: 14.7 (lin64)
  • Target FPGA: Spartan6 (XC6SLX75)
  • License: WebPack license
  • My OS: Ubuntu 18.04
  • Error: NgdBuild:604 - logical block 'FIFO' with type 'sitcp_fifo' could not be
    resolved. A pin name misspelling can cause this, a missing edif or ngc file,
    case mismatch between the block name and the edif or ngc file name, or the
    misspelling of a type name. Symbol 'sitcp_fifo' is not supported in target
    'spartan6'.

What I have already tried to do:

  1. re add the sitcp_fifo.ngs file to the project
  2. add the file path to the "Macro Search Path"
  3. give permissions 777 to all the files of the project
  4. copy the sitcp_fifo.ngs file to other project folders

I don't have a Windows 7 computer or virtual machine at hand now so that is not an option.

I have also attached the project as I received from my colleague.

Thank you for the help

Giorgio

Screenshot from 2019-03-29 13-51-38.png
0 Kudos
Reply
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
1,224 Views
Registered: ‎05-14-2008

The .ngc file does not need to be added to the project.

The .bld file is the Translate report. Below is from the .bld file in the project archive you attached.

 

Command Line: C:\Xilinx\14.7\ISE_DS\ISE\bin\nt64\unwrapped\ngdbuild.exe
-intstyle ise -dd _ngo -sd src -nt timestamp -uc src/CCC.ucf -p
xc6slx75-fgg676-3 ccc_top.ngc ccc_top.ngd

Reading NGO file
"C:/Users/nchikuma/local/wagasci/Firmware/CCC/ccc_20180619_reverse/ccc_top.ngc"
...
Loading design module "src/sitcp_fifo.ngc"...
Loading design module "src/SiTCP_XC6S_16K_BBT_V100.ngc"...

......

 

From this report, we know that it specifies "-sd src" where .ngc file is in and it has "Loading design module "src/sitcp_fifo.ngc"..." message so that we know the tool finds this .ngc.

 

What is your .bld like when you have the ngcbuild 604 error?

-vivian

 

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------

View solution in original post

6 Replies
Xilinx Employee
Xilinx Employee
1,256 Views
Registered: ‎05-22-2018

Hi @erminio-ottone ,

You need to add the Coregen path to the search paths so that Translate/Map/Par can find the actual block that implements the fifo component. Or move the sitcp_fifo*.ngc file to the project directory.

Please check this AR# link:

https://www.xilinx.com/support/answers/33157.html

Hope the provided information will be helpful.

Thank,

Raj

1,247 Views
Registered: ‎02-04-2019

@rshekhaw 

Thank you very much for the quick reply. I have tried to add the path with the sitcp_fifo.ngc file to Translate and I have also tried to copy the sitcp_fifo.ngc file to the project directory but the error is still there.

I think the problem in the link is different from mine because I don't have any *.srp file in my project directory or subdirectories.

Giorgio

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
1,233 Views
Registered: ‎05-22-2018

Hi @erminio-ottone ,

That is strange because .srp file is nothing but a synthesis log file which should be generated after synthesis in XST.

Also please check this AR# whether this one relates to your issue:

https://www.xilinx.com/support/answers/38262.html

Thanks,

Raj

Xilinx Employee
Xilinx Employee
1,225 Views
Registered: ‎05-14-2008

The .ngc file does not need to be added to the project.

The .bld file is the Translate report. Below is from the .bld file in the project archive you attached.

 

Command Line: C:\Xilinx\14.7\ISE_DS\ISE\bin\nt64\unwrapped\ngdbuild.exe
-intstyle ise -dd _ngo -sd src -nt timestamp -uc src/CCC.ucf -p
xc6slx75-fgg676-3 ccc_top.ngc ccc_top.ngd

Reading NGO file
"C:/Users/nchikuma/local/wagasci/Firmware/CCC/ccc_20180619_reverse/ccc_top.ngc"
...
Loading design module "src/sitcp_fifo.ngc"...
Loading design module "src/SiTCP_XC6S_16K_BBT_V100.ngc"...

......

 

From this report, we know that it specifies "-sd src" where .ngc file is in and it has "Loading design module "src/sitcp_fifo.ngc"..." message so that we know the tool finds this .ngc.

 

What is your .bld like when you have the ngcbuild 604 error?

-vivian

 

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------

View solution in original post

1,208 Views
Registered: ‎02-04-2019

@rshekhaw 

I had already tried the solution 2 of that link without success.

@viviany 

Thank you very much for the hint. The path to the ngc file was correctly set. I solved the issue by changing the ngc file name to lower case. I don't know why in Windows it worked fine even with upper case letters.

0 Kudos
Reply
Professor
Professor
1,194 Views
Registered: ‎08-14-2007

The Windows file system is not case-sensitive.  Linux and other Unix-like systems are case-sensitive.

-- Gabor