David Buechner mentioned that there is beta floating point support for Altera FPGAs. Are Cyclone-III devices supported? If so, how do I use floating point arithmetic (just code "double")?
Thanks,
Wayne
Floating Point for Altera?
Started by Wayne, Jun 19 2008 03:26 PM
3 replies to this topic
#1
Posted 19 June 2008 - 03:26 PM
#2
Posted 19 June 2008 - 03:47 PM
Hi Wayne,
Yes, floating-point support for Altera devices, including Cyclone III, is to be available in the next release of CoDeveloper. To use it, just use the float or double types as usual, with the built-in C operators. You'll also have to select "Use floating-point library" in the Impulse C project options, and possible the "Allow double-precision types and operators" option.
I'll email you separately with a patch to give you the Beta library for CoDeveloper 3.10.b.9.
Regards,
Ralph
Yes, floating-point support for Altera devices, including Cyclone III, is to be available in the next release of CoDeveloper. To use it, just use the float or double types as usual, with the built-in C operators. You'll also have to select "Use floating-point library" in the Impulse C project options, and possible the "Allow double-precision types and operators" option.
I'll email you separately with a patch to give you the Beta library for CoDeveloper 3.10.b.9.
Regards,
Ralph
Ralph Bodenner
Impulse Accelerated Technologies, Inc.
Impulse Accelerated Technologies, Inc.
#3
Posted 17 August 2008 - 07:37 PM
Hi,
I have a project which works with integer numbers in Altera Stratix II GX chip. I'm planning to add floating point support to this project.
However, when I turn "Include floating point library" option on for PSP Altera Generic (Verilog) I’m getting the following error:
For PSP Altera Generic (VHDL) the hardware is generated correctly, though.
In both cases I didn't even declare a single floating type yet.
Is there a limitation in floating point support for Altera Verilog?
I’m using Impulse CoDveloper Application Manager Altera Edition 3.20.a.5
Thanks,
Maxim.
I have a project which works with integer numbers in Altera Stratix II GX chip. I'm planning to add floating point support to this project.
However, when I turn "Include floating point library" option on for PSP Altera Generic (Verilog) I’m getting the following error:
CODE
...
Undefined library float
Analyzing correlation:
............ done 12 blocks
make: *** [Correlator_C.xhw] Error 1
Undefined library float
Analyzing correlation:
............ done 12 blocks
make: *** [Correlator_C.xhw] Error 1
For PSP Altera Generic (VHDL) the hardware is generated correctly, though.
In both cases I didn't even declare a single floating type yet.
Is there a limitation in floating point support for Altera Verilog?
I’m using Impulse CoDveloper Application Manager Altera Edition 3.20.a.5
Thanks,
Maxim.
#4
Posted 18 August 2008 - 09:03 PM
QUOTE (Maxim @ Aug 17 2008, 09:37 PM) <{POST_SNAPBACK}>
Hi,
I have a project which works with integer numbers in Altera Stratix II GX chip. I'm planning to add floating point support to this project.
However, when I turn "Include floating point library" option on for PSP Altera Generic (Verilog) I'm getting the following error:
For PSP Altera Generic (VHDL) the hardware is generated correctly, though.
In both cases I didn't even declare a single floating type yet.
Is there a limitation in floating point support for Altera Verilog?
I'm using Impulse CoDveloper Application Manager Altera Edition 3.20.a.5
Thanks,
Maxim.
I have a project which works with integer numbers in Altera Stratix II GX chip. I'm planning to add floating point support to this project.
However, when I turn "Include floating point library" option on for PSP Altera Generic (Verilog) I'm getting the following error:
CODE
...
Undefined library float
Analyzing correlation:
............ done 12 blocks
make: *** [Correlator_C.xhw] Error 1
Undefined library float
Analyzing correlation:
............ done 12 blocks
make: *** [Correlator_C.xhw] Error 1
For PSP Altera Generic (VHDL) the hardware is generated correctly, though.
In both cases I didn't even declare a single floating type yet.
Is there a limitation in floating point support for Altera Verilog?
I'm using Impulse CoDveloper Application Manager Altera Edition 3.20.a.5
Thanks,
Maxim.
Hi,
Thus far the Altera libraries as supplied by Altera are VHDL only and an investigation into whether Verilog may be supportted has yet to occur. The error that you are seeing is that the Verilog PSP does not reference the floating point library that is specified by checking the "Include floating point library" option.
Ed
Ed Trexel
Impulse Accelerated Technologies, Inc.
Impulse Accelerated Technologies, Inc.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











