![]() ![]() |
Jun 19 2008, 03:26 PM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 12-February 07 Member No.: 1,250 |
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 |
|
|
|
Jun 19 2008, 03:47 PM
Post
#2
|
|
|
Advanced Member ![]() ![]() ![]() Group: Admin Posts: 348 Joined: 4-January 05 Member No.: 3 |
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 -------------------- Ralph Bodenner
Impulse Accelerated Technologies, Inc. |
|
|
|
Aug 17 2008, 07:37 PM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 7-July 08 Member No.: 1,800 |
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: CODE ... 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. |
|
|
|
Aug 18 2008, 09:03 PM
Post
#4
|
|
|
Advanced Member ![]() ![]() ![]() Group: Impulse Staff Posts: 237 Joined: 20-April 06 Member No.: 594 |
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: CODE ... 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. |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 8th September 2010 - 08:24 PM |