FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-08-2007, 06:44 PM
Markus Fras
Guest
 
Posts: n/a
Default Xilinx CoreGen fifo - ngdbuild error

Hi everybody,

since one day I am fighting with a Xilinx CoreGen IP. I am using Mentor
Graphics Precision 2006a.101 and Xilinx ISE 9.1. I have a fifo IP
generated the Xilinx CORE Generator.
In my design, I make an instance of the fifo and can simulate it. For
precision, I added two lines to the compilation script:

add_input_file fifo18w16d.v
add_input_file -exclude fifo18w16d.edn

Both files were generated by the Xilinx CORE Generator.
After compilation and synthesis, I call ngdbuild and get the following
error message:


Checking timing specifications ...
Checking expanded design ...
ERROR:NgdBuild:604 - logical block 'inst_fifo/BU2' with type
'fifo18w16d_fifo_generator_v2_3_xst_1' 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 'fifo18w16d_fifo_generator_v2_3_xst_1' is not
supported
in target 'virtex2'.

Partition Implementation Status
-------------------------------

No Partitions were found in this design.

-------------------------------

NGDBUILD Design Results Summary:
Number of errors: 1
Number of warnings: 0


One or more errors were found during NGDBUILD. No NGD file will be written.

Writing NGDBUILD log file "Xilinx_CoreGen.bld"...


What is wrong? BTW, this procedure works fine for dual ported RAM
created with the CORE Generator.

Thank You very much,

Markus Fras
Reply With Quote
  #2 (permalink)  
Old 03-08-2007, 08:39 PM
Sean Durkin
Guest
 
Posts: n/a
Default Re: Xilinx CoreGen fifo - ngdbuild error

Markus Fras wrote:
> Checking timing specifications ...
> Checking expanded design ...
> ERROR:NgdBuild:604 - logical block 'inst_fifo/BU2' with type
> 'fifo18w16d_fifo_generator_v2_3_xst_1' 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 'fifo18w16d_fifo_generator_v2_3_xst_1' is not
> supported
> in target 'virtex2'.

Is there a third file in the coregen-directory? There might be an
..ngc-file called fifo18w16d_fifo_generator_v2_3_xst_1.ngc. If so, you
have to add this to your project as well (also with the -exclude
option). The .edn is then just a wrapper for the .ngc, and is way smaller.

I've had this problem before. Even if I explicitely tell CoreGen that I
want it to create an EDIF-netlist for third-party tools, I always get an
..edn and an .ngc, and I need them both. I don't remember this from
earlier ISE-versions, but I might just not have tried all different
settings.

HTH,
Sean

--
My email address is only valid until the end of the month. Guess what
it's going to be after that...
Reply With Quote
  #3 (permalink)  
Old 03-09-2007, 09:05 AM
Markus Fras
Guest
 
Posts: n/a
Default Re: Xilinx CoreGen fifo - ngdbuild error

Sean Durkin schrieb:
> Markus Fras wrote:
>> Checking timing specifications ...
>> Checking expanded design ...
>> ERROR:NgdBuild:604 - logical block 'inst_fifo/BU2' with type
>> 'fifo18w16d_fifo_generator_v2_3_xst_1' 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 'fifo18w16d_fifo_generator_v2_3_xst_1' is not
>> supported
>> in target 'virtex2'.

> Is there a third file in the coregen-directory? There might be an
> .ngc-file called fifo18w16d_fifo_generator_v2_3_xst_1.ngc. If so, you
> have to add this to your project as well (also with the -exclude
> option). The .edn is then just a wrapper for the .ngc, and is way smaller.
>
> I've had this problem before. Even if I explicitely tell CoreGen that I
> want it to create an EDIF-netlist for third-party tools, I always get an
> .edn and an .ngc, and I need them both. I don't remember this from
> earlier ISE-versions, but I might just not have tried all different
> settings.
>
> HTH,
> Sean
>


Well, Xilinx CoreGen created two additional files:

fifo18w16d_fifo_generator_v2_3_xst_1.ngc
fifo18w16d_fifo_generator_v2_3_xst_1_blkmemdp_v6_2 _xst.edn

Even if I include both of the, I still get the same error message.

The solution is to add the output directory of CoreGen to ngdbuild with
the switch `-sd'. Then you need only to include the *.v file in the
synthesis.

I.e. in the synthesis script only add the line

`add_input_file fifo18w16d.v'


and to the ngdbuild command, add the switch

`-sd <coregen_output_directory>'


Cheers,

Markus Fras
Reply With Quote
  #4 (permalink)  
Old 03-12-2007, 03:19 PM
Sean Durkin
Guest
 
Posts: n/a
Default Re: Xilinx CoreGen fifo - ngdbuild error

Markus Fras wrote:
> Well, Xilinx CoreGen created two additional files:
>
> fifo18w16d_fifo_generator_v2_3_xst_1.ngc
> fifo18w16d_fifo_generator_v2_3_xst_1_blkmemdp_v6_2 _xst.edn
>
> Even if I include both of the, I still get the same error message.
>
> The solution is to add the output directory of CoreGen to ngdbuild with
> the switch `-sd'. Then you need only to include the *.v file in the
> synthesis.

Well, this sets the macro search path for the entire project, and
ngdbuild just takes whatever it needs from there. Works fine if all your
cores are in the same directory, but if they're scattered over several
folders, the only way is to add them all to the project.

If you don't set the macro search path explicitely, ngdbuild assumes the
implementation directory as source directory for all cores. In this
case, Precision has to copy the corresponding files there, which it
should do if you add them to the project with the "-exclude"-option,
that's what that's for.

Don't know why that doesn't work for you, but I've never had any
problems there, as long as I included all the files CoreGen produces.

--
My email address is only valid until the end of the month.
Try figuring out what the address is going to be after that...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xilinx coregen fifo [email protected] FPGA 3 10-12-2006 07:31 PM
Xilinx System Generator problem: ERROR:NgdBuild:604 Yttrium FPGA 1 06-11-2004 07:43 PM
Xilinx CoreGen - java - Windows 2000 error jtw FPGA 0 01-23-2004 07:24 AM


All times are GMT +1. The time now is 04:43 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved