FPGA AI Suite: Design Examples User Guide

ID 848957
Date 4/30/2025
Public
Document Table of Contents

16.2. [HL-JTAG] Building the FPGA AI Suite Runtime

Before you can run inference on the design example, build the FPGA AI Suite runtime using the provided build_runtime.sh script as follows:
  1. Ensure that you have a working directory created as outlined in "Creating a Working Directory" in FPGA AI Suite Getting Started Guide .
  2. Run the following commands:
    cd $COREDLA_WORK
    
    source $COREDLA_ROOT/bin/dla_init_local_directory.sh
    
    cd runtime
    
    ./build_runtime.sh -target_system_console
A successful build of the runtime creates the following objects:
  • <runtime-directory>/build_Release/libcoreDlaRuntimePlugin.so

    A runtime library that has the APIs for the host to access the FPGA AI Suite IP’s registers and memories in the design example.

  • <runtime-directory>/build_Release/system_console_script.tcl

    A script that the runtime invokes via the Quartus® Prime System Console to set up the JTAG services to access the memories and CSR registers in the design example.

  • <runtime-directory>/build_Release/dla_benchmark/dla_benchmark

    The dla_benchmark application.

If you run into the following error, check if /sbin appears near the start of the list of paths in your PATH environment variable:
Imported target "Boost::filesystem" includes non-existent path "/include"
Your PATH environment variable does not need to include /sbin for the JTAG design example.