Lab # 9 VGA Controller

Similar documents
Design and Implementation of an AHB VGA Peripheral

Design of VGA Controller using VHDL for LCD Display using FPGA

Lecture 14: Computer Peripherals

VGA Port. Chapter 5. Pin 5 Pin 10. Pin 1. Pin 6. Pin 11. Pin 15. DB15 VGA Connector (front view) DB15 Connector. Red (R12) Green (T12) Blue (R11)

Lab 3: VGA Bouncing Ball I

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

ECE 448 Lecture 10. VGA Display Part 1 VGA Synchronization

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

Display Technology. Images stolen from various locations on the web... Cathode Ray Tube

AD9884A Evaluation Kit Documentation

EDID HANDLING WITH ANALOG SIGNAL DISTRIBUTION

Video Graphics Array (VGA)

Lancelot. VGA video controller for the Altera Nios II processor. V4.0. December 16th, 2005

Design and Implementation of SOC VGA Controller Using Spartan-3E FPGA

Video. Updated fir31.filtered on website Fall 2008 Lecture 12

Display Technology. Images stolen from various locations on the web... Cathode Ray Tube

CGA to EGA to VGA Converter (Multi) ID#425

An Efficient SOC approach to Design CRT controller on CPLD s

Display Technology. Cathode Ray Tube. Images stolen from various locations on the web...

Section 4. Display Connector

By Tom Kopin CTS, ISF-C KRAMER WHITE PAPER

GENERAL RULES FOR EE314 PROJECTS

Block Diagram. dw*3 pixin (RGB) pixin_vsync pixin_hsync pixin_val pixin_rdy. clk_a. clk_b. h_s, h_bp, h_fp, h_disp, h_line

Spartan-II Development System

Design of VGA and Implementing On FPGA

Display Technology.! Images stolen from various locations on the web... Cathode Ray Tube

L14 - Video. L14: Spring 2005 Introductory Digital Systems Laboratory

CAT5 VGA Extender. Mode 1 Mode 2

Presented by: Amany Mohamed Yara Naguib May Mohamed Sara Mahmoud Maha Ali. Supervised by: Dr.Mohamed Abd El Ghany

iii Table of Contents

7inch Resistive Touch LCD User Manual

... User Guide - Revision /23/04. H Happ Controls. Copyright 2003, UltraCade Technologies UVC User Guide 1/23/2004

VGA Controller. Leif Andersen, Daniel Blakemore, Jon Parker University of Utah December 19, VGA Controller Components

DT3130 Series for Machine Vision

VectorVGA Tempest User Manual

Installation and users Manual

IBM Enhanced Color Display. Personal Computer. Hardware Reference Library _.-

Graduate Institute of Electronics Engineering, NTU Digital Video Recorder

FPGA Laboratory Assignment 4. Due Date: 06/11/2012

AC334A. VGA-Video Ultimate BLACK BOX Remote Control. Back Panel View. Side View MOUSE DC IN BLACK BOX ZOOM/FREEZE POWER

Product G e n e r a l S p e c i f i c a t i o n

Multimedia Systems Video I (Basics of Analog and Digital Video) Mahdi Amiri April 2011 Sharif University of Technology

Checkpoint 2 Video Interface

VID_OVERLAY. Digital Video Overlay Module Rev Key Design Features. Block Diagram. Applications. Pin-out Description

Testing Results for a Video Poker System on a Chip

DT3162. Ideal Applications Machine Vision Medical Imaging/Diagnostics Scientific Imaging

S op o e p C on o t n rol o s L arni n n i g n g O bj b e j ctiv i e v s

Video Display Unit (VDU)

EECS150 - Digital Design Lecture 12 - Video Interfacing. Recap and Outline

Lab 6: Video Game PONG

USER MANUAL. FC-32 DVI to PC/Component Converter MODEL: P/N: Rev 5

15 Inch CGA EGA VGA to XGA LCD Wide Viewing Angle Panel ID# 833

VT VGA TFT NEMA 4/12 Flat Panel Monitor. User s Guide

IMS B007 A transputer based graphics board

12.1 Inch CGA EGA VGA SVGA LCD Panel - ID #492

Digital Blocks Semiconductor IP

User manual mermaid ventura 150/170/181/190 TFT Video

The characteristics of a video signal and methods to overcome distance limitations

SparkFun Camera Manual. P/N: Sense-CCAM

VGA 8-bit VGA Controller

contents Editorial - Eddy has his say... 1 Ask Eddy - The latest tips from the man himself... 2 Software - The Complete and Easy Guide to the Internet

Gateway 50-inch Plasma TV Specifications

VGA to PAL and NTSC converter

VGA to DVI-I. Scaler Box CP-252. Operation Manual

VHDL Design and Implementation of FPGA Based Logic Analyzer: Work in Progress

26 Inch CGA/EGA/VGA/DVI to WXGA/1080p LCD - ID#703

Mahdi Amiri. April Sharif University of Technology

Revision: August 11, E Main Suite D Pullman, WA (509) Voice and Fax. 8 LEDs. Doc: page 1 of 9

THE AMBER COMPUTER VDU PROJECT.

Computer Graphics Hardware

