FPGA AI Suite: PCIe-based Design Example User Guide

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

6.1.2. Script Flow

The following steps describe the internal flow of the dla_build_example_design.py script for the Terasic* DE10-Agilex Development Board:
  1. Runs the dla_create_ip script to create an FPGA AI Suite IP for the requested FPGA AI Suite architecture
  2. Creates a wrapper around the FPGA AI Suite IP instances and adapter logic
  3. Copies in the Terasic BSP, and patches the directory with FPGA AI Suite files. This creates a build directory that has the BSP infrastructure needed to compile the design with Quartus® Prime software.
  4. Runs the quartus_sh command on the FPGA AI Suite dla_flat_compile.tcl script to compile the design example with Quartus® Prime software to produce an FPGA bitstream.

The bitstream is in the <build_dir> directory that you set when running the script (or the default location, if you did not set it). The bitstream file name is flat.sof.

The Quartus® Prime compilation reports are available in the <build_dir>/hw directory. A build.log file that has all the output log for running the build script is available in the <build_dir> directory. In addition, the achieved FPGA AI Suite clock frequency is the Clock Frequency value in the summary table in the following file:

<build_dir>/quartus_summary.txt