The common tool and library pre-requisites that apply across all design flows are documented in the requirements section above.
Recommended design flows are described as follows:
Setup the build environment using the Vitis and XRT scripts.
source /opt/xilinx/Vitis/2021.1/settings64.sh source /opt/xilinx/xrt/setup.sh export PLATFORM_REPO_PATHS=/opt/xilinx/platforms
csh users, please look for corresponding scripts with
.csh suffix and adjust the variable setting command
Setting PLATFORM_REPO_PATHS to the installation folder of platform files can enable makefiles in this library to use DEVICE variable as a pattern. Otherwise, full path to .xpfm file needs to be provided via DEVICE variable.
HLS Cases Command Line Flow¶
cd L1/tests/hls_case_folder make run CSIM=1 CSYNTH=0 COSIM=0 VIVADO_SYN=0 VIVADO_IMPL=0 \ DEVICE=/path/to/xilinx_u280_xdma_201920_3.xpfm
Test control variables are:
CSIMfor high level simulation.
CSYNTHfor high level synthesis to RTL.
COSIMfor co-simulation between software test bench and generated RTL.
VIVADO_SYNfor synthesis by Vivado.
VIVADO_IMPLfor implementation by Vivado.
For all these variables, setting to
1 indicates execution while
0 for skipping.
The default value of all these control variables are
0, so they can be omitted from command line
if the corresponding step is not wanted.