Forum Discussion
Altera_Forum
Honored Contributor
15 years agoJust some notes:
All the multidimensional pointer arrays used in the algorithm have already been allocated in memory by a previous function (non C2H). The address for each pointer is passed to the function. Now to simplify the function design, I have tried creating global variables for my pointer arrays in the C file. But the C2H compiler throws an error with this as it cannot determine the address in memory of these functions even after they are initialised (if not passed as a param to the function). This is all tested code btw. Running fine in C.