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)

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

An Efficient SOC approach to Design CRT controller on CPLD s

Design and Implementation of an AHB VGA Peripheral

Design of VGA Controller using VHDL for LCD Display using FPGA

Lab # 9 VGA Controller

Lecture 14: Computer Peripherals

Computer Graphics Hardware

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

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

Design of VGA and Implementing On FPGA

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

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

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

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

3. Displays and framebuffers

Reading. 1. Displays and framebuffers. History. Modern graphics systems. Required

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

Displays. History. Cathode ray tubes (CRTs) Modern graphics systems. CSE 457, Autumn 2003 Graphics. » Whirlwind Computer - MIT, 1950

Part 1: Introduction to computer graphics 1. Describe Each of the following: a. Computer Graphics. b. Computer Graphics API. c. CG s can be used in

Lab 3: VGA Bouncing Ball I

Xilinx Spartan2 XC2S50-PQ208

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

Video Graphics Array (VGA)

Part 1: Introduction to Computer Graphics

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

Types of CRT Display Devices. DVST-Direct View Storage Tube

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

Reading. Displays and framebuffers. Modern graphics systems. History. Required. Angel, section 1.2, chapter 2 through 2.5. Related

2.4.1 Graphics. Graphics Principles: Example Screen Format IMAGE REPRESNTATION

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

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

Computer Graphics: Overview of Graphics Systems

A Flexible FPGA communication

4.9 BEAM BLANKING AND PULSING OPTIONS

COMPOSITE VIDEO LUMINANCE METER MODEL VLM-40 LUMINANCE MODEL VLM-40 NTSC TECHNICAL INSTRUCTION MANUAL

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

Section 4. Display Connector

NAPIER. University School of Engineering. Advanced Communication Systems Module: SE Television Broadcast Signal.

Rec. ITU-R BT RECOMMENDATION ITU-R BT PARAMETER VALUES FOR THE HDTV STANDARDS FOR PRODUCTION AND INTERNATIONAL PROGRAMME EXCHANGE

Reading. Display Devices. Light Gathering. The human retina

Monitor and Display Adapters UNIT 4

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

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

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

Elements of a Television System

TV Character Generator

Gateway 50-inch Plasma TV Specifications

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

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University

Revision: 5/7/ E Main Suite D Pullman, WA (509) Voice and Fax GND. 5VDC regulator VDD. 4 7-seg. displays

Gateway 46-inch Plasma TV Specifications

TFT COLOR LCD MODULE NL6448AC30-12

Camera Interface Guide

Electrical and Electronic Laboratory Faculty of Engineering Chulalongkorn University. Cathode-Ray Oscilloscope (CRO)

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

VGA Configuration Algorithm using VHDL

What is sync? Why is sync important? How can sync signals be compromised within an A/V system?... 3

Features of the 745T-20C: Applications of the 745T-20C: Model 745T-20C 20 Channel Digital Delay Generator

AD9884A Evaluation Kit Documentation

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver

HIGH DEFINITION MONITOR HDM 5049 PLUS USER S MANUAL

4. ANALOG TV SIGNALS MEASUREMENT

ECE 448 Lecture 10. VGA Display Part 1 VGA Synchronization

7inch Resistive Touch LCD User Manual

CS 4451A: Computer Graphics. Why Computer Graphics?

VGA 8-bit VGA Controller

Design and implementation (in VHDL) of a VGA Display and Light Sensor to run on the Nexys4DDR board Report and Signoff due Week 6 (October 4)

Dan Schuster Arusha Technical College March 4, 2010

Display Systems. Viewing Images Rochester Institute of Technology

CMPE 466 COMPUTER GRAPHICS

Tearing Effect with Solomon SSD1963 Display Controller

decodes it along with the normal intensity signal, to determine how to modulate the three colour beams.

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

Computer Graphics. Raster Scan Display System, Rasterization, Refresh Rate, Video Basics and Scan Conversion

CATHODE RAY OSCILLOSCOPE. Basic block diagrams Principle of operation Measurement of voltage, current and frequency

2.2. VIDEO DISPLAY DEVICES

User's Manual. Rev 1.0

HD66840/HD LVIC/LVIC-II (LCD Video Interface Controller) Description. Features

Lecture Flat Panel Display Devices

