I've recently updated from 18.1 Lite to 20.1 Lite and now my build is failing as all altfp components are missing in the declaration file.
I haven't found anything about deprecation of this use. Do I need to compile this megafunctions by myself or can I define them in every file? Is there another workaround?
What's the recommended way to use those megafunctions? I like the use with a USE statement more than generating every megafunction, this way I have all informations I need in the corresponding *.vhd-file instead of an extra folder with compiled megafunctions I need to update and keep an eye of breaking things when multiple IPs are using the same compiled megafunction.
Thanks for your help
I've attached a component (and the used component "st_driver") that's failing compilation on 20.1 with "Error (10482): VHDL error at measure_trigger_time.vhd(75): object "altfp_div" is used but not declared". It worked completely fine with 18.1 as it is.
When I check the library file under "<quartus install dir>/libraries/vhdl/altera_mf/altera_mf_components.vhd" all altfp_* declarations are missing - they are present in the 18.1 version of this file. I could do the component declaration in each file for my own, but I think that's not how it's supposed to be.
The issue seems to lay deeper:
- Just creating a new library with all the altfp_* component declarations from 18.1 failed with component not found
- Then I tried to use the megafunction compiler to create the used megafunctions. This worked for altfp_div, but alftp_convert just creates an empty *.qip file with not even opening the MegaWizard, failed with "Error (14736): Error: Wizard "ALTFP_CONVERT" cannot be launched."
- Reinstalling Quartus 20.1 did not help
Could you share the design.qar that includes the Quartus project/settings file, qip/qsys, etc? To generate the QAR file, click on Project > Archive Project > Archive.
I received the reply from the team, you may create altera_fp_function in version 18.1 and use that instance in version 20.1. In v18.1, a qip file is also generated which will list all the generated files you need to include in your v20.1 project.
We do not receive any response from you to the previous question/reply/answer that I have provided. This thread will be transitioned 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
My use case is that my VHDL component's port has a fixed fractional width generic which cascades to a generic passed to the alt_fpconvert VHDL component's port. So my complaint is that functionality that worked in the past, and is described in the 2020 version of the manual, no longer works, and we are wedged by Intel when trying to migrate our code base in-between versions. This generics passing down functionality isn't supported by the wizard, assuming of course that the wizard was even working in 20 and or 19, which it isn't.
Furthermore, what is really frustrating is such problems with the FP library exist, and users are documenting them, but they continue to persist year after year.
One possibility is that the floating point IP VHDL component declarations are included in the "pro" quartus and not in the "standard" 19 and 20 quartus I have installed? The per-mutated mix of language, compiler, and device features in the new three tier licensing _is_ a little bit complicated. So perhaps the floating point IP are available only on select recent device families along with full VHDL 2008 fixed/floating point library support included in quartus "pro"?
Searching in the 19.1 and 20.1 "standard" I do see some snippets indicating that support for some of the altfp_xxxx ip might be at least partially embedded therein.
./quartus/libraries/megafunctions/xml_info/altfp_convert_wiz_map.xml:5: <WIZARD_MAP NAME="ALTFP_CONVERT" WIZARD_NAME="ALTFP_CONVERT" MODULE_NAME="altfp_convert" >
$ ls /ade/fpga/altera/19.1/quartus/libraries/megafunctions/xml_info/altfp*info.xml
ls: cannot access /ade/fpga/altera/19.1/quartus/libraries/megafunctions/xml_info/altfp*info.xml: No such file or directory
$ ls /ade/fpga/altera/17.1/quartus/libraries/megafunctions/xml_info/altfp*info.xml
Is there any resolution to this other than use the ones from 18.1? I've found I cannot even open the MegaWizard for the IP that won't upgrade (ALTFP_MULT and ALTFP_CONVERT) that bails out without notice only leaving an "iplauncher_debug.log" file with the line "Fatal Error: The file altfp_mult_info.xml does not exist or cannot be read" It isn't clear from your answers, is this just an Intel " is not going to fix" thing?