Forum Discussion
zjinf
Occasional Contributor
7 years ago- "You can do functional simulation in software for OpenCL kernels" how could i do this ?
- in my project directory, i open the Quartus prime Pro Edition software, i want open my project by quartus prime to view the whole system including kernel and memory controller and pcie controller and other module RTL structure ! how to do ?? or any document can refer ?
HRZ thank you for your help !
HRZ
Frequent Contributor
7 years ago- If you don't use any FPGA-specifc constructs (e.g. on-chip channels), you can run and debug your code on any other OpenCL-capable device (CPU/GPU) in the same way as you would debug any other C/C++ code. You can also use Intel's emulator (which also works with channels, etc). Please refer to "Intel FPGA SDK for OpenCL Pro Edition Programming Guide, Section 8. Emulating and Debugging Your OpenCL Kernel" for more information.
- Open the "top.qpf" from the folder that is created by aoc. Running aoc -c (aoc -rtl in newer versions) is enough for this step.