cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

Custom Floating Point Unit

Custom Floating Point Unit



0 / 5 (0 votes cast)

The floating point unit attached to this page is an ongoing project to adding hardware accelerated floating point capabilities to Nios II. The implementation is rather old so I'll need to update it and add new features. Altera does not support this floating point unit so use it at your own risk.

Feature set:

  • Addition
  • Subtration
  • Multiplication
  • Division (I recommend updating the hardware file to use the new divider in Quartus II)
  • Typecasts (unsigned int --> float, int --> float, float --> unsigned int, float --> int)
  • Logical Operators (>, >=, <, <=, ==, !=)

NOTE: Make sure you use the 8.0 or later Nios II compiler with this hardware

To learn more about getting the compiler to recognize this hardware refer to the readme.txt file in the file YAFPU.zip

Attachments
Version history
Last update:
‎06-25-2019 03:57 PM
Updated by:
Contributors