Download report

Transcript
CONTENTS
1.
Introduction
5
1.1.Digilent Nexys2 Board
5
1.2.MicroBlaze
5
1.3. EDK
5
2.
Hardware implementation
6
2.1.Hardware overview
6
2.2.VGA controller
7
2.2.1. VGA overview
7
2.2.2. Hardware implementation
7
2.2.3. Synthesis analyzes of VGA controller
9
2.3.PS2 keyboard Controller
2.3.1. PS2 keyboard protocol
10
2.3.2. Hardware implementation
10
2.3.3. Synthesis report
11
2.4.Synthesis analysis of the hardware design
3.
10
Software implementation of the video game - Snake
12
13
3.1.Introduction of our Snake video game
13
3.2.Design overview of software implementation
13
3.3.Detailed descriptions of software design
15
3.3.1. Display
15
3.3.2. Initialization of the game
15
3.3.3. Snake moving function
15
3.3.4. Food eating
16
3.3.5. Delay
17
3.3.6. Game status
17
3.4.Memory size requirement
17
3