FPGA AI Suite: SoC Design Example User Guide

ID 768979
Date 3/29/2024
Public
Document Table of Contents

5.1.3.4. The build_stream_controller.sh Script

The build_stream_controller.sh script builds the Nios® V application, and then generates a .hex file. The .hex file is embedded into the Nios® V RAM by the Quartus® Prime project. This file must be called stream_controller.hex and it must reside alongside the Quartus® Prime project files (top.qpf).

This script has three command line options that must be entered in order:
build_stream_controller <quartus-project-file> <qsys system> <output-file>

This script is called as part of the create_project.bash, but you can call it manually if you modify the Nios® V source code and need a new .hex file. The build script is typically called with the same options.

build_stream_controller.sh top.qpf qsys/dla.qsys stream_controller.hex