Forum Discussion
Altera_Forum
Honored Contributor
22 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 cac...
Altera_Forum
Honored Contributor
22 years agoFred,
That's true, but a 10X performance hit is pretty severe. (300MB/s -> 30MB/s) I just wonder if there is anything that can be done to improve this? I'm going through my code and carefully moving key variables into registers and onchip ram. It's making huge improvements, but I wasn't planning on going to this level to get the performance I need. Next thing I'll be hand coding assembly and creating custom instructions. I guess its nice to have the options. I'm going to toss in the towel on running on Nios2. It runs but gives bogus results. Maybe I'll get another wild hair and try some more. Can you share how you were doing 32bit xfers? Are you simply relying on optimization inside of memcpy? Thanks, Ken