CAT5 VGA Extender. Mode 1 Mode 2

Understanding Multimedia - Basics

Magnetic Sensor - Incremental EHP

BTV Tuesday 21 November 2006

Introduction & Colour

Specifications. Reference Documentation. Performance Conditions

GFT Channel Digital Delay Generator

Brief Description of Circuit Functions. The brief ckt. description of V20 107E5 17 Monitor

MFS-2213 V.2013MF

PicoScope 6407 Digitizer

TV Synchronism Generation with PIC Microcontroller

AND-TFT-25XS-LED-KIT. 160 x 234 Pixels LCD Color Monitor AND-TFT-25XS-LED-KIT. Features

An FPGA Based Solution for Testing Legacy Video Displays

PicoScope 6407 Digitizer

SM02. High Definition Video Encoder and Pattern Generator. User Manual

Digilent Nexys-3 Cellular RAM Controller Reference Design Overview

TSG 90 PATHFINDER NTSC Signal Generator

Module 1: Digital Video Signal Processing Lecture 3: Characterisation of Video raster, Parameters of Analog TV systems, Signal bandwidth

CHAPTER 4 OSCILLOSCOPES

Service Manual for D9100 Series Digital-Control Color Monitor

Digital Blocks Semiconductor IP

Transcription:

Chapter 5 VGA Port The Spartan-3 Starter Kit board includes a VGA display port and DB15 connector, indicated as 5 in Figure 1-2. Connect this port directly to most PC monitors or flat-panel LCD displays using a standard monitor cable. Pin 5 Pin 10 Pin 1 Pin 6 Pin 15 Pin 11 1 2 3 4 5 DB15 Connector 6 11 7 12 8 13 9 14 10 15 ed Green Blue Horizontal Sync Vertical Sync DB15 VGA Connector (front view) G B HS VS (12) (T12) (11) (9) (T10) (xx) = FPGA pin number GND UG130_c5_01_042604 Figure 5-1: VGA Connections from Spartan-3 Starter Kit Board As shown in Figure 5-1, the Spartan-3 FPGA controls five VGA signals: ed (), Green (G), Blue (B), Horizontal Sync (HS), and Vertical Sync (VS), all available on the VGA connector. The FPGA pins that drive the VGA port appear in Table 5-1. A detailed schematic is in Figure A-7. Spartan-3 Starter Kit Board User Guide www.xilinx.com 21

Chapter 5: VGA Port Table 5-1: ed () Green (G) Blue (B) VGA Port Connections to the Spartan-3 FPGA Signal Horizontal Sync (HS) Vertical Sync (VS) FPGA Pin Each color line has a series resistor to provide 3-bit color, with one bit each for ed, Green, and Blue. The series resistor uses the 75Ω VGA cable termination to ensure that the color signals remain in the VGA-specified 0V to 0.7V range. The HS and VS signals are TTL level. Drive the, G, and B signals High or Low to generate the eight possible colors shown in Table 5-2. 12 T12 11 9 T10 Table 5-2: 3-Bit Display Color Codes ed () Green (G) Blue (B) esulting Color 0 0 0 Black 0 0 1 Blue 0 1 0 Green 0 1 1 Cyan 1 0 0 ed 1 0 1 Magenta 1 1 0 Yellow 1 1 1 White VGA signal timing is specified, published, copyrighted, and sold by the Video Electronics Standards Association (VESA). The following VGA system and timing information is provided as an example of how the FPGA might drive VGA monitor in 640 by 480 mode. For more precise information or for information on higher VGA frequencies, refer to documents available on the VESA website or other electronics websites: Video Electronics Standards Association http://www.vesa.org VGA Timing Information http://www.epanorama.net/documents/pc/vga_timing.html Signal Timing for a 60Hz, 640x480 VGA Display CT-based VGA displays use amplitude-modulated, moving electron beams (or cathode rays) to display information on a phosphor-coated screen. LCD displays use an array of switches that can impose a voltage across a small amount of liquid crystal, thereby changing light permitivity through the crystal on a pixel-by-pixel basis. Although the following description is limited to CT displays, LCD displays have evolved to use the 22 www.xilinx.com Spartan-3 Starter Kit Board User Guide 1-800-255-7778 UG130 (v1.1) May 13, 2005

