Introduction to VGA 數位電路實驗 TA: 吳柏辰 Author: Trumen.

Slides:



Advertisements
Similar presentations
24-bit Audio CODEC 數位電路實驗 TA: 吳柏辰 Author: Trumen.
Advertisements

1 COMP541 Video Monitors Montek Singh Oct 1, 2014.
2.3 Inch 8x8 Dot-Matrix Display 數位電路實驗 TA: 吳柏辰 Author: Trumen.
My First Nios II for Altera DE2-115 Board 數位電路實驗 TA: 吳柏辰 Author: Trumen.
Display Technology  Images stolen from various locations on the web...
Chapter 2 Computer Imaging Systems. Content Computer Imaging Systems.
VGA Port Discussion D9.1. Raster Scan Displays Electron beam CRT.
Lecture 121 Lecture 12: VGA Video ECE 412: Microcomputer Laboratory.
Welcome to my presentation
DE2-115 Control Panel - Part II
16x2 LCD Module on DE2-115 數位電路實驗 TA: 吳柏辰 Author: Trumen.
Introduction to VGA Wei Miao Yuxuan Zhou 1. 2 VGA VGA = Video Graphics Array Introduced by IBM in 1987, still using today All points addressable Transmitting.
VGA Interface1 CRT Display Technology zCathode Ray Tube yElectron gun fires electrons at the screen yElectric field steers the electron (X field and Y.
Video Monitor Uses raster scanning to display images
NTSC to VGA Converter Marco Moreno Adrian De La Rosa
Basics of a Computer Graphics System Introduction to Computer Graphics CSE 470/598 Arizona State University Dianne Hansford.
Lecture 03 Fasih ur Rehman
Digilent System Board Capabilities Serial Port (RS-232) Parallel Port 1 Pushbutton Hint: Good for a reset button Connected to a clock input. See Digilent.
COE4OI5 Engineering Design Chapter 2: UP2/UP3 board.
Embedded Systems Architecture
Owais Ibrahim Akram Mohsin Murad. ONE OF THE BASIC ATTARI GAMES. THE PONG GAME CONSISTS OF A BALL RANDOMLY BOUNCING ON THE SCREEN. A PADDLE AT THE BASE.
ECE291 Computer Engineering II Lecture 9 Josh Potts University of Illinois at Urbana- Champaign.
Lecture No. 3.  Screen resolution  Color  Blank space between the pixels  Intentional image degradation  Brightness  Contrast  Refresh rate  Sensitivity.
Video Monitor Uses raster scanning to display images –Beam of electrons illuminates phosphorus dots on the screen called pixels. Starting at the top of.
ECE 448: Lab 6 VGA Display (mini chess game). Video Graphic Array (VGA) Resolution: 640x480 Display: 16 colors (4 bits), 256 colors (8 bits) Refresh Rate:
Introduction to Experiment 5 VGA Signal Generator ECE 448 Spring 2009.
ECE 477 Design Review Team 2  Fall Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria.
George Mason University ECE 448 – FPGA and ASIC Design with VHDL VGA Display Part 1 VGA Synchronization ECE 448 Lecture 9.
1 COMP541 More on State Machines; and Video Scanout Montek Singh Feb 16, 2010.
Lab 8 Bit-Mapped Graphics Moving from text-based graphics to bit- mapped graphics. Easy to draw graphic points and lines using INT 10h, Function 0Ch (write.
Video Monitor CRT: Cathode Ray Tube
Memory Devices on DE2-115 數位電路實驗 TA: 吳柏辰 Author: Trumen.
My Second FPGA for Altera DE2-115 Board 數位電路實驗 TA: 吳柏辰 Author: Trumen.
COMP541 Video Monitors Montek Singh Oct 2, 2015.
ECE FPGA Microprocessor Design Erik Lee, Edward Jones, Emily Kan.
Lecture # 4 Output Devices. Output Devices Devices that convert machine language into human understandable form. Output can be in display form, on paper.
Display Technology  Images stolen from various locations on the web...
Introduction to PG & LA 數位電路實驗 TA: 吳柏辰 Author: Trumen.
TFT-LCD Module Model Name : LC201V1-A1SO 27 Jan 2000 Preliminary.
Graphics: Conceptual Model Real Object Human Eye Display Device Graphics System Synthetic Model Synthetic Camera Real Light Synthetic Light Source.
ECE 448: Lab 4 VGA Display. Bouncing Ball.. Organization and Grading.
ECE VHDL Microprocessor Design Final Student Project August 14 th, 2012 Emily Kan Erik Lee Edward Jones.
ECE 448: Lab 5 VGA Display. Breaking-Bricks..
Figure 10.1 Color CRT and Phosphor Dots on Face of Display.
YCbCr 4:2:2 with Embedded Syncs In / RGB Graphics Out Using an SDTV Generic Setup CSC Setup for HD YCbCr to RGB REG 0x04 = 0x81 // csc_ric1 0x05 = 0xD5.
ECE 448: Lab 4 VGA Display The Frogger. Flexibility in the Second Part of the Semester Lab 4: VGA display (2 weeks) – 8 points Lab 5: Computer Graphics.
Menu Navigation Presented by: Tzahi Ezra Advisors: Moshe Porian Netanel Yamin One semester project Project initiation: NOV 2014 PROJECT’S MID PRESENTATION.
CRT Display Technology
USB host for web camera connection Characterization presentation Presenters: Alexander Shapiro Sergey Alexandrov Supervisor: Mike Sumszyk High Speed Digital.
Week 9 Monitors and output to the screen. Monitors, also known as Visual display units (V.D.Us) Desktop computers contain a Cathode Ray Tube (C.R.T.)
Table 5.1 The UP3core Functions. UP3core NameDescription LCD_Display Displays ASCII Characters and Hex Data on the UP3’s LCD Panel Deboune Pushbutton Debounce.
ECE 448: Lab 4 VGA Display Snake Game. Flexibility in the Second Part of the Semester Lab 4: VGA display (2 weeks) – 8 points Lab 5: Computer Graphics.
TFT-LCD Display + Camera
1 COMP541 Video Monitors Montek Singh Mar 11, 2016.
Implementation of Pong over VGA on the Nexys 4 FPGA
COMP541 Video Monitors Montek Singh Oct 7, 2016.
Free Projects For CENG 3430 CENG3430 Free Projects v.7c.
COMP541 Video Monitors Montek Singh Sep 15, 2017.
VGA Display Part 1 VGA Synchronization
COMP541 Video Monitors Montek Singh Feb 20, 2015.
Board Bringup: LCD and Display Interfaces
COMP211 Computer Logic Design Introduction to the DE2 Board
Specification of Control Board
Real-time Image Processing System
VGA INTERFACE Ly Le Department of Electrical Engineering
Introduction to VGA Digital Circuit Lab TA: Po-Chen Wu.
COMP541 Video Monitors Montek Singh Feb 6, 2019.
Lab 1. Introduction to the DE2 Board
VGA Display: VGA Synchronization & Pixel Generation
VGA Port CSE 678.
Presentation transcript:

Introduction to VGA 數位電路實驗 TA: 吳柏辰 Author: Trumen

DE2_115_User_manual\DE2_115_User_manual.pdf

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).

Introduction

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.

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.

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] Active video 640 25.422 Front porch 16 0.636 Sync pulse 96 3.813 Back porch 48 1.907 Whole line 800 31.778 Frame part Pixels Time [μs] Active video 480 15.253 Front porch 10 0.318 Sync pulse 2 0.0636 Back porch 33 1.049 Whole frame 525 16.683 要確保clock freq = 25.175MHz(實際上是50*74/147=25.170068),不要用25MHz 否則顯圖會有明顯雜訊 create_clock -period 39.729 -name VGA_CLK 7

