LabVIEW FPGA Idea Exchange

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!
Top Kudoed Authors
User Kudos Count
2
1
Showing results for 
Search instead for 
Did you mean: 

Default data type Fixed Point (FXP)

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!

3 Comments
Member heel
Member

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.

Member JLewis
Member

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.

Active Participant Manzolli Active Participant
Active Participant

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