Using Library Elements within User-Defined Graphs - 2025.2 English

Vitis Libraries

Release Date
2025-12-17
Version
2025.2 English

It is recommended to include the L2 (graph) library element in your design, i.e., a subgraph. For example, to include Cholesky, include cholesky_graph.hpp from L2/include/aie/. The test harness for each library unit illustrates how to instantiate a parameterized graph; see L2/tests/aie/<library_element>/test.hpp and test.cpp.

Set the environment variable to SOLVERLIB_ROOT.

setenv SOLVERLIB_ROOT <your-vitis-libraries-install-path/solver>

Note

Use setenv for csh and export SOLVERLIB_ROOT=<path> for bash.

Use the following option in the aiecompiler command to provide the path:

-include=$SOLVERLIB_ROOT/L2/include/aie/
-include=$SOLVERLIB_ROOT/L1/include/aie
-include=$SOLVERLIB_ROOT/L1/src/aie