Active video 640 16 96 48 Hsync Vsync 480 10 2 33 640 16 96 48 Hsync Vsync Active video 480 10 2 33 VGA Signal 640x480 @ 60 Hz

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] Active video 800 20 Front porch 40 1 Sync pulse 128 3.2 Back porch 88 2.2 Whole line 1056 26.4 Frame part Pixels Time [μs] Active video 600 15.84 Front porch 1 0.026 Sync pulse 4 0.106 Back porch 23 0.607 Whole frame 628 16.58 create_clock -period 25.0 -name VGA_CLK 不是每個螢幕的時間軸都校正的很精準 所以可能有時候800-38-128-90會顯示的比800-40-128-88還要好 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] Active video 1024 15.753 Front porch 24 0.369 Sync pulse 136 2.092 Back porch 160 2.462 Whole line 1344 20.677 Frame part Pixels Time [μs] Active video 768 15.880 Front porch 3 0.062 Sync pulse 6 0.124 Back porch 29 0.600 Whole frame 806 16.666 create_clock -period 15.384 -name VGA_CLK 10

VGA Signal 1280 x 1024 @ 60 Hz General timing Screen refresh rate Vertical refresh 63.981 kHz Pixel freq. 108.0 MHz Horizontal timing (line) Vertical timing (frame) Scanline part Pixels Time [μs] Active video 1280 11.852 Front porch 48 0.444 Sync pulse 112 1.037 Back porch 248 2.296 Whole line 1688 15.630 Frame part Pixels Time [μs] Active video 1024 16.005 Front porch 1 0.016 Sync pulse 3 0.047 Back porch 38 0.594 Whole frame 1066 16.661 圖太大sram塞不下,就不測了 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 VGA_BLANK_N PIN_F11 VGA BLANK VGA_HS PIN_G13 VGA HSync VGA_VS PIN_C13 VGA VSync VGA_SYNC_N PIN_C10 Unused. Just assign 1. 0: Blank 1: Active data VGA_SYNC_N設0時會有雜訊,設1則一切正常 (640x480 @ 60 Hz)

The End. Any question?

Reference http://www-mtl.mit.edu/Courses/6.111/labkit/vga.shtml http://tinyvga.com/vga-timing "DE2-115 User Manual" by Terasic.