This is about design of a JPEG compression/decompression scheme on an Altera FPGA. It is possible to have camera or SD card for image input and TV or SD card for image output. However, these interfaces introduce their own complexities.
To keep things simple in the early part of the project and to make it easier to thoroughly test the design, it is desired that it be possible to pass data of an image from MATLAB into the FPGA. MATLAB already has a lot of functions to manipulate data, so it is desired to send data to FPGA and read back the result after processing and compare the FPGA result with the result of identical processing done within MATLAB.
Basically data shall be read back from the FPGA from different stages of the JPEG compression and decompression processor to check how each part of the design is working.
So the question, how do I transmit data from MATLAB to the FPGA and read data back? Is there some tutorial on this somewhere?