Forum Discussion
Altera_Forum
Honored Contributor
16 years agoMp3 decoder too slow on NiosII
Hi,all I'm now designing a mp3 player for DE2 board, which use libmad for mp3 decoding. But currently, the speed is too slow for real time playing. The core is NiosII fastest core,i cache=8kb, ...
Altera_Forum
Honored Contributor
16 years agoNo, I get the result with optimization off. Does that make so much difference?
I tired to enable -O3 once, but the program didn't work correctly, it seems the program stopped at some place and a lot of codes can't be executed, so I change it back to no optimization. I don't quite understand the meaning of "If you rip out all calls into libc, can you fit the whole code into internal memory? (It might be that the resident set fits in the cache though.)". I use the 512K sram as memory and the program size is 167K.