VGA Graphics On An FPGA
Posted: April 20, 2008
This is my first FPGA project. I got this Xilinx Spartan3 FGPA starter kit which came with 5 pins hooked up to a VGA port. Basically all it does is takes the 50MHz clock crystal and halves it to 25MHz. This creates a VGA clock where each pixel is 1 clock cycle. It uses a 10 bit counter for doing the horizontal timing and a 10 bit counter for the vertical timing. Using these counters it calculates when to apply voltage to the horizontal and vertical sync pins and data on the red, green, and blue pins. Coding was all done in VHDL (source code is below). Btw, anyone interested in reading about video timings, I found this page quite useful: http://www.epanorama.net/documents/pc/vga_timing.html.
I have a video of vga2.vhd working on YouTube.com: http://www.youtube.com/watch?v=YcRCNr78GuQ.
Related Projects @mikekohn.net
LinksDigilent - This is the web site where I got my FPGA starter kit from. They have some really nice stuff there.
Copyright 1997-2013 - Michael Kohn