Command-Line Arguments - Command-Line Arguments - 2025.2 English - XD100

Vitis Tutorials: AI Engine Development (XD100)

Document ID
XD100
Release Date
2026-03-27
Version
2025.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.