Jump to content


Floating Point Library Error in Xilinx ISE


  • You cannot reply to this topic
3 replies to this topic

#1 xsound

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 10 November 2009 - 12:56 PM

Grettings,

I created a FIR filter in CoDeveloper and exported it to Xilinx Generic VHDL (with floating point support). When I compiled the files, the program gave me an error saying that the floating point components were invalid. I poked around and found that the new version of the floating point libraries for Xilinx is 5.0. So I changed the version to 5. This is the library declaration in my code:

library XilinxCoreLib;
use XilinxCoreLib.floating_point_v5_0_comp.all;

and this is an example of the component created by CoDeveloper:

xilinx_fadd : floating_point_v5_0
generic map(
c_has_add => 1,
c_a_width => 32,
c_a_fraction_width => 24,
c_b_width => 32,
c_b_fraction_width => 24,
c_result_fraction_width => 24,
c_result_width => 32,
c_has_ce=> 1,
c_has_operation_nd => 1,
c_rate => 1,
c_latency => 3)

My problem is that now there is an error saying: "Library unit floating_point_v5_0_comp is not available in library XilinxCoreLib"

Please help me. Thanks in advance.

#2 meix

    Advanced Member

  • Impulse Staff
  • PipPipPip
  • 32 posts

Posted 12 November 2009 - 09:44 PM

Hello xsound,

If you want to use the floating point component in your design in ISE, you need to first generate the IP core using Xilinx Core Generator utility. CoreGen is an ISE accessory. In CoreGen, you can specify all the feature for the component. A bunch of VHD, VHO, XCO, NGC or EDN files will be generated for you. The VHD file shows the VHDL interface for the component. To use it, try to copy the XCO, EDN or NGC file to your ISE project folder, then add it to your ISE project.

Hope this helps.

Mei


QUOTE (xsound @ Nov 10 2009, 12:56 PM) <{POST_SNAPBACK}>
Grettings,

I created a FIR filter in CoDeveloper and exported it to Xilinx Generic VHDL (with floating point support). When I compiled the files, the program gave me an error saying that the floating point components were invalid. I poked around and found that the new version of the floating point libraries for Xilinx is 5.0. So I changed the version to 5. This is the library declaration in my code:

library XilinxCoreLib;
use XilinxCoreLib.floating_point_v5_0_comp.all;

and this is an example of the component created by CoDeveloper:

xilinx_fadd : floating_point_v5_0
generic map(
c_has_add => 1,
c_a_width => 32,
c_a_fraction_width => 24,
c_b_width => 32,
c_b_fraction_width => 24,
c_result_fraction_width => 24,
c_result_width => 32,
c_has_ce=> 1,
c_has_operation_nd => 1,
c_rate => 1,
c_latency => 3)

My problem is that now there is an error saying: "Library unit floating_point_v5_0_comp is not available in library XilinxCoreLib"

Please help me. Thanks in advance.



#3 chie0017

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 02 September 2011 - 06:57 AM

QUOTE (meix @ Nov 13 2009, 01:44 PM) <{POST_SNAPBACK}>
Hello xsound,

If you want to use the floating point component in your design in ISE, you need to first generate the IP core using Xilinx Core Generator utility. CoreGen is an ISE accessory. In CoreGen, you can specify all the feature for the component. A bunch of VHD, VHO, XCO, NGC or EDN files will be generated for you. The VHD file shows the VHDL interface for the component. To use it, try to copy the XCO, EDN or NGC file to your ISE project folder, then add it to your ISE project.

Hope this helps.

Mei


Hi, I am having a similar problem, but in my case I'm using EDK and the error message below appeared when I try to generate the bitstream:

ERROR:HDLCompiler:104 - "PATH_TO_EDK_PROJECT/EDK/pcores/impulse/hdl/vhdl/float_ll.vhd" Line 46: Cannot find <floating_point_v4_0_comp> in library <xilinxcorelib>. Please ensure that the library was compiled, and that a library and a use clause are present in the VHDL file.

The PSP I used was Xilinx MicroBlaze FSL, with "floating point library" box ticked.

If the solution is similar, can anyone tell me how to do it in XPS?

Thanks in advance!

#4 etrexel

    Advanced Member

  • Impulse Staff
  • PipPipPip
  • 260 posts

Posted 19 September 2011 - 04:54 PM

Hi,
What version of CoDeveloper are you using? and what device are you targeting? If it is a Virtex-6, Spartan-6, or newer, then due to a change in the floating point cores provided by Xilinx, you will require the latest version of CoDeveloper 3.70.b.x along with a patch available by emailing support@impulsec.com.

Best Regards,
Ed
Ed Trexel
Impulse Accelerated Technologies, Inc.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users