Forum Discussion
5 Replies
- Altera_Forum
Honored Contributor
I am interested in the same topic and am currently trying to investigate this idea. Has anyone already investigated this idea and has some solutions?
- Altera_Forum
Honored Contributor
--- Quote Start --- As we known , HDL is more efficient than opencl ,but HDL needs more time than opencl for developping. --- Quote End --- This is not necessarily true; it largely depends on how the HDL code and the OpenCL code are written and optimized. Anyway, mixing HDL with OpenCL is certainly possible, read "intel fpga sdk for opencl, section 2.1 - opencl library" (https://www.altera.com/en_us/pdfs/literature/hb/opencl-sdk/aocl_programming_guide.pdf). - Altera_Forum
Honored Contributor
Is there any demos about using both HDL and opencl in one project on one chip FPGA ?
- Altera_Forum
Honored Contributor
Altera has an example for this; check this page (https://www.altera.com/products/design-software/embedded-software-developers/opencl/developer-zone.html) > Design Examples > OpenCL Library.
- Altera_Forum
Honored Contributor
It's not only possible - but according to Altera's FAE it's the recommended approach for design entry.
OpenCL isn't intended to replace HDL altogether.