FPGA AI Suite: SoC Design Example User Guide

ID 768979
Date 7/31/2024
Public
Document Table of Contents

5.1.3. Build Directory

The dla_build_example_design.py command creates an Quartus® Prime build in the hw folder in the directory that you specify with the --build-dir command option. The project is named top.qpf. You can open this project in Quartus® Prime software to review the build logs.

Within the build directory is a collection of command-line scripts that cover different parts of the design example build process. Use these scripts to rebuild parts of the design example if you alter the design. Otherwise, you typically do not need to run these scripts manually as the build process runs them for you.

The scripts provided are as follows:

  • create_project.bash: This script cleans the build folder and resets the Quartus® Prime project back to its default state, ready to be recompiled.
  • generate_sof.bash: This script launches an Quartus® Primer compilation from the command line
  • generate_rbf.bash: This creates a .rbf file that is needed for the Arria® 10 FPGA.
  • build_stream_controller.sh: This script creates the Nios® V .hex file. This file holds the compiled Nios® software that is embedded into the Nios® subsystem.