3.6.3.38 SHLS-86
(Ask a Question)Message
Error: (SHLS-86) Function '{function}' cannot be both inlined and noinlined. Please update the configuration to use only one option.
This message typically indicates a conflict between SmartHLS's function inlining decision and the user's request. An example is provided below.
/***************************************************************** * This example is expected to result in * - Code : SHLS-86 * - Type : Error * - Cause : Top-level function is requested to be set as 'inline' * by user. However, SmartHLS requires all top-level * functions to remain 'noinline' throughout the * compilation process. *****************************************************************/ int DUT(int a, int b) { #pragma HLS function inline top return a + b; }
Related to: Inline Function , Noinline Function
