Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

C++ for FPGA

student1
Beginner
331 Views

Hi,

Can I write a program in C++, compile using DPC++ compiler generate bit stream using the add on toolkit and offload it to an FPGA. My question is ,can the source code be in C++ or should it only be DPC++?

 

Thank you.

0 Kudos
2 Replies
BoonBengT_Intel
Moderator
294 Views

Hi @student1,

 

Thank you for posting in Intel community forum and hope all is well.
Per my understanding, I would say yes you would be able to compile C++ code with DPC++ compiler, as it was build based on C++.
However for best performance on specific accelerators, there might be a specific tuning required in the code to allow that. (More details on the cross performance architecture can be found here)
Note: here are also some good references for the supported/required utilities for OneAPI.

 

Best Wishes
BB

BoonBengT_Intel
Moderator
253 Views


Hi @student1,

 

As we do not receive any further clarification on what is provided. Hence thread will now be transitioned to community support for further help on doubts in this thread. Pleasure having you here.

 

Best Wishes
BB

Reply