aws/aws-fpga

Failed when run example: Vitis_Libraries/data_compression/L2/demos/gzip

wanyuzhan opened this issue · 4 comments

I tried to run gzip in Vitis 2021.1 GUI, the path is Vitis_Libraries/data_compression/L2/demos/gzip. The instance is xilinx_aws-vu9p-f1_shell-v04261818_201920_2.xpfm.In this case, I successfully compiled all codes. But I met some errors when I try to lunch SW_EMU, HW_EMU and hw. I am expecting your reply and help.
This is the error.
Screen Shot 2021-08-19 at 6 57 26 PM

Hi @wanyuzhan, can you list all steps that you ran to get to this error?
Were you able to test Vitis builds out in Non GUI mode? https://xilinx.github.io/Vitis_Accel_Examples/2021.1/html/compile_execute.html

Edit to add: Have you tried building the xclbin file based on the Vitis GUI instructions here

Hi Deep,

Thanks for your reply! These following steps show how I built and emulated the
application project.

Screen Shot 2021-08-19 at 6 57 26 PM

Then I try to run them on the command line. First I ran vadd example in
three emulations and got the results after launch. Then I tried to run
gzip. I use these following steps to launch emulation.
git clone https://github.com/aws/aws-fpga.git $AWS_FPGA_REPO_DIR
cd $AWS_FPGA_REPO_DIR
source vitis_setup.sh
cd gzip
make clean
make run TARGET=sw_emu DEVICE=$AWS_PLATFORM all

This is the result for sw-emu.
Screen Shot 2021-08-19 at 7 25 01 PM
Screen Shot 2021-08-19 at 7 25 37 PM

This is the result for hw-emu.
Screen Shot 2021-08-19 at 7 46 58 PM

This is the result for hw.
Screen Shot 2021-08-19 at 7 30 14 PM

Actually I didn't know why it prints “passed”. Shall you explain it to me?
Also, Do these results mean I succeeded? However, when I want to check
results in Vitis Analyzer, it tells me open_trace.csv and
opencl_summary.csv do not exist, so there’s no data in vitis analyzer.
These are all my problems. Looking forward to hearing from you!

Wanyu

Hi @wanyuzhan , I think to get profile data, you need to enable it in the build or xrt.ini.

Can you check this for more info: https://www.xilinx.com/html_docs/xilinx2020_2/vitis_doc/profilingapplication.html

Closing as the thread hasn't received a response in a while. Please re-open if you are still having any issues.

-Deep