SPRAD65 December   2022 TDA4VM , TDA4VM-Q1

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
    1. 1.1 C7X Compiler
    2. 1.2 Operating System
    3. 1.3 Drivers
    4. 1.4 TIOVX
    5. 1.5 TIDL
    6. 1.6 Memory Segment Management
  4. 2TIDL Upgrade
    1. 2.1 RTOS SDK Changes
    2. 2.2 TIDL PC Tool Changes
    3. 2.3 Linux SDK Changes
  5. 3Demo Verify
  6. 4Summary
  7. 5References

TIDL

TIDL, as an important software library for deploying AI algorithms for TI embedded devices, is iterated and updated in each software version. Each iterative update is mainly to fix bugs in the old version and support the new features of the current deep learning algorithm. TIDL is mainly divided into two parts. The first part is to read, quantify, and convert models such as Tensorflow and ONNX of the current mainstream algorithm framework into the model format that TIDL can execute on the PC side. This part depends on the external open source libraries Opencv, Flatbufffers, and Protobuf, and different versions of the SDK have different version requirements for the three libraries. Therefore, when upgrading, you need to confirm whether to upgrade according to the TIDL User Guide. The second part is to infer the converted model on the board side. The board side inference is mainly to accelerate the calculation of operators. Some operators are calculated using C7X DSP, which is implemented by TIDL, and the other part is calculated using MMA, such as volume Product calculation, Fourier transform are calculated using MMALIB. Therefore, when TIDL is upgraded, MMALIB needs to be upgraded. MMALIB usage reference MMALIB User Guide.

GUID-20220930-SS0I-V5SQ-DQL0-2T4GTH6RVSJT-low.png Figure 1-3 TIDL Block Diagram