Forum Discussion
Altera_Forum
Honored Contributor
13 years agoRead file by NIOS
Hi guys, Finally I could program NIOS to read and write a file from the host computer with fread and fwrite instruction (in debug mode). However, it's awfully slow. For instance, reading a 5MB ...
Altera_Forum
Honored Contributor
13 years agoThat means about 4KB/s. I don't have any information of host-based filesystem performance, but I guess it could be a reasonable figure, especially if you use fread and fwrite calls with single byte or a few bytes. If this is your case, try the same file transfer by packing long byte streams into a single call.