BlackHelicopter
Full Member level 2
I'm having trouble understanding how I would implement this. I would like to use external SRAM as a frame buffer for an SVGA video controller (800x600@72 Hz) which has a pixel clock of 50MHz. The trouble is that the read operation for the SRAM controller I've made takes two (50MHz) clock cycles to complete. Now I'm not quite sure how to get this to work. I'm guessing that I'll need to speed up the clock of the SRAM controller to 100MHz by implementing a DCM or maybe improve the controller to read in one clock cycle, but I just wanted to make sure that there's not a 'smarter' way to do this and keep the existing setup and modify things a bit. I've read about line buffers but I'm not sure I fully understand how they work or if one would apply here. To me it sounds like a line buffer is used to transfer data from a faster RAM controller to a slower video controller and buffer a line or multiple lines of video data. Is this true? I guess I don't quite understand the concept. Anyways, thanks for any help!
btw I forgot to mention the RGB data is 12-bits wide (4-bits per color) and the SRAM data bus is 16-bit.
btw I forgot to mention the RGB data is 12-bits wide (4-bits per color) and the SRAM data bus is 16-bit.
Last edited: