3. Test L1 primitives - 2024.2 English

Vitis Libraries

Document ID
XD160
Release Date
2024-11-29
Version
2024.2 English

To launch the testing process, navigate to the directory L1/tests/hw/. There are three functions under testing in this directory. For each function, there are several test cases with various configurations under ./tests/ directory. For each test case, use the following commands to check the Makefile usage.

make help

Makefile usage example:

make run CSIM=1 CSYNTH=1 COSIM=1 PLATFORM=<FPGA platform> PLATFORM_REPO_PATHS=<path to platform directories>

Command to run the selected tasks for specified device. Valid tasks are ‘CSIM’, ‘CSYNTH’, ‘COSIM’, ‘VIVADO_SYN’, ‘VIVADO_IMPL’.

‘PLATFORM_REPO_PATHS’ variable is used to specify the paths in which the platform files are searched for.

‘PLATFORM’ is case-insensitive and support awk regex. For example:

make run PLATFORM='u280.*xdma' COSIM=1

It can also be an absolute path to a platform file.