MNE_2202_-_Project.pdf
(
388 KB
)
Pobierz
Interfacing a VGA Monitor to Xilinx XC3S200 FPGA
Lecturer:
Dr. Edward Gatt
ejgatt@eng.um.edu.mt
Laboratory Tutors:
Dr. Ivan Grech
igrech@eng.um.edu.mt
Mr. Owen Casha
owen.casha@um.edu.mt
Assessment:
60 % Examination
40 % Assignment Î Tutorial Sheet (20%) / Project (20%)
Objectives
•
Design a simple 3-bit VGA Controller using a VHDL code
•
Implement the controller such that a VGA monitor can be interfaced to a
Xilinx XC3S200 FPGA
N.B. Since the implementation will be made on the Spartan-3 Starter Kit Board, the
students are encouraged to read through the following user guide before
starting their assignment:
http://lark.tu-sofia.bg/asic/labs/s3demo/Digilent_S3.pdf
to familiarise with its environment. In addition this document includes
information on the VGA Display interfacing.
Architecture Proposal
clk_in
arst_in
colour_in[2:0]
clk_in
arst_in
colour_in[2:0]
clk_in
arst_in
colour_in[2:0]
clk_in
arst_in
colour_in[2:0]
clk_in
arst_in
colour_in[2:0]
clk_in
arst_in
colour_in[2:0]
VGA Controller
VGA Controller
VGA Controller
VGA Controller
N/O
Button Switch
N/O
Button Switch
25 MHz
25 MHz
25 MHz
red_out
green_out
blue_out
red_out
green_out
blue_out
red_out
green_out
blue_out
red_out
green_out
blue_out
red_out
green_out
blue_out
red_out
green_out
blue_out
hs_out
vs_out
hs_out
vs_out
hs_out
vs_out
hs_out
vs_out
hs_out
vs_out
hs_out
vs_out
Dip Switches
Dip Switches
MNE 2202 Î Hardware Description Languages
1/4
Input/Output Requirements:
clk_in
Main synchronization clock signal
arst_in
Asynchronous reset
colour_in [2:0]
Input
data word which determines the colour of the
circle
red_out
Red Colour Enable
green_out
Green Colour Enable
blue_out
Blue Colour Enable
hs_out
Horizontal sync signal
colour_in = Ð100Ñ
vs_out
Vertical sync signal
Problem Description
colour_in 2 colour_in 1 colour_in 0
Circle Colour
Background
Colour
0
0
0
BLACK
WHITE
0
0
1
BLUE
0
1
0
GREEN
0
1
1
CYAN
1
0
0
RED
BLACK
1
0
1
MAGENTA
1
1
0
YELLOW
1
1
1
WHITE
The function of the VGA controller is to display a coloured circle located at the centre
of the screen and that has a radius of 250 pixels. The colour of the circle and that of
the background should be controlled by the user via the three dip switches connected
to the
COLOUR_IN
3-bit bus according to the above table. The monitor should be
operated on a 640 x 480 resolution mode with refresh rate of 60 Hz.
The equation of a circle is given by:
(
) (
)
2
2
2
Y
−
Y
+
X
−
X
=
R
1
1
(
) (
) (
) (
)
Y
−
Y
×
Y
−
Y
+
X
−
X
×
X
−
X
=
R
×
R
1
1
1
1
where
R
is the radius of the circle and (
X
1
,
Y
1
) are the coordinates of the centre of the
circle.
MNE 2202 Î Hardware Description Languages
2/4
VGA Port on the Spartan-3 Development Board
MNE 2202 Î Hardware Description Languages
3/4
25 MHZ
MNE 2202 Î Hardware Description Languages
4/4
Plik z chomika:
robson_swdn
Inne pliki z tego folderu:
MNE_2202_-_Project.pdf
(388 KB)
1338.pdf
(404 KB)
VGA.pdf
(102 KB)
Projekt_chronometr.zip
(505 KB)
proj1counter (3).vhd
(5 KB)
Inne foldery tego chomika:
Ćwiczenia laboratoryjne z fizyki-Rewaj - ZA FREE
Dla Papieża
Dyplomy
Dyplomy- całość do pobrania ZA FREE
FILMY ZA FREE
Zgłoś jeśli
naruszono regulamin