Forum Discussion

messn036's avatar
messn036
Icon for New Contributor rankNew Contributor
4 years ago
Solved

Sample project with RTL module library not working

Hello Intel Support, I am attempting to compile a library of RTL components to use in my HLS project. The HLS project compiles when testing for x86-64 simulation, but the compiler complains about...
  • messn036's avatar
    messn036
    3 years ago

    The issue is in my expHBU.h file. I put

    uint8_t expHBU(uint8_t input);
    

    Rather than the CORRECT

    extern "C" {
        uint8_t expHBU(uint8_t input);
    }

    This extern is extremely esoteric and should be included in the reference manual.