Forum Discussion
Altera_Forum
Honored Contributor
11 years agoYou can use the system-console and TCL scripts like what you might consider using with your hardware IP block: copy the image data to fixed location in RAM, write a "go" bit to a defined location somewhere that your NIOS software is polling, then read the results out of RAM when the "done" bit is set (your NIOS software is a polling loop on some fixed locations in memory that represent "registers").
Or you can use the "altera_hostfs" software, which allows you to fopen/fread/fwrite files on the PC. It is described briefly on page 6-15 of this document: http://www.altera.com/literature/hb/nios2/n2sw_nii52004.pdf