Steps to Generate and Run HIL Demo Data - Steps to Generate and Run HIL Demo Data - 2025.2 English - XD100

Vitis Tutorials: AI Engine Development (XD100)

Document ID
XD100
Release Date
2026-03-27
Version
2025.2 English

Step #1: Start MATLAB and change directory to the MatlabClient folder and open the Configuration/systemConfig.m file.

Step #2: Configure or update the highlighted system parameters in Configuration/systemConfig.m according to your system preferences, and save the file.

figure

The following diagram is helpful to understand how the system preferences configure signal geometry. The system implements a ULA. \((x,y)\) Cartesian coordinates identify source locations. They move with a velocity in that plane with respect to the boresight of the ULA.

figure

Step #3: Configure or update the highlighted MUSIC parameters in Configuration/musicConfig.m according to your designed algorithm preferences and save the file.

figure

Step #4: Run the genSnapshots.m script. The script generates snapshots and stores them in the Snapshots folder. This script applies MUSIC on the batch snapshots and saves the data under the MusicResults folder.

figure

Step #5: It is possible that some generated snapshots fall outside the coverage zone. In these cases, tune the parameters to make sure all snapshots fall within the coverage zone.

figure

Step #6: Configure or update the highlighted parameters in Configuration/hilCfg.m and save the file.

figure

Step #7: Configure or update the IP address and port number in TcpIp/getIpAddr.m and save the file.

figure

Step #8: Run the sendSnapshots.m script. The generated snapshots will be sent to the remote server. The client enters listening mode and waits for a response from the server. Once the response is received, MATLAB models launch visualization as shown in the following figure.

figure

The TCP/IP server remains in listening mode for a fixed amount of time, while the client is performing data visualization. If the server receives no new data from the TCP/IP client during the wait time window, the server sends the previous responses again, and MATLAB performs data visualization. To send new data, send the clear client command as shown in the following figure and go to Step #2.

figure