3.6.3.34 SHLS-81

Message

Error:   (SHLS-81) SmartHLS does not support '{format_specifier}' in printf on {location}.

SmartHLS does not support any variation of the string specifier (%s) in the printf() when used in hardware design code.

/*****************************************************************
 *  This example is expected to result in
 *  - Code  : SHLS-81
 *  - Type  : Error
 *  - Cause : Unsupported format specifier, %s, is used in printf()
 *****************************************************************/
#include <stdio.h>
void DUT() {
    #pragma HLS function top
    printf("%s\n", "Hello World!");
}