fpga: tools: Fix HLS IP builder for Vivado 2021.1

Original-commit: 9300a0718274ede56cda3f48e43c9f0e1df4674b
This commit is contained in:
Humberto Jimenez
2022-08-25 13:55:30 -05:00
committed by skooNI
parent 959ce49389
commit f53e3f27fc
3 changed files with 7 additions and 12 deletions
+2 -1
View File
@@ -13,6 +13,7 @@
# Prereqs:
# - TOOLS_DIR must be defined globally
# -------------------------------------------------------------------
BUILD_VIVADO_HLS_IP = \
@ \
echo "========================================================"; \
@@ -28,7 +29,7 @@ BUILD_VIVADO_HLS_IP = \
cd $(5); \
echo "BUILDER: Building HLS IP..."; \
export VIV_ERR=0; \
vivado_hls -f $(call RESOLVE_PATH,$(TOOLS_DIR)/scripts/viv_generate_hls_ip.tcl) -l $(1).log || export VIV_ERR=$$?; \
vitis_hls -f $(call RESOLVE_PATH,$(TOOLS_DIR)/scripts/viv_generate_hls_ip.tcl) -l $(1).log || export VIV_ERR=$$?; \
$(TOOLS_DIR)/scripts/shared-ip-loc-manage.sh --path=$(5)/$(1) release; \
exit $$(($$VIV_ERR))