Closed m-kru closed 3 years ago
I am trying to compile the vadd example provided with Vitis 2020.2. As I want to prepare my custom Makefile I have started with super simple stuff. I first run
v++ --platform xilinx_u50_gen3x16_xdma_201920_3 -c src/example/kernel/krnl_vadd.cpp -o build/krnl_vadd.xo
It seems to work correctly. Then, I run
v++ -l --platform xilinx_u50_gen3x16_xdma_201920_3 build/krnl_vadd.xo -o bin/ExampleKrnl.xclbin
However, during the built I get following error:
ERROR: [v++ 60-1576] Input Object file validation failed: zip_exception: Failed to open zip archive for reading build/krnl_vadd.xo
I have tried to google the problem, but without success. Theoretically I use OS which is supported by Xilinx, Ubuntu 20.04.
Does anyone know what might be wrong?
SOLVED:
I have been missing the --kernel flag.
--kernel
Anyway, the error message was useless.
I am trying to compile the vadd example provided with Vitis 2020.2. As I want to prepare my custom Makefile I have started with super simple stuff. I first run
It seems to work correctly. Then, I run
However, during the built I get following error:
I have tried to google the problem, but without success. Theoretically I use OS which is supported by Xilinx, Ubuntu 20.04.
Does anyone know what might be wrong?