0% found this document useful (0 votes)
102 views14 pages

Introduction To VGA: Author: Trumen

The document introduces VGA (Video Graphics Array) output on the DE2-115 board. It discusses how the VGA synchronization signals are provided directly from the FPGA and how the analog video signals are produced. It then provides the timing specifications for common VGA resolutions like 640x480, 800x600, and 1024x768 pixels at 60Hz refresh rates. Pin assignments for the VGA signals on the FPGA are also listed.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
102 views14 pages

Introduction To VGA: Author: Trumen

The document introduces VGA (Video Graphics Array) output on the DE2-115 board. It discusses how the VGA synchronization signals are provided directly from the FPGA and how the analog video signals are produced. It then provides the timing specifications for common VGA resolutions like 640x480, 800x600, and 1024x768 pixels at 60Hz refresh rates. Pin assignments for the VGA signals on the FPGA are also listed.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Introduction to VGA

數位電路實驗
TA: 吳柏辰

Author: Trumen
DE2_115_User_manual\DE2_115_User_manual.pdf

2
Introduction

• The DE2-115 board includes a 15-pin D-SUB


connector for VGA (Video Graphics Array)
output.
• The VGA synchronization signals are provided
directly from the Cyclone IV E FPGA
• The Analog Devices ADV7123 triple 10-bit
high-speed video DAC (only the higher 8-bit
are used) is used to produce the analog data
signals (red, green, and blue).
3
Introduction

4
Timing Specification (1/2)

• This figure illustrates the basic timing


requirements for each row (horizontal) and
frame (vertical) that is displayed on a VGA
monitor.

5
Timing Specification (2/2)
• During active video interval the RGB data drives each pixel
in turn across the row being displayed.
• The data output to the monitor must be off (driven to 0 V)
for a time period called the front porch before HSync pulse
can occur.
• Then an active-low sync. pulse of specific duration in
applied to the horizontal synchronization input of the
monitor, which signifies the end of one row of data and the
start of the next.
• Finally, there is a time period called the back porch after
the HSync pulse occurs, which is followed by the next
active video interval.

6
VGA Signal 640 x 480 @ 60 Hz
General timing
Screen refresh rate 60 Hz
Vertical refresh 31.469 kHz
Pixel freq. 25.175 MHz

Horizontal timing (line) Vertical timing (frame)


Scanline part Pixels Time [μs] Frame part Pixels Time [μs]
Active video 640 25.422 Active video 480 15.253
Front porch 16 0.636 Front porch 10 0.318
Sync pulse 96 3.813 Sync pulse 2 0.0636
Back porch 48 1.907 Back porch 33 1.049
Whole line 800 31.778 Whole frame 525 16.683
7

7
640 16 96 48
Hsync
Vsync

Active video 480

10
2

33

VGA Signal 640x480 @ 60 Hz 8


VGA Signal 800 x 600 @ 60 Hz
General timing
Screen refresh rate 60 Hz
Vertical refresh 37.879 kHz
Pixel freq. 40.0 MHz

Horizontal timing (line) Vertical timing (frame)


Scanline part Pixels Time [μs] Frame part Pixels Time [μs]
Active video 800 20 Active video 600 15.84
Front porch 40 1 Front porch 1 0.026
Sync pulse 128 3.2 Sync pulse 4 0.106
Back porch 88 2.2 Back porch 23 0.607
Whole line 1056 26.4 Whole frame 628 16.58
9

9
VGA Signal 1024x 768 @ 60 Hz
General timing
Screen refresh rate 60 Hz
Vertical refresh 48.363 kHz
Pixel freq. 65.0 MHz

Horizontal timing (line) Vertical timing (frame)


Scanline part Pixels Time [μs] Frame part Pixels Time [μs]
Active video 1024 15.753 Active video 768 15.880
Front porch 24 0.369 Front porch 3 0.062
Sync pulse 136 2.092 Sync pulse 6 0.124
Back porch 160 2.462 Back porch 29 0.600
Whole line 1344 20.677 Whole frame 806 16.666
10

10
VGA Signal 1280 x 1024 @ 60 Hz
General timing
Screen refresh rate 60 Hz
Vertical refresh 63.981 kHz
Pixel freq. 108.0 MHz

Horizontal timing (line) Vertical timing (frame)


Scanline part Pixels Time [μs] Frame part Pixels Time [μs]
Active video 1280 11.852 Active video 1024 16.005
Front porch 48 0.444 Front porch 1 0.016
Sync pulse 112 1.037 Sync pulse 3 0.047
Back porch 248 2.296 Back porch 38 0.594
Whole line 1688 15.630 Whole frame 1066 16.661
11

11
Pin Assignments

Signal Name FPGA Pin No. Description


VGA_R[0]~[7] PIN_E12~H10 VGA Red[0]~[7]
VGA_G[0]~[7] PIN_G8~C9 VGA Green[0]~[7]
VGA_B[0]~[7] PIN_B10~D12 VGA Blue[0]~[7]
VGA_CLK PIN_A12 VGA CLOCK
0: Blank
VGA_BLANK_N PIN_F11 VGA BLANK 1: Active data

VGA_HS PIN_G13 VGA HSync


VGA_VS PIN_C13 VGA VSync
VGA_SYNC_N PIN_C10 Unused. Just assign 1.
12
The End.
Any question?
Reference

1. http://www-
mtl.mit.edu/Courses/6.111/labkit/vga.s
html
2. http://tinyvga.com/vga-timing
3. "DE2-115 User Manual" by Terasic.

14

You might also like