01-06-2010 06:20 AM
I have working system that takes picture and show it on LCD
From list of pictures i can build play list on PC and send it to FPGA.
Now, i want make double buffering - when one picture shows on LCD, prepare other in 3 blocks of RAM
I read pdf from http://www.datasheetarchive.com/datasheet-pdf/078/DSAE0072579.html, but i didnt know how to do this....
Question - how to do this?
thanks a lot
01-11-2010 09:15 AM
Maybe i ask too much, so if someone can, pls give me some direction.... or something
There's a lot going on here -- you need, at the least, a state machine to handle writing to the buffers, and another which handles reading the buffers and driving the display. (Hint: dual-port.)
This is somewhat complicated but fairly straightforward.
01-11-2010 11:40 PM
Thank you for answer
I use 3 blocks of "Simple Dual Port RAM" for R,G and B
Now, i have 17 used blocks from 20, so i have 3 blocks free. So, i use it for implement double buffering.
So, i think i need mux 1 bit control, that every time change output. Something, like in picture:
It is good direction of my thought?
01-12-2010 04:16 AM - edited 01-12-2010 04:32 AM
Other solution for double buffering - increase each buffer twice as much and use MSB of address bus for switching between
memory regions. I use this approach in my last design with DPRAM, but not for Video application.
-- Regards, Victor