09-20-2009 11:59 PM
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
Solved! Go to Solution.
09-21-2009 09:58 AM
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
09-22-2009 12:47 AM
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.
09-22-2009 02:01 AM
Thanks to you both..