NI Home > Community > NI Discussion Forums

LabVIEW FPGA Idea Exchange

Announcements
The NI Idea Exchange is a product feedback forum where NI R&D and users work together to submit ideas, collaborate on their development, and vote for the ones they like best. View all of the NI Idea Exchanges to post an idea or add your opinion on an existing one today!
Manzolli

Default data type Fixed Point (FXP)

Status: New
by Active Participant Manzolli on ‎11-10-2011 06:56 AM

In a FPGA code, when you click in a function (Math, Array or Comparison) to create the first constant, control or indicator, like in an Add function, it's created as a Double (DBL) type, which is not suitable for this target. In this case, it will be better if the data are created as a Fixed Point (FXP). In other cases, like in Array functions, an Integer (I32) may be a better option. One thing is for sure: Should not be a Double!

Comments
by Member heel on ‎11-10-2011 03:17 PM

Good point. But note that floating point support in xilinx is in the pipeline: http://www.xilinx.com/products/intellectual-property/FLOATING_PT.htm. Looking forward to see it in LV-FPGA as well. But for some time this will remain the exception.

by Member JLewis on ‎08-17-2012 05:12 PM

LabVIEW-FPGA floating-point support has arrived in 2012! It only supports SGL precision, so the DBL default is still unsuitable. Even if DBL was supported, it definitely wouldn't be something you would want to present as the canonical FPGA data type.

by Active Participant Manzolli on ‎08-22-2012 11:16 AM

Good point JLewis. I'm posting a new idea suggesting that the default should be SGL.

About LabVIEW FPGA Idea Exchange

Have a LabVIEW FPGA Idea?

  1. Does your idea apply to LabVIEW in general? Get the best feedback by posting it on the original LabVIEW Idea Exchange.
  2. Browse by label or search in the LabVIEW FPGA Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  3. If your idea has not been submitted click New Idea to submit a product idea to the LabVIEW FPGA Idea Exchange. Be sure to submit a separate post for each idea.
  4. Watch as the community gives your idea kudos and adds their input.
  5. As NI R&D considers the idea, they will change the idea status.
  6. Give kudos to other ideas that you would like to see in a future version of LabVIEW FPGA!
Idea Statuses
Top Kudoed Authors
User Kudos Count
6
3
2
2
1