Command-Line Arguments - 2023.2 English

Vitis Tutorials: AI Engine (XD100)

Document ID
XD100
Release Date
2024-03-05
Version
2023.2 English

The beamformer.cpp file takes two command line arguments:

./beamformer.exe <argv[1]> a.xclbin

The a.xclbin is the AI Engine PDI. You can specify the <argv[1]> variable for the program to execute a different test. Below is a table of the test options:

argv[1] Description
0
  • Reset/ Load AIE
  • Functional test for N iter
  • Reset/ Load AIE
  • Functional test for N iter
  • Reset/load AIE
  • PERF test with one input and one output PLIO of each sub graph
1
  • Reset/ Load AIE
  • Functional test for 100k iterations with data integrity test every N iterations
  • Reset/ Load AIE
  • PERF test for all PLIOs
2 Continuously run the functional test for an infinite number of iterations. To exit, hit Ctrl+C. This does not guarantee graceful exit. System reboot is required. This mode helps measure the power of the system while it runs continuously.