AN 1011: TinyML Applications in Altera FPGAs Using LiteRT for Microcontrollers

ID 848984
Date 4/07/2025
Public

Visible to Intel only — GUID: bkv1740361480126

Ixiasoft

Document Table of Contents

4.2. Building the Software Design

The software development has two major parts: the bootloader and the application. Altera uses ATF as the first stage bootloader (FSBL) and second stage bootloader (SSBL). You can build the application stage through the Zephyr operating system. Therefore, you must set up and prepare the Zephyr environment before starting the application development stage.
Note: You must complete Preparing LiteRT Inference Model before continuing this chapter. The following binaries are required.
Table 5.   LiteRT for Microcontrollers Binaries
Binaries Description
model_data.cc Model params stored within a C array.
model_data.h Header file of model_data.cc.
model_settings.h List of classes to decode classification results in main.cc.
main.cc Main LiteRT application to setup LiteRT model, uploading images, classifying images and profiling.
Multiple figure.h Sample of MNIST images stored within a C array.