DE0-CV User Manual
57
www.terasic.com
May 4, 2015
5
5
.
.
6
6
V
V
G
G
A
A
P
P
a
a
t
t
t
t
e
e
r
r
n
n
This demonstration displays a simple blue, red and green color pattern on a VGA monitor using the
VGA output interface on DE0_CV board.
Figure 5-11
shows the block diagram of the design. The
major block called video_sync_generator generates the VGA timing signals, horizontal
synchronization, vertical synchronization and blank in standard VGA resolution (640x480 pixels, at
25 MHz). These signals will be used in vga_controller block for RGB data generation and data
output. Please refer to the chapter 3.6 in DE0_CV_User_Manual on the DE0_CVSystem CD for
detailed information of using the VGA output. As shown in
Figure 5-12
,the RGB data drives each
pixel in turn across the row being displayed after the time period of back porch.
Figure 5-11 Block diagram of the VGA Pattern demonstration
Figure 5-12 Timing Waveform of VGA interface
D
D
e
e
s
s
i
i
g
g
n
n
T
T
o
o
o
o
l
l
s
s
Quartus II 14.1
D
D
e
e
m
m
o
o
n
n
s
s
t
t
r
r
a
a
t
t
i
i
o
o
n
n
S
S
o
o
u
u
r
r
c
c
e
e
C
C
o
o
d
d
e
e
Quartus Project directory: DE0_CV_VGA_Pattern
Bitstream used: DE0_CV_VGA_Pattern.sof
D
D
e
e
m
m
o
o
n
n
s
s
t
t
r
r
a
a
t
t
i
i
o
o
n
n
B
B
a
a
t
t
c
c
h
h
F
F
i
i
l
l
e
e
Demo Batch File Folder: DE0_CV_SD_DEMO\demo_batch\
The demo batch file includes following files: