Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69574

fpga single versus fixed point

$
0
0

I have read several papers ect on the new "single floating point" in the FPGA versus fixed point.  My basic understanding is the single floating point is simpler and easier to implement but at a cost of space and/or speed on the FPGA.  Also, where timing is a concern you don't want to use the single floating point. 

 

I have tried to optimize my fpga code to the best of my ability by taking out divisions, delaying things that don't need to run fast ect.  But the fundimental question for me remains, which would be the best fpga variable type for my project?

 

I have attached my fpga vi's.  The 9612 fpga.vi is the top level vi.  It has three loops.  The top loop is almost directly off examples for getting a vibration signal.  The second loop down is a loop that is looking at a digital input and setting triggers to calculate a frequency with that output being passed through a gain equation.  The third and fourth loops are slow loops just to pass a couple of indicator through.  And the fifth loop takes a bunch of values and runs them through a gain equation as fast as possible. 

 

The tach (second) loop and the I/O (fifth) loop are my main questions.  What are the opinions, would I be better served with the single floating versus fixed point? 

 

I will probably get 10 reply's that my fpga code suck all the way around.  :smileysad:

 


Viewing all articles
Browse latest Browse all 69574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>