This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to use: | |
# 0. Include this file in a Makefile | |
# 1. Make sure XILINX_VITIS env variable is set. | |
# 2. Run 'make file.v', where 'file.cpp' exists and 'file' is the name of the top function | |
# 3. Inspect the result in file_xil_prj | |
# HW | |
XILINX_VITIS?=/opt/Xilinx/Vitis/2021.1 | |
XILINX_SETTINGS=$(XILINX_VITIS)/settings64.sh | |
XILINX_HLS_RUN=source $(XILINX_SETTINGS); vitis_hls |