Forum Discussion
Altera_Forum
Honored Contributor
21 years agowhy software's speed is so slowly run on nios II
hi! I write a software programm run on the nios II ,but the speed is slowly when it is running on the nios II. I use the singalTap catch the singal to analyse the speed ,I found when I add a equa...
Altera_Forum
Honored Contributor
21 years agoA statement like a=3 takes one cycle to execute on the Nios II/f assuming the instruction is in the cache.
Are you familiar with the operation of caches? Also, what signals are you observing in signaltap to see the instructions flow down the pipeline? If you only look at the Avalon instruction master, you'll only see instruction cache line fills, not instruction execution. If you post more of your program (maybe a portion of the hot loop), we can give you more information.