Visible to Intel only — GUID: zjf1572907583398
Ixiasoft
Visible to Intel only — GUID: zjf1572907583398
Ixiasoft
2.2. Using Libraries in Your Component
Use libraries to reuse functions created by you or others without needing to know the function implementation details.
To use the functions in a library, you must have the C-header files (.h) for the library available.
To include a library in your component:
- Review the header files corresponding to the library that you want to include in your component.
The header file shows you the functions available to call in the library and how to call the functions.
- Include the header files in your component code.
For example, #include "primitives.h"
- Compile your component with the Intel® HLS Compiler as usual:
For example, i++ -march=arria10 MyComponent.cpp
Did you find the information on this page useful?
Feedback Message
Characters remaining: