Forum Discussion

JSLY's avatar
JSLY
Icon for New Contributor rankNew Contributor
3 years ago

how do i set quartus to compile VHDL to 2008, tool can't find library float_pkg

I am using quartus prime lite v 21.1 and trying to compile / synthesize and get error

10481 VHDL use Clause error: design library "ieee" does not contain primary unit "float_pkg"

If i look at the directory structure, these files do exist at :

C:\intelFPGA_lite\21.1\quartus\libraries\vhdl\ieee\2008

I tried to set this up in quartus doing tools->options->general->librairies

but this did not help anything, where do i go or how do i set up quartus to point to or use the vhdl 2008 libraries?

4 Replies

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    VHDL2008 support is limited in the Lite edition. That might be what you are running into.

  • I believe that your question has been addressed. With that, I will now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


    Best Regards,

    Richard Tan


    p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.


  • leonardo_forum's avatar
    leonardo_forum
    Icon for Occasional Contributor rankOccasional Contributor

    Hello,


    You can add the VHDL-2008 Support Library to your project (files fixed_pkg_c.vhdl and fixed_float_types_c.vhdl) and add this declaration:

    library ieee_proposed;
    use ieee_proposed.fixed_pkg.all;

    The library is available at https://github.com/FPHDL/fphdl

    Cheers