LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine FPGA resources used/available?

After running the FPGA VI, which compiles and loads the the FPGA VI to the FPGA, how can one determine how many resources have been used up on the FPGA itself to 'build' that FPGA VI?

I have looked through the text produced from the compiler and have found things like:

Total equivalent gate count for design: 2058

Is that the resources used? 2058 out of 1,000,000 or so gates?

Is there a way to determine how many resources are remaining on the FPGA? Other than adding up and subtracting?

Thanks in advance!

- Conrad
0 Kudos
Message 1 of 4
(4,809 Views)
Hi,

Have you disabled the compile report option in LabVIEW FPGA? If so, then you are missing a report after compiling that can help with understanding the amount of space on the chip that is used. On the FPGA, the space is quantified by number of slices (5120 slices for the 7831R). Here is a link that describes what the Terminology on the FPGA Compile Report states. Even if you are not viewing the report or have disabled it, there are ways to see what occurred. However, the easiest way is to view the compile report after compiling. To do this, verify that you have the following settings in your LabVIEW.ini file under the [LabVIE
W]
heading:

nirviShowCompileReport=TRUE
nirviShowErrorDialogs=TRUE
nirviShowCompileWarning=TRUE


I hope that this helps,

Mike
Message 2 of 4
(4,808 Views)
Just to clarify mrak1's answer. Near the top of the compile report (it may be on the second page as you scroll down) you'll find a section similar to the following. The number you are interested in is the number of slices and the percentage next to the actual number. This is the most direct indicator of the amount of FPGA space used by your VI.

Christian L

----------------------------------------------------

Status: Successfully Transferred Result

Board Clock of 40.000000MHz Met: Yes (60.096154MHz)

Start Time: 6/8/2004 1:51:45 PM

End Time: 6/8/2004 2:06:58 PM

Device utilization summary:

Number of External IOBs 203 out of 324 62%
Number of LOCed External IOBs 203 out of 203 100%

Number of RAMB16s
16 out of 40 40%
Number of SLICEs 3523 out of 5120 68%

Number of BUFGMUXs 1 out of 16 6%
authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
Message 3 of 4
(4,808 Views)
Thanks Christian and Mike!

Just what I was looking for.

- Conrad
0 Kudos
Message 4 of 4
(4,809 Views)