Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

hanuy in OpenCL project

Hi,

I am very new to programming in OpenCL on FPGAs. My question is if I want to include in my project Avalon-ST interface how do I include it in OpenCL file?

If I understood well it is done by linking to some kind of library?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You can mix HDL with OpenCL by using the HDL module as an OpenCL library. The process is described in "Intel FPGA SDK for OpenCL Programming Guide, Section 12.1". You can also use Intel HLS instead of OpenCL.