The following figure shows the DSPLib organization.
The directories L1, and L2 correspond to AI Engine kernels and AI Engine graphs for each function, respectively. Inclusion of an L2 graph rather than an L1 element is recommended in your design. L3 is reserved for future software drivers.
Note
The L3 directory is not yet available.
Graph class declarations and constants that allow you to include the library element in your design are located in the L2/include/aie/. Kernel class definitions, the .cpp files and corresponding .hpp files are located in the L1/src/aie and L1/include/aie subdirectories respectively.
The L2/tests/aie/<library_element> subdirectory contains a test bench for the library element. Additional testbench files, like stimulus, monitor, and other utility modules are located in the L1/tests/aie/inc/ folder.
Reference models graph class for each library element are contained in L2/tests/aie/common/inc. Reference models kernel class for each library element are contained in L1/tests/aie/inc/ and L1/tests/aie/src.
The L2/examples subdirectory holds example wrapper designs to demonstrate the use of the library elements.