FPGA AI Suite: Design Examples User Guide

ID 848957
Date 4/30/2025
Public
Document Table of Contents

19.8.2. [SOC] Running the S2M Mode Demonstration Application

To run the S2M (streaming) mode demonstration application, you need two terminal connections to the host.

You must know the host name of the SoC FPGA development kit. If you do not know the development kit host name, go back to [SOC] Determining the SoC FPGA Development Kit IP Address before continuing here.

To run the streaming demonstration application:
  1. Open an SSH connection to the SoC FPGA development kit:
    1. Start a new terminal session
    2. Run the following command:
      build-host:$ ssh <devkit_hostname>

      Where <devkit_hostname> is the host name you determined in [SOC] Determining the SoC FPGA Development Kit IP Address.

      Continuing the example from [SOC] Determining the SoC FPGA Development Kit IP Address, the following command would open an SSH connection:
      build-host:$ ssh arria10-62747948036a.local
  2. Repeat step 1 to open a second SSH connection to the SoC FPGA development kit.
  3. In a terminal session, run the following commands:
    cd /home/root/app
    ./run_inference_stream.sh
  4. In the other terminal session, run the following commands:
    cd /home/root/app
    ./run_image_stream.sh
The first terminal session (where you ran the run_inference_stream.sh command) then shows output similar to the following example:
root@arria10-ea80b8d770e7:~/app# ./run_inference_stream.sh
Runtime arch check is enabled. Check started...
Runtime arch check passed.
Runtime build version check is enabled. Check started...
Runtime build version check passed.
Ready to start image input stream.
1 - class ID 776, score = 58.4
2 - class ID 968, score = 90.7
3 - class ID 769, score = 97.8
4 - class ID 769, score = 97.8
5 - class ID 872, score = 99.8
6 - class ID 954, score = 94.4
7 - class ID 954, score = 94.4

For more details about the streaming applications and their command line options, refer to [SOC] Running the Streaming Demonstration.