LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

report generation for FPGA VI

Solved!
Go to solution

Hello..

 

 

              I want to include the number of resources used by FPGA (LUTs, slices, blockrams etc) in my report generation. 

After compilation is completed, a window showing these resources will occur. But, how can I add this compilation report in my report generation...

 

 

Please let me know..

 

 

Thanks

Prashanth

0 Kudos
Message 1 of 4
(2,661 Views)
Solution
Accepted by topic author prashiit

Hi Prashanth

 

One idea would be to copy the data from the Device Utilization Summary file into your report. See this KB for more info and a sample of the file layout (which is pretty complex, sorry) The path in the KB presumes you have LV FPGA 8.5, if you have for example LV 2009 the path would be:

 

"C:\NIFPGA2009\srvrTmp\localhost\<your project folder>\toplevel_gen_xst.log"

 

You have to remember that this file only holds the info for the last compile so you will only be able to get info from that compile, but that should be enough if I understand your intent correctly.

 

Best Regards

 

David

NISW

0 Kudos
Message 2 of 4
(2,640 Views)

Hi

 

I made a small code which helps you achieve this functionality.

Hope it helps!

 

In this code: I read from "toplevel_gen_xst.log" file generated for the project; search for the string "Device utilization summary" and extract the part of interest 😉 Now you add this extract to your report compiled using report generation toolkit.

 

  

regards,

Ravi.

 

Download All
Message 3 of 4
(2,616 Views)

Thanks to you both..

 

 

 

0 Kudos
Message 4 of 4
(2,603 Views)