From: Martin Thompson on
Gladys <yuhui.b(a)gmail.com> writes:

> Sorry, for the 2nd question, I just forgot that I can use Lool Up
> Table, just use CASE statement to implement this.
> So the only problem is how can I access the location data from SPI
> flash, since these data should be always available for bad pixel
> correction while FPGA running.

If you use a BRAM to store the data, you can arrange to have it
initialised by the bitstream, so you don't need to do that. This
means a new bitstream for each set of bad pixels though, so that might
not work out in your application!

In which case, you need to write a small peripheral, or use a small
microcontroller core in the FPGA to read the data from the SPI flash
(once, at startup) into a BRAM internally. Then you can use that data
to feed to your dead-pixel corrector.

Cheers,
Martin


--
martin.j.thompson(a)trw.com
TRW Conekt - Consultancy in Engineering, Knowledge and Technology
http://www.conekt.net/electronics.html
First  |  Prev  | 
Pages: 1 2
Prev: PN crashing (64 bit)
Next: Energy Saving Tips