03-03-2014 06:09 PM
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
Solved! Go to Solution.
03-03-2014 06:12 PM - edited 03-03-2014 06:16 PM
@Hooovahh wrote:
LabVIEW stores booleans as a U8 in memory according to the article.
http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/how_labview_stores_data_in_memory/
My question is what happens when you develop in FPGA? Specifically if I made 8 lookup tables with the data type being a boolean, does that take the same amount of resources as a single U8 lookup table? Or is it taking as much resources as 8 U8 lookup tables?
I am not 100% sure, but I believe on FPGA a boolean is actually treated as a bit, not a byte. The u8 representation is due to a byte being the smallest addressable unit in a PC type environment. (At least I think this is correct. Someone smarter than me may say otherwise).
03-03-2014 11:36 PM
HERE you can find out exactly how much space is used by different things on the FPGA target.
Normally a logical X-bit structure consumes X bits since FPGA has no limitations in this regard.
Shane.
07-30-2014 08:42 AM
Nice resource, Intaris.
I'm interested in the resource utilization statistics for a Spartan 6, LX 45 (sbRIO-9606). Is that available somewhere else? Should I deduce them from any of the attachments included in the link you provided?
Thanks!
07-31-2014 09:13 AM
Most can be found on the Xilinx website:
http://www.xilinx.com/publications/prod_mktg/Spartan6_Product_Table.pdf
07-31-2014 11:10 AM
@David-H wrote:
Most can be found on the Xilinx website:
http://www.xilinx.com/publications/prod_mktg/Spartan6_Product_Table.pdf
These are the device resources.
What would be great is to have resource utilization charts for more targets.
A few more details in the resource utilization charts would also be nice, e.g. "Scale by Power of 2" is free (uses no resources) when the power is a constant (afaik). How about Index Array when a constant is wired to the index input? What about Rotate?
07-31-2014 10:37 PM
The LabVIEW help states that Index Array and Rotate 1D Array take no clock cycles when constants are used. Perhaps you need to have the FPGA module installed, but I see these details at the end of all the relevant help pages.
08-04-2014 03:10 AM
I'm aware of this, but I think it would be helpful if this information is reflected in the device utilization statistics.
I was not talking about rotate array, just the plain Rotate (for integers). It does not say anything about a constant wired to 'y'. The same for "Logical Shift".
08-04-2014 03:27 AM
08-04-2014 03:45 AM
Thanks, I know, but I wonder if this is true. I would hope it's free when wiring a constant to y (since in this case it's a pure wiring operation).