980 Protocol Analyzer General Presentation. Quantum Data Inc Big Timber Road Elgin, IL USA Phone: (847)

TSIU03: Lab 3 - VGA. Petter Källström, Mario Garrido. September 10, 2018

CP-1261D PC/HD to DVI Format Converter

Module 7. Video and Purchasing Components

Gateway 46-inch Plasma TV Specifications

VGA to DVI-I. Scaler Box CP-252. Operation Manual

VGA Configuration Algorithm using VHDL

4.3inch 480x272 Touch LCD (B) User Manual

LCD MODULE SPECIFICATION

User's Manual for BT656Pro SDI Mod. Kit

A+ Certification Guide. Chapter 7 Video

AC335A. VGA-Video Ultimate Plus BLACK BOX Back Panel View. Remote Control. Side View MOUSE DC IN OVERLAY

CHANGED BY A First Release. ZHANG YAN FANG

VGA to RGB + composite sync -converter

Chapter 3 Fundamental Concepts in Video. 3.1 Types of Video Signals 3.2 Analog Video 3.3 Digital Video

ECE532 Digital System Design Title: Stereoscopic Depth Detection Using Two Cameras. Final Design Report

4.3 8 bit TFT Digital Driver Board Specification

Dell Wyse 5030 PCoIP Zero Client

A Flexible FPGA communication

HDMI 1.3 Demystified

Multimedia Systems Video I (Basics of Analog and Digital Video) Mahdi Amiri November 2015 Sharif University of Technology

HDMI Demystified. Industry View. Xiaozheng Lu, AudioQuest. What Is HDMI? Video Signal Resolution And Data Rate

TFT-LCD Color Monitor FS-L4201C

1x12 VGA & Audio over CAT5 Splitter

Advantech Proudly Presents Professional Monitor Series

SPECIFICATION FOR APPROVAL

6.111 Project Proposal IMPLEMENTATION. Lyne Petse Szu-Po Wang Wenting Zheng

Comp 410/510. Computer Graphics Spring Introduction to Graphics Systems

bit TFT Digital Driver Board Specification

L14: Final Project Kickoff. L14: Spring 2007 Introductory Digital Systems Laboratory

Transcription:

Lab # 9 VGA Controller Introduction VGA Controller is used to control a monitor (PC monitor) and has a simple protocol as we will see in this lab. Kit parts for this lab 1

A closer look VGA Basics The term VGA really means one of two things depending on how you use the acronym. It s either a standard 15-pin connector used to drive video devices (e.g. a VGA cable) or it s the protocol used to drive information out on that cable (e.g. a VGA interface spec.). The interface defines how information is sent across the wires from your board to the VGA device. The cable defines which pins you use on the standard connector for those signals. The most basic thing to know about VGA is that it is a protocol designed to be used with analog CRT (cathode ray tube) output devices. On these devices the electron beam moves across the screen from left to right as you re looking at the screen at a fixed rate (the refresh rate defines how fast the beam moves), and also moves down the screen from top to bottom at a fixed rate. While it s moving across and down the screen, you can modify the Red, Green, and Blue values on the VGA interface to control what color is being painted to the screen at the current location. 2

So, painting a certain color on the screen is as easy as keeping track of where the beam is, and making sure the R, G, and B signals are at the right values when the beam is over the point on the screen where you want that color. If you don t do anything to stop it, the beam will move to the right and bottom of the screen and get stuck there. You can force the beam to move back to the left by asserting an active-low signal called hsync (horizontal sync). You can force the beam to move back to the top of the screen by asserting an active-low signal called vsync (vertical sync). Because the beam moves at a fixed rate (defined by the monitor s refresh rate), you can keep track of where the beam is on the screen by counting clock ticks after the hsync and vsync signals. So, the basics of the VGA control/timer circuit are just a pair of counters to count horizontal ticks and vertical ticks of the VGA clock. How many ticks are there? That depends on how fast your clock is, and how many pixels you want to paint during the time the beam moves across the screen. The basic (ancient) standard for plain VGA is 640 pixels on each line, and 480 lines down the screen. This is 640x480 mode. Figure 1 shows a 640x480 screen, and the horizontal sync (hsync) timing required to make it work. After the hsync pulse, you must wait for a certain number of ticks before painting pixels to the screen. This gives the beam time to get back to the left and start moving forward again. This time is called the back porch because it s in back of the hsync timing pulse. Then you count 640 pixels as the beam moves. After the 640th pixel, you wait for some amount of time (this is the front porch because it s in front of hsync), then assert the hsync signal (asserted low) for a certain amount of time. 3

4

RGB Colors The Spartan3e board has a VGA interface with one wire connected to the Xilinx part for each of the R, G, and B signals. This means you can make a generous eight colors on the screen by turning on combinations of the R, G, and B. Figure below shows the colors you can get with this simple interface. Hardware Connection 5

Entity Declaration see kit pins - Architecture Processes and signals Process to generate 25MHz clock out of 50 MHz clock 6

Process to generate Hssync and Vsync 7

Process to assign colors You will need letters stored in a ROM I ll attach the complete file on my web page 8

Sample output Now, let s connect the circuit 9