1
\$\begingroup\$

I am trying to implement image processing on FPGA. I need to have an image for testing my module. I tested the module for single bit, by just generating a pixel value on test bench, but would want to see the result on a whole image. Is there a way to load an image file to an fpga for processing?

asked Nov 24, 2013 at 2:36
\$\endgroup\$
2
  • \$\begingroup\$ Have you tried interfacing e.g. a SD card to the FPGA? \$\endgroup\$ Commented Nov 24, 2013 at 2:38
  • \$\begingroup\$ I havent. I will have to check one I get home, but I think, mind does not have one. \$\endgroup\$ Commented Nov 24, 2013 at 2:39

1 Answer 1

2
\$\begingroup\$

If you're doing something simple to the image that only involves one pixel at a time (the values of neighboring pixels don't matter), then you might as well do it in software, because the time that it takes is going to be dominated by the I/O, not the processing. The speed of the FPGA has no advantage here.

On the other hand, if you do eventually want to do more complex operations, then the question is too broad to be answered here.

Generally speaking, small to medium range FPGAs do not have enough on-chip memory to store an entire image at once. Anything that requires a "frame buffer" is usually going to require off-chip memory, such as an SDRAM chip, and the on-chip memories will be used as line buffers during the processing.

answered Nov 24, 2013 at 3:23
\$\endgroup\$

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.