Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20733 Discussions

Regarding the parallel processing of matrix data

Altera_Forum
Honored Contributor II
951 Views

We are trying to divide the complete data available, in row buffers of different size, and try implementing parallel processing, by calling the row buffers as individual separate entities. But, implementing the same is creating issue, and the data is not getting read in different row buffers. Can somebody suggest with some solution or white paper which has discussed this?

0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
242 Views

Its not clear really what you want? are you doing a software or firmware solution? what code are you using? what is the problem? how have you tested the algorithm?

0 Kudos
Altera_Forum
Honored Contributor II
242 Views

Its still not clear what you're doing. Is it a software solution or firmware on an FPGA?

0 Kudos
Altera_Forum
Honored Contributor II
242 Views

 

--- Quote Start ---  

Its still not clear what you're doing. Is it a software solution or firmware on an FPGA? 

--- Quote End ---  

 

 

Its FPGA based. I'm doing it with Xilinx ISE and Model-Sim as a simulator.
0 Kudos
Altera_Forum
Honored Contributor II
242 Views

For a start, this is an altera forum, for xilinx specific problems you're best going to the xilinx website. 

 

But as a more general response - is your image a single image or video? how is it read? 256x256 is quite small and should easily be processeable in a single chunk.
0 Kudos
Altera_Forum
Honored Contributor II
242 Views

If its a Xilinx chip, you cannot use altera quartus (Quartus only compiles for Altera devices, Xilinx is a competing company). 

 

What you need is some mechanism to read the data out of a memory - all you need is a single stream of data. For a 3x3 convolution you will need 2 line buffers. Given you say you have to move from one frame to the next, I assume you're working on video? why do you even need to store the image, you can just process it as it passes through the FPGA. Again, just 2 line buffers required, but you dont need a frame buffer. There is no need to break the image down into any chunks, with or without a frame buffer. You just stream it out pixel by pixel and processes it as you read it.
0 Kudos
Reply