I am trying to rebuild the base overlay from the PYNQ Kria github.
I think there is a problem because the Kv260/base/Makefile mix two versions of vivado
- First, the line first stage in the makefile is:
pynq_hls: make -C ../../pynq/boards/ZCU104/base/ hls_ip
which try to build the hls ip repo using the ZCU104/base/Makefile , this Makefile run the script “build_ip.tcl” that call the vitis_hls (2022.1)
- The second stage of the Kv260/base/Makefile stages run the “base.tcl” script
block_design: vivado -mode batch -source $(overlay_name).tcl -notrace
which is for vivado 2020.2
So, when I run “make” in the Vivado 2020 command prompt I get the following error:
C:\data\xilinx_prj\Kria-PYNQ-main\kv260\base>make make -C ../../pynq/boards/ZCU104/base/ hls_ip make: Entering directory 'C:/data/xilinx_prj/Kria-PYNQ-main/pynq/boards/ZCU104/base' vivado -mode batch -source build_ip.tcl -notrace ****** Vivado v2020.1 (64-bit) **** SW Build 2902540 on Wed May 27 19:54:49 MDT 2020 **** IP Build 2902112 on Wed May 27 22:43:36 MDT 2020 ** Copyright 1986-2020 Xilinx, Inc. All Rights Reserved. source build_ip.tcl -notrace Building color_convert_2 IP couldn't execute "vitis_hls": no such file or directory INFO: [Common 17-206] Exiting Vivado at Sat Oct 21 00:11:42 2023... makefile:13: recipe for target 'hls_ip' failed make: *** [hls_ip] Error 1 make: Leaving directory 'C:/data/xilinx_prj/Kria-PYNQ-main/pynq/boards/ZCU104/base' Makefile:21: recipe for target 'pynq_hls' failed make: *** [pynq_hls] Error 2
Please, could you give a solution?