Signal Timing for a 60Hz, 640x480 VGA Display same signal timings as CT displays. Consequently, the following discussion pertains to both CTs and LCD displays. Within a CT display, current waveforms pass through the coils to produce magnetic fields that deflect electron beams to transverse the display surface in a raster pattern, horizontally from left to right and vertically from top to bottom. As shown in Figure 5-2, information is only displayed when the beam is moving in the forward direction left to right and top to bottom and not during the time the beam returns back to the left or top edge of the display. Much of the potential display time is therefore lost in blanking periods when the beam is reset and stabilized to begin a new horizontal or vertical display pass. pixel 0,0 pixel 0,639 640 pixels are displayed each time the beam traverses the screen Current through the horizontal deflection coil VGA Display pixel 479,0 pixel 479,639 Stable current ramp: Information is displayed during this time etrace: No information is displayed during this time time Total horizontal time Horizontal display time retrace time "back porch" "back porch" HS Horizontal sync signal sets the retrace frequency "front porch" UG130_c5_02_051305 Figure 5-2: CT Display Timing Example The size of the beams, the frequency at which the beam traces across the display, and the frequency at which the electron beam is modulated determine the display resolution. Spartan-3 Starter Kit Board User Guide www.xilinx.com 23

Chapter 5: VGA Port VGA Signal Timing Modern VGA displays support multiple display resolutions, and the VGA controller dictates the resolution by producing timing signals to control the raster patterns. The controller produces TTL-level synchronizing pulses that set the frequency at which current flows through the deflection coils, and it ensures that pixel or video data is applied to the electron guns at the correct time. Video data typically comes from a video refresh memory with one or more bytes assigned to each pixel location. The Spartan-3 Starter Kit board uses three bits per pixel, producing one of the eight possible colors shown in Table 5-2. The controller indexes into the video data buffer as the beams move across the display. The controller then retrieves and applies video data to the display at precisely the time the electron beam is moving across a given pixel. As shown in Figure 5-2, the VGA controller generates the HS (horizontal sync) and VS (vertical sync) timings signals and coordinates the delivery of video data on each pixel clock. The pixel clock defines the time available to display one pixel of information. The VS signal defines the refresh frequency of the display, or the frequency at which all information on the display is redrawn. The minimum refresh frequency is a function of the display s phosphor and electron beam intensity, with practical refresh frequencies in the 60 Hz to 120 Hz range. The number of horizontal lines displayed at a given refresh frequency defines the horizontal retrace frequency. The signal timings in Table 5-3 are derived for a 640-pixel by 480-row display using a 25 MHz pixel clock and 60 Hz ±1 refresh. Figure 5-3 shows the relation between each of the timing symbols. The timing for the sync pulse width (T PW ) and front and back porch intervals (T FP and T BP ) are based on observations from various VGA displays. The front and back porch intervals are the pre- and post-sync pulse times. Information cannot be displayed during these times. Table 5-3: Symbol 640x480 Mode VGA Timing Parameter Vertical Sync Horizontal Sync Time Clocks Lines Time Clocks T S Sync pulse time 16.7 ms 416,800 521 32 µs 800 T DISP Display time 15.36 ms 384,000 480 25.6 µs 640 T PW Pulse width 64 µs 1,600 2 3.84 µs 96 T FP Front porch 320 µs 8,000 10 640 ns 16 T BP Back porch 928 µs 23,200 29 1.92 µs 48 T S T DISP T FP T PW T BP Figure 5-3: VGA Control Timing UG130_c5_03_051305 24 www.xilinx.com Spartan-3 Starter Kit Board User Guide 1-800-255-7778 UG130 (v1.1) May 13, 2005

VGA Signal Timing Generally, a counter clocked by the pixel clock controls the horizontal timing. Decoded counter values generate the HS signal. This counter tracks the current pixel display location on a given row. A separate counter tracks the vertical timing. The vertical-sync counter increments with each HS pulse and decoded values generate the VS signal. This counter tracks the current display row. These two continuously running counters form the address into a video display buffer. For example, the on-board fast SAM is an ideal display buffer. No time relationship is specified between the onset of the HS pulse and the onset of the VS pulse. Consequently the counters can be arranged to easily form video AM addresses, or to minimize decoding logic for sync pulse generation. Spartan-3 Starter Kit Board User Guide www.xilinx.com 25