Forum Discussion
Altera_Forum
Honored Contributor
8 years agopassing pointer to RTL library
Hello everyone, I'm having a RTL library function that writes to the DDR some data to an address given as an input. Currently, my design is very simple and the OpenCL wrapper only passes the da...
Altera_Forum
Honored Contributor
8 years agoI tried to make the function call to ddr_w_rtl use only a uint instead of a uint* to bypass the compiler checks, but the XML file prevent me from doing such. Indeed, the first parameter of my function is described as :
<MEM_INPUT port="pin" access="readwrite"/> So my function prototype should provide a pointer.