S
Ste
Guest
Hello, I am currently working on a school project that involves interfacin
an external video device with my Nexys2-1200 (XC3S1200E-4FG320) developmen
board. The device has a resolution of 256x384 with 18-bit RGB video dat
per pixel (6-bits per color). To start, I took the 18-bit data and cut i
down significantly to 8-bit color (R=3bits,G=3bits,B=2bits). This allowe
me to use the built-in VGA port on the Nexys2. I then created 49152 byte
of BlockRAM in a "Simple Dual-Port" configuration using the CORE Generato
in Xilinx ISE. This is enough RAM to hold the top half of the screen on m
device (so 256x192). One port is used strictly for writing to RAM and th
other port is strictly for reading from RAM. Using all this, I got th
top-half of the screen to output through the VGA port. The 256x192 i
sitting at the top-left corner of the VGA window and the rest is black.
I'm actually surprised it works, haha.
Anyway, I would like to take the project a step further and use the entir
screen (the full 256x384) along with a higher color resolution of 16-bit
per pixel (R=5bits,G=6bits,B=5bits). My problem is I don't know how t
effectively use the external 16MB Micron PSDRAM (MT45W8MW16BGX-708) fo
this situation since the BlockRAM won't cut it. My VGA pixel clock i
25MHz (40ns), and the external clock to latch the pixel data from my devic
is 5.6MHz (180ns). If I use the Micron RAM in the default asynchronou
mode, then the read/write access times are 70ns. This is obviously to
slow for my pixel clock, but there are several different ways to operat
that Micron PSDRAM. There is also free time during the blanking interval
of the video that I can work with. I guess my question is, what is th
general strategy to create a video framebuffer using a external RAM modul
like the one I have? Is it even possible with this specific chip or do
need something faster and with dual ports?
Thanks for your help, and sorry if I'm not being too clear about anything.
Just let me know and I'll clarify it.
Link to datasheet: http://www.micron.com/get-document/?documentId=444
---------------------------------------
Posted through http://www.FPGARelated.com
an external video device with my Nexys2-1200 (XC3S1200E-4FG320) developmen
board. The device has a resolution of 256x384 with 18-bit RGB video dat
per pixel (6-bits per color). To start, I took the 18-bit data and cut i
down significantly to 8-bit color (R=3bits,G=3bits,B=2bits). This allowe
me to use the built-in VGA port on the Nexys2. I then created 49152 byte
of BlockRAM in a "Simple Dual-Port" configuration using the CORE Generato
in Xilinx ISE. This is enough RAM to hold the top half of the screen on m
device (so 256x192). One port is used strictly for writing to RAM and th
other port is strictly for reading from RAM. Using all this, I got th
top-half of the screen to output through the VGA port. The 256x192 i
sitting at the top-left corner of the VGA window and the rest is black.
I'm actually surprised it works, haha.
Anyway, I would like to take the project a step further and use the entir
screen (the full 256x384) along with a higher color resolution of 16-bit
per pixel (R=5bits,G=6bits,B=5bits). My problem is I don't know how t
effectively use the external 16MB Micron PSDRAM (MT45W8MW16BGX-708) fo
this situation since the BlockRAM won't cut it. My VGA pixel clock i
25MHz (40ns), and the external clock to latch the pixel data from my devic
is 5.6MHz (180ns). If I use the Micron RAM in the default asynchronou
mode, then the read/write access times are 70ns. This is obviously to
slow for my pixel clock, but there are several different ways to operat
that Micron PSDRAM. There is also free time during the blanking interval
of the video that I can work with. I guess my question is, what is th
general strategy to create a video framebuffer using a external RAM modul
like the one I have? Is it even possible with this specific chip or do
need something faster and with dual ports?
Thanks for your help, and sorry if I'm not being too clear about anything.
Just let me know and I'll clarify it.
Link to datasheet: http://www.micron.com/get-document/?documentId=444
---------------------------------------
Posted through http://www.FPGARelated.com