slide1 n.
Download
Skip this Video
Download Presentation
Introduction to Experiment 5 VGA Signal Generator ECE 448 Spring 2008

Loading in 2 Seconds...

play fullscreen
1 / 16

Introduction to Experiment 5 VGA Signal Generator ECE 448 Spring 2008 - PowerPoint PPT Presentation


  • 141 Views
  • Uploaded on

Introduction to Experiment 5 VGA Signal Generator ECE 448 Spring 2008. Video Graphic Array (VGA). Resolution: 640x480 Display: 16 colors (4 bits), 256 colors (8 bits) Refresh Rate: 25Hz, 30Hz (frames / second) RGB: Red, Green and Blue colors Monitor technology: Cathode Ray Tube (CRT).

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Introduction to Experiment 5 VGA Signal Generator ECE 448 Spring 2008' - karen-nichols


Download Now An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide1

Introduction to Experiment 5

VGA Signal Generator

ECE 448

Spring 2008

video graphic array vga
Video Graphic Array (VGA)
  • Resolution: 640x480
  • Display: 16 colors (4 bits), 256 colors (8 bits)
  • Refresh Rate: 25Hz, 30Hz (frames / second)
  • RGB: Red, Green and Blue colors
  • Monitor technology: Cathode Ray Tube (CRT)
slide3

VGA Monitor

0

639

0

Horizontal Flyback

Horizontal Trace

Vertical Flyback

479

slide4

D/A VGA Monitor Interface

Analog

RGB

output

6-bit digital color code for a single pixel

FPGA output

64 colors

board output

rc 10 monitor interface
RC-10 Monitor Interface

Use these 2 higher bits

slide6

VGA Control Signal Timing

Resolution

640x480

slide8

VGA Control Signal Timing

for fCLK = 48 MHz

1208 clock cycles

1253 clock cycles

1434 clock cycles

1525 clock cycles

480 lines

494 lines

496 lines

528 lines

vhdl timing for 48mhz
VHDL Timing for 48MHz
  • Please verify that you generate correct synchronization signals using
    • Functional simulation
    • Timing simulation
    • Oscilloscope
  • before you connect your VGA output to a CRT monitor.
execution unit

0

1

0

Value detector

0

1

1

xxx

Detector compares the input value with

the number written on the box. If the

input is same as given number then it

outputs 1.

External control

Execution Unit

12

12

Color

Generator

6

+1

6

RGB [Red, Green, Blue]

64 colors

6

12 bit

reg.

0

set

1524

switch

1

12

0

clear

blank

pixels

1207

set

1433

switch

1

clear

1252

horizontal

sync

10

10

+1

Switch

10 bit

reg.

En

set

527

switch

1

11

0

clear

479

blank

lines

set

clk (48 MHz)

495

switch

1

clear

493

vertical

sync

reset

VGA signal generator

color generator
Color Generator

External Control

12

column_code

RGB_color_code

Color

Generator

10

6

row

2 bits for Red component

2 bits for Green component

2 bits for Blue component

  • Output can be
    • generated on the fly, or
    • read from a precomputed look-up table (stored in BRAM)
task 2 displaying a triangle in the corner of the screen
Task 2 : Displaying a triangle in the cornerof the screen

Triangle color

Background color

Joystick right and left - scrolling through 16 different colors of the triangle.

Joystick up and down - scrolling through 16 different colors of the background.

task 3 triangle exp a nding and shrinking in time
Task 3 :Triangle expanding and shrinkingin time

Triangle color

time 2

time 1

Background color

Joystick right and left - scrolling through 16 different colors of the triangle.

Joystick up and down – increasing/decreasing the speed of expaning/shrinking.

task 4 moving triangle
Task 4 : Moving triangle

Triangle color

time 1

time 4

time 2

time 3

Background color

Joystick right and left – Change color of triangle

Joystick up and down – Change speed of triangle’s movement