3.6.3.23 SHLS-46

Message

Error:   (SHLS-46) Dataflow function '{function}' has no calls to subfunctions.
                   Dataflow functions should have at least one subfunction.

This message indicates that SmartHLS was unable to decompose the code logic within a dataflow function into distinct subfunction calls. This is likely due to the dataflow function body being empty.

/*****************************************************************
 *  This example is expected to result in
 *  - Code  : SHLS-46
 *  - Type  : Error
 *  - Cause : Failed to create any dataflow subfunction
 *            call inside a dataflow function due to empty 
 *****************************************************************/     
void DUT(int v) {
    #pragma HLS function top dataflow
}