Forum Discussion
Altera_Forum
Honored Contributor
12 years agoalt_read_flash too slow?
I have NIOS-II processor, compiled with Quartus 12.0 I was wondering if the following performance is reasonable: When I call alt_read_flash and read an entire flash block (256KBytes) I measure t...
Altera_Forum
Honored Contributor
12 years agoFirstly I'd ensure that everything is compiled with -O2 or -O3.
Are you doing a single read of 256k, or a loop containing smaller reads? You can calculate some of the overhead by comparing the differences between the times to read different sized blocks. If you want to know whether the flash read call is significant just call it twice!