Forum Discussion
Altera_Forum
Honored Contributor
21 years agoI've used the /f in legacy mode to try and get more performance. If you can't or don't want to get the data cache coherency perfect you can turn off data cache with the .ptf setting "always_bypass_dcache"
Here's a link to the thread where James told me about it: turn off data cache in nii/f (http://www.niosforum.com/forum/index.php?act=st&f=2&t=535) FYI, I didn't get any additional performance from the /f over the /s with dcache turned OFF. For the part of my code I had running with dcache ON there was a 3X speedup. (Really only a small wait-for-event loop rechecking the same flags over and over) But you know what svhb? The dcache ON problems I had could be atributable to IRQ problems, because everything seemed to work, but the througput of my IRQ based USB chip went to almost nothing. You might try the .ptf setting and see if your IRQ problem goes away. Ken