Altera_Forum
Honored Contributor
21 years agosdram transfer
We have tested block transfer in sdram with memcpy() fonction on développement kit stratix 1S10 NIOS II with uclinux v1.1.
The frequency CPU is 50Mhz. We obtained with nois ii /s (no data cache): 8bit transfer : 1.7Mbytes/s 16bit transfer : 3.4Mbytes/s 32 bit transfet : 6.9Mbytes/s nios ii /f (2Kbytes data cache) : Blocksize<1Kbyte (between CPU and cache) 8 bits transfer : 6.6Mbytes/s 16bits transfer : 13.2Mbytes/s 32 bits transfet : 26Mbytes/s Blocksize>1Kbyte (between CPU and SDRAM throw cache) 8 bits transfer : 0.9Mbytes/s 16bits transfer : 1.9Mbytes/s 32 bits transfer : 5Mbytes/s With NIOS II/F, when block size is greater than cache size, the performances are lower than a configuration with NOIS II /S. It seems that cache penelizes the byte rate. Do you have NIOS testbench wich confirm my measures ? For a 32 bit transfer with no cache, we obtain 6.9Mb/s. The byte rate is very low. Is it normal ?? Thanks in advance, Fred