store data into fpga

P

parvathi69

Guest
Hi all,

I am new FPGA. I have input data stored in a txt file. i have to read dat
from file to FPGA for further processing. How do i store this value in t
FPGA memory.

Please help me.

Thanks in advance

---------------------------------------
Posted through http://www.FPGARelated.com
 
On 12 Okt., 13:09, "parvathi69"
<parvathi69@n_o_s_p_a_m.n_o_s_p_a_m.gmail.com> wrote:
Hi all,

I am new FPGA. I have input data stored in a txt file. i have to read data
from file to FPGA for further processing. How do i store this value in to
FPGA memory.

Please help me.

Thanks in advance          

---------------------------------------        
Posted throughhttp://www.FPGARelated.com
Hi,
With Xilinx XST there's the exeptional feature to read data from a
file and store it to a BRAM (used as a ROM) during synthesis.
There's an example in the ISE Language Templates.

Other synthesis tools may provide this feature too, but it is not
standard VHDL.

This approach is also just a single shot solution. Because you need to
reprogram the chip every time you want to process new data.
Can be useful in some cases, though, but the following approach will
probably more useful for you:

Whenever you have data to process, you normally provide some kind of
interface.
This can be a simple UART or a full grown network solution. It depends
on the features of your target board and on your design skills too.

Your data source (e.g. some PC) then can write the data via the
interface to the FPGA and read back the results (if needed).

Have a nice synthesis
Eilert
 
On 10/12/2010 4:09 AM, parvathi69 wrote:
Hi all,

I am new FPGA. I have input data stored in a txt file. i have to read data
from file to FPGA for further processing. How do i store this value in to
FPGA memory.

Please help me.

Thanks in advance

---------------------------------------
Posted through http://www.FPGARelated.com
When? If you're looking to do so at compile time, you can use the
std.textio library in an initialization function for the RAM. If you're
looking to do so at run time, you need some means of getting the data
from point A to point B.

--
Rob Gaddi, Highland Technology
Email address is currently out of order
 
On Oct 12, 4:09 am, "parvathi69"
<parvathi69@n_o_s_p_a_m.n_o_s_p_a_m.gmail.com> wrote:
Hi all,

I am new FPGA. I have input data stored in a txt file. i have to read data
from file to FPGA for further processing. How do i store this value in to
FPGA memory.

Please help me.

Thanks in advance          

---------------------------------------        
Posted throughhttp://www.FPGARelated.com
If it were me, I would use an embedded processor: NIOS, MicroBlaze,
etc. Simple enough to write a program to read the data and write it
to internal memory. Then the emb-proc can start up whatever FPGA
hardware there is to process the data.

RK
 
On 12 Okt., 13:09, "parvathi69"
<parvathi69@n_o_s_p_a_m.n_o_s_p_a_m.gmail.com> wrote:
Hi all,

I am new FPGA. I have input data stored in a txt file. i have to read data
from file to FPGA for further processing. How do i store this value in to
FPGA memory.

Please help me.

Thanks in advance          
FPGA is all about hardware. The word "file" does not mean a lot in
that context.
What hardware is the file stored on? How it is accessible?
If the file is on a compact flash you could use system ace to read it.
If it is on a usb device you need an usb core to connect to the
device.
If it is accessible by TCP/IP you need an ethernet core or an RS232
UART and something you can talk PPP to.
and so on and so on....
 
"parvathi69" <parvathi69@n_o_s_p_a_m.n_o_s_p_a_m.gmail.com> wrote in message
news:w9mdneqc-_5r3CnRnZ2dnUVZ_rWdnZ2d@giganews.com...
Hi all,
I am new FPGA. I have input data stored in a txt file. i have to read data
from file to FPGA for further processing. How do i store this value in to
FPGA memory.
Please help me.
Thanks in advance

You don't say when, but if it was during debug this is an ideal application
for the 1 pin interface...

http://www.1pin-interface.com/

Easily driven PC interface to get data in and out of FPGAs.



Nial.
 

Welcome to EDABoard.com

Sponsor

Back
Top