PDA

View Full Version : DE2 video output


tcdev
21st January 2008, 10:13 PM
It's not clear from the current project naming conventions, but the majority of DE2 projects are currently configured to output to the optional DE2 LCD display rather than the VGA output.

Most of the projects should display "VGA" on the DE2's 2-line LCD for those projects with VGA output, or "LCD" for those with LCD output.

The only difference between LCD and VGA projects is the video controller source file and the video clock.

VGA projects use (eg) videocontroller_800x600_60Hz.vhd and a 40MHz clock.
LCD projects use LCMcontroller_320x240_60Hz.vhd and an 18MHz clock.

So converting between the 2 is a simple matter of specifying the appropriate video controller in the project file, and using the appropriate PLL constants in the project package.

Note however that ideally PACE should cater for both outputs. In the past the convention is to maintain two (2) separate projects with associated project package files. You can see this in several of the "P2" platform projects with VGA & CVBS versions.

It would be more preferable to have a single project and use VHDL configurations, for example, to switch between VGA and LCD outputs. I'm not sure how specifying the clocking is going to work in this instance, but sometime in the next few days I'll have a crack at it. Unfortunately, I'm probably going to break every single project in the process...