Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to read and write image on FPGA using VHDL

Status
Not open for further replies.

mehul03ec

Newbie level 2
Joined
Jul 4, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,292
I like to read image from harddisk and process on FPGA and again processed image to be stored on Harddisk. So anyone can provide module/code to read and write for (vhdl code). I am using DE2 board.
 

Hi, Since the DE2 board has RS232 and Ethernet, you can use either of these to interface with the PC.
Using RS232, from PC you can send / receive data with the help of hyperterm.
For using Ethernet, i think you have to use Embedded OS if your board supports this.
Now if you are looking for the FPGA to load the images from Hard disk directly, then you are introducing the OS concepts into the FPGA. I say this because to read a file, the FPGA should understand the filesystem and filesystem is a feature of the OS.
So either you can proceed here to port Embedded OS to FPGA or if you want to process the images and can take care of sending it to FPGA,
use a C program in your PC to convert the image to streaming data and send it through RS232.
 
Thanks for reply,
Now can you tell me how can i transfer image from PC to FPGA using RS232. Do i have to use any driver for that or i have to write the code?
Please elaborate.



Hi, Since the DE2 board has RS232 and Ethernet, you can use either of these to interface with the PC.
Using RS232, from PC you can send / receive data with the help of hyperterm.
For using Ethernet, i think you have to use Embedded OS if your board supports this.
Now if you are looking for the FPGA to load the images from Hard disk directly, then you are introducing the OS concepts into the FPGA. I say this because to read a file, the FPGA should understand the filesystem and filesystem is a feature of the OS.
So either you can proceed here to port Embedded OS to FPGA or if you want to process the images and can take care of sending it to FPGA,
use a C program in your PC to convert the image to streaming data and send it through RS232.
 

Please look at opencores.org. They have Rs232 as well as ethernet mac core.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top