cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
davidcastells
Visitor
Visitor
230 Views
Registered: ‎06-07-2018

Command-line resource Report in Vitis without X (AWS EC2 FPGA Development AMI)

I am implementing some OpenCL kernels using VITIS for AWS F1.

To do the compilation part, I'm using an EC2 instance with the "FPGA Development AMI from Xilinx".

I have to install X but event though vitis_analyzer is failing to run because problems with GUI java libraries. 

 

How can I want to get the resource usage of my [vitis] compiled designs from command line?

0 Kudos
2 Replies
randyh
Xilinx Employee
Xilinx Employee
199 Views
Registered: ‎01-04-2013

It is not clear to me if you are referring to compilation literally (as in v++ --compile), or more generally to refer to the build process (as in v++ --link) to generate the xclbin. If you mean compilation literally, then this function is carried out in Vitis HLS, and you can add some options to add synthesis and implementation to generate more detailed utilization and timing reports using a Tcl script that you can specify using the --hls.post_tcl option as described here: https://www.xilinx.com/html_docs/xilinx2021_1/vitis_doc/vitiscommandcompiler.html#mcj1568640526180__section_iws_cbk_dnb

The commands you specify from Vitis HLS can generate reports that you can access as text files from a command shell, as described here: https://www.xilinx.com/html_docs/xilinx2021_1/vitis_doc/export_rtl_vitis_hls.html#inh1620429470435

If you mean compilation more generally to refer to the overall build process, there are commands you can use to generate specific reports from the Vivado implementation process that you can access from the command shell as described here: https://www.xilinx.com/html_docs/xilinx2021_1/vitis_doc/buildingdevicebinary.html#npr1602449118702

You can also change the level of reporting provided by the tool, though I am not sure if this will provide the utilization information you are looking for: https://www.xilinx.com/html_docs/xilinx2021_1/vitis_doc/buildingdevicebinary.html#qxg1528847265459

davidcastells
Visitor
Visitor
139 Views
Registered: ‎06-07-2018

Thanks for the info. I am referring to complete build.

I'm using the --save-temps flag and the --reports-dir=<dir> flag to create reports

I see that inside the <dir>, after complete build there appears a file names <dir>/link/system_estimate_<kernel name>.xtxt

 

It contains resource information, and some timing information as well. It this the final report  for my OpenCL kernel?

0 Kudos