|
CONTENTS Home Projects Electronics Graphics Java Java Mobile Android Other Stuff Resume Music Pictures Contact |
VGA Graphics On An FPGAMore electronics projects on mikekohn.net here. Posted: April 20, 2008 Introduction 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. Also, if you're interested in seeing how I implemented VGA in an SX microcontroller or an Atmel ATmega168 microcontroller, take a look at my SX microcontroller VGA and Atmel VGA projects. Pictures
Links Digilent - This is the web site where I got my FPGA starter kit from. They have some really nice stuff there.Source code
VGA Project 1: vga.vhd
vga.ucf
Copyright 1997-2012 - Michael Kohn
This page was designed to work with all standard HTML compatible web browsers including Firefox, IE, Safari, and Links. |