Altera_Forum
Honored Contributor
15 years agofft code in c
hello everyone, I am working on speech recognition projet using nios 2. I need simple fft code in c to run on the nios. did anyone know where can i found one?
Here is a radix 2 FFT: http://www.altera.com/literature/tt/c2h_tutorial.zip
Look at the software only version as the hardware (C2H) version has been optimized and may be difficult to understand if you are not familiar with the hardware accelerator. Note: Most people use dedicated hardware for FFT as it will not run very fast on Nios II. There is a lot of multiplications and additions which makes it much more suitable to offload into hardware.