It is recommended that the library element to include in your graph is from the L2 directory, that is, a subgraph. For instance, to include a single rate asymmetrical FIR filter, include fir_sr_asym_graph.hpp from the L2/include/aie/ folder. The test harness for each library unit can be used as a reference example of how to instantiate a parameterized graph. For example, see L2/tests/aie/<library_element>/test.hpp and test.cpp.
An example test.hpp and test.cpp, which instantiates a parameterized graph and exposes a configured (point solution) interface, is provided in the L2/examples/fir_129t_sym folder.
Set the DSPLIB_ROOT environment variable.
setenv DSPLIB_ROOT <your-vitis-libraries-install-path/dsp>
Note
Use setenv for csh and export DSPLIB_ROOT=<path> for bash.
Use the following options in the aiecompiler command to provide the include paths:
-include=$DSPLIB_ROOT/L2/include/aie/
-include=$DSPLIB_ROOT/L1/include/aie
-include=$DSPLIB_ROOT/L1/src/aie
-include=${DSPLIB_ROOT}/L1/include/vss/common
-include=${DSPLIB_ROOT}/L1/include/vss/vss_fft_ifft_1d