Forum Discussion
Altera_Forum
Honored Contributor
19 years agoC2H problem
I met a problem in using C2H acceleration.
My chip is Altera's EP1c6q240.And my quartus project's compilation report show that the LE source is 66%. But I want to accelerate my some function in my program.I put the function as a single function in .c file.But whichever function I accelerate, the result is all failed. Below is the failed information: /cygdrive/c/altera/kits/nios2_60/components/altera_hal/HAL/inc/sys/alt_flash_dev.h:82:PARSE ERROR, /cygdrive/c/altera/kits/nios2_60/components/altera_hal/HAL/inc/sys/alt_flash_dev.h line 82 column 1 Thank you for your advise. If someone know the solution, please send message to me with my mailbox:[email protected] you very much!3 Replies
- Altera_Forum
Honored Contributor
i also met this question the same to you !
- Altera_Forum
Honored Contributor
are you from China? i am in ChangChun China
- Altera_Forum
Honored Contributor
Are you trying to accelerate something that pulls in the CFI flash drivers? If you are looking to improve computational performance I would look for something else to accelerate besides flash accesses.
To debug this I would first switch to the software only implementation and make sure that compiles properly first. I just went to line 82 in that file and found a struct. Take a look at the C2H user guide and near the end you'll see what the tool doesn't support (pg 113/118) here: http://www.altera.com/literature/ug/ug_nio...2h_compiler.pdf (http://www.altera.com/literature/ug/ug_nios2_c2h_compiler.pdf) I hope that helps