I running openCL kernel function on Arria 10gx board successfully!
now i want to simulation the kernel by by modelsim ! how can i do this ??
or any hint ?
Thanks for your reply ! that is not what i want!
i want simulation my own kernel , not the .*libraries*
take vector add for example:
_kernel void vector_add(__global const float *x,
__global const float *y,
__global float *restrict z)
// get index of the work item
int index = get_global_id(0);
// add the vector elements
z[index] = x[index] + y[index];
It must have related RTL code for the kernel ! where is the code ? intel not provide the code ? thanks again
@MUsman That is for OpenCL *libraries* (i.e. HDL code), not standard OpenCL kernels.
@zjinf Intel does not provide such functionality as far I am aware. You can do functional simulation in software for OpenCL kernels, but there is no way that I know of for timing-accurate simulation of OpenCL kernels.
HRZ thank you for your help !
Thank you for your help!
Yes, i have try open the "top.qpf" quartus project , and try to view the RTL Viewer , but it need to compile the project , while compile the "top.qpf"project, it generate many many error as following:
This kind error must be the quartus software compatible with the aoc command ! how could i fix the error ??(without compile the "top.qpf", it can't generate RTL level viewer)
Considering the fact that Quartus is complaining about missing files, maybe -c (-rtl) is not enough to generate all the HDL system. You can try compiling completely once with aoc and then opening the project with Quartus to make sure all the OpenCL system is created already.