Intel® FPGA AI Suite: SoC Design Example User Guide

ID 768979
Date 9/06/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

8.2. Building the Stream Controller Module

The stream controller is built as part of the steps described in Installing HPS Disk Image Build Prerequisites. For system development that extends the Intel® FPGA AI Suite SoC design example, you might want to compile the stream controller module independently.

The stream controller module source code can be found in the distribution, in the runtime/coredla_device/stream_controller/ directory.

There is a script build.sh in the source code directory that builds a binary .hex file. This file is then used by Intel® Quartus® Prime when building the firmware to embed the microcode module.

The script should be run from a Nios® V command shell, which is part of Intel® Quartus® Prime. It requires a Intel® Quartus® Prime project file and a Intel® Quartus® Prime .qsys file. For this design example, the project file is top.qpf, and the Platform Designer file is dla.qsys.

An example command to build the stream controller module is as follows:
./build.sh top.qpf dla.qsys stream_controller.hex