Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16606 Discussions

Using HLS to target the FPGA from the Host(PowerPC)

NSuku1
Beginner
1,628 Views

Hi all,

 

I have a software running on the Power PC and I need to offload some mathematical tasks to the FPGA. I would like to know what are the appropriate tools for the software developer to use.

 

  • Should I use Open cl pragmas in the software running on the host to just offload some functions to the FPGA?
  • Separate the mathematical tasks and develop it using HLS to target the FPGA? If so, how can I interface it with the PowerPC through Serial Rapid IO?
  • Can I program in C using HLS to target the FPGA?

 

Host: PowerPC

Interface: Serial Rapid IO

FPGA: Arria 10 devkit

 

Thanks in advance!

 

Kindly help me in finding the right tool to get started with the implementation.

 

Thanks,

Nivetha

0 Kudos
3 Replies
Kenny_Tan
Moderator
420 Views

​You can use either HLS or Open Cl. Open CL are mostly target for software engineer while HLS are target for hardware engineers.

 

You refer to https://www.intel.com/content/www/us/en/software/programmable/quartus-prime/hls-compiler.html

https://www.intel.com/content/www/us/en/software/programmable/sdk-for-opencl/overview.html

 

Thanks

0 Kudos
HRZ
Valued Contributor III
420 Views

It would probably be easier to use OpenCL in your case since the PCI-E and DDR IP cores are pre-configured and provided in the BSP and a PCI-E driver is also provided to allow communication between the host and the FPGA. Furthermore, controlling interactions between the host and the FPGA is relatively easy using the basic functions provided by the OpenCL standard. With HLS, however, you can only compile parts of your C code into an HDL module, and then you will have to manually insert it into a complete HDL projects with all interfaces created/instantiated and managed by you.

0 Kudos
NSuku1
Beginner
420 Views

Hi!

Thanks for the reply. I am using Serial Rapid IO as interface. So I cannot use the PCI-E IP cores.

0 Kudos
Reply