Altera_Forum
Honored Contributor
19 years agoPerformance Issues
I am in the process of debugging a custom Nios II system. I have implemented a NIOS II/f CPU with and EPCS controller. I have created a custom component to access a SRAM in which my firmware is running from. I have implemented on-chip memory for read-only data. I have created a custom component to access a external Dual Port Ram to store user data. I have also created a custom component to access my logic block. I am using a cpu clock of 85 MHz.
After some timing analysis, I noticed that there is approximately 150nS betweem reads coming from my customized logic component. Also there appears for each read a "double" access fro some reason ! Is there anyway to increase this read performance? We tried using different instruction commands. We tried accesses with and without chache. I tried to play around with the configuration of the system a bit. Nothing seemed to help I found the following thread on the Forum :- http://forum.niosforum.com/forum/index.php...&hl=read+access (http://forum.niosforum.com/forum/index.php?showtopic=629&hl=read+access) They wrote a lot about 12 cycle read accesses from a SDRAM controller. Also that was over 1.5 years ago ! Does anyone have any suggestions ?