Forum Discussion
Altera_Forum
Honored Contributor
16 years agofail to create output file - simple io problem
Any idea what is wrong with the code below? The code failed to create the sample.txt file. Runtime error. #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> ...
Altera_Forum
Honored Contributor
16 years agoYou'd probably have to create a protocol between your FPGA and a PC to retrieve the file. Anything between serial and Ethernet, depending on the file size and your speed requirements.
I think you could also use the altera console tools to directly access the Nios CPU's RAM but I've never done it and don't know how this works.