Showing results for 
Show  only  | Search instead for 
Did you mean: 
Registered: ‎05-07-2011

Problem Reading a text file from the pc to the SDK

hi everyone.


I have a problem reading a text file from the desktop to the SDK for executing in Virtex-5 FPGA.

I used the fopen syntax and initialized the pointer but I always get 0.

It seems the SDK cant open the file for a read operation.


Does anyone know the synta or command on how I can read a text file and load it on to the Virtex-5 FPGA?

Or should I load the data on the RAM before reading.

Note that the context of this changes at each time sample.

The FPGA read from the file and also write to another file and what the FPGA reads at next sample time the process continues.

I shall be grateful for infos con the read/write operation to and/from the FPGA and pc.

thanks in advance.


0 Kudos
0 Replies