3.6.3.25 SHLS-55
(Ask a Question)Message
Error: (SHLS-55) Argument '{argument}' in function '{function}' uses a struct with a pointer-type member, which is not supported.
/***************************************************************** * This example is expected to result in * - Code : SHLS-55 * - Type : Error * - Cause : A struct type containing a pointer-typed field is * detected in the top-level interface. *****************************************************************/ #include <stdint.h> struct S { int32_t *ptr; int64_t v1; int64_t v2; }; int DUT(S s) { #pragma HLS function top return (s.v1 == s.v2); }
Related to: Memory Interface for Pointer Argument/Global Variable
