1. Publication Deprecation Notice
2. About the SoC Design Example
3. FPGA AI Suite SoC Design Example Quick Start Tutorial
4. FPGA AI Suite SoC Design Example Run Process
5. FPGA AI Suite SoC Design Example Build Process
6. FPGA AI Suite SoC Design Example Quartus® Prime System Architecture
7. FPGA AI Suite Soc Design Example Software Components
8. Streaming-to-Memory (S2M) Streaming Demonstration
A. FPGA AI Suite SoC Design Example User Guide Archives
B. FPGA AI Suite SoC Design Example User Guide Document Revision History
3.1. Initial Setup
3.2. Initializing a Work Directory
3.3. (Optional) Create an SD Card Image (.wic)
3.4. Writing the SD Card Image (.wic) to an SD Card
3.5. Preparing SoC FPGA Development Kits for the FPGA AI Suite SoC Design Example
3.6. Adding Compiled Graphs (AOT files) to the SD Card
3.7. Verifying FPGA Device Drivers
3.8. Running the Demonstration Applications
7.1.1. Yocto Recipe: recipes-core/images/coredla-image.bb
7.1.2. Yocto Recipe: recipes-bsp/u-boot/u-boot-socfpga_%.bbappend
7.1.3. Yocto Recipe: recipes-drivers/msgdma-userio/msgdma-userio.bb
7.1.4. Yocto Recipe: recipes-drivers/uio-devices/uio-devices.bb
7.1.5. Yocto Recipe: recipes-kernel/linux/linux-socfpga-lts_%.bbappend
7.1.6. Yocto Recipe: recipes-support/devmem2/devmem2_2.0.bb
7.1.7. Yocto Recipe: wic
3.8.2. 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 Determining the SoC FPGA Development Kit IP Address before continuing here.
To run the streaming demonstration application:
- Open an SSH connection to the SoC FPGA development kit:
- Start a new terminal session
- Run the following command:
build-host:$ ssh <devkit_hostname>
Where <devkit_hostname> is the host name you determined in Determining the SoC FPGA Development Kit IP Address.
Continuing the example from Determining the SoC FPGA Development Kit IP Address, the following command would open an SSH connection:build-host:$ ssh arria10-62747948036a.local
- Repeat step 1 to open a second SSH connection to the SoC FPGA development kit.
- In a terminal session, run the following commands:
cd /home/root/app ./run_inference_stream.sh
- 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 - coffee mug, score = 93.9453 2 - acoustic guitar, score = 38.6963 3 - desktop computer, score = 43.9209 4 - guacamole, score = 99.9512 5 - red wine, score = 55.1758 6 - stopwatch, score = 38.8428 7 - jigsaw puzzle, score = 100
For more details about the streaming apps and their command line options, refer to Running the Streaming Demonstration.