Group 05 11 Progress 01

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 13

LOGO

Group_05_11

Pong Game
on FPGA KIT – DE2

Instructor: Dr. Pham Ngoc Nam


FPGA Project
Members

1 Bạch Thảo Ly

2 Nguyễn Duy Long

3 Phạm Ngọc Sơn

4 Hoàng Quốc Huy

12/07/21 19:42 FPGA Project 2/12


Contents

Description of the work assigned

System Design Details

Following Plan

12/07/21 19:42 FPGA Project 3/12


Description of the work assigned

• In the project proposal has been presented before, the group has
set out the non-functional requirements and functions needed for
Pong game. Also build a general block diagram for the system,
including:

- External control bolck: Keyboard PS/2

- Display block: VGA Monitor

- Audio processing block: IC WM8731

- Main game block.

• This report focus describes the system design details. Summary


the structure and relationships between the blocks above.
12/07/21 19:42 FPGA Project 4/12
System Design Details

Flowchart of Game Play

12/07/21 19:42 FPGA Project 5/12


System Design Details
VGA Monitor

System Design Block Diagram

VGA
Video Port

Kb_main
PS/2
Keyboard Port
Keyboard Keyboard
PS/2 Keyboard _scan _convert
VGA_Controller

SD Card
Slot

SD
SD Card _interface

Pong_main

DE1
FPGA KIT

Audio
_Controller

Paddle_1 Paddle_2 Ball


WM8731
Audio
Speaker CODEC

12/07/21 19:42 FPGA Project CHIP EP2C35


6/12
System Design Details

•kb_main: This is no RTL in this block. It simply ties together the keyboard_scan
and keyboard_convert blocks.

•keyboard_scan: This block interfaces directly with the data and clock pins on
the PS/2 keyboard. It can detect any key on the keyboard pressed or depressed
and sends scan_code bits to keyboard_convert.

•keyboard_convert: This block controls the keyboard_scan block, reads the


keyboard codes (scan_code) and converts keyboard codes to ASCII codes (hex,
ascii) which can appear in the seven-segment LED display, VGA display or
controls any function(i.e. up, down, left, right…) .

12/07/21 19:42 FPGA Project 7/12


System Design Details

•VGA_Controller: This block interfaces directly with the hsync, vsync, red,
green, blue video output signal on the DE1 board. This block should allow
for displaying the following on the VGA monitor:

-Shape, size and colour of the playground, paddle and ball

-The movement of the paddle_1, paddle_2 and ball based on the


parameters from the paddle_1, paddle_2 and ball block.

-Position of the barrages which appear when level up. It based on the
parameters from the Pong_main block.

-Scores for each player, which will be from 0 to 15 only.

12/07/21 19:42 FPGA Project 8/12


System Design Details

•SD_interface: This block interfaces directly with SD Card.

•Audio_controller: This block interfaces directly with WM8731.

•Paddle_1, paddle_2: Simple counter which increases/decreases the


paddle value if the up/down is asserted. In other words, the paddle
moves only in one direction and based on user input from the keyboard.

12/07/21 19:42 FPGA Project 9/12


System Design Details

•Pong_main: This is the main backbone to the game and is thus a little more
complex. With the given specifications, this block should make following :

-Synchronization behavior of kb_main, paddle_1, paddle_2, ball,


VGA_controller, Audio_controller and SD_interface block. (i.e. at a time,
those action has occurred; controlling the postion of paddle by using
parameters from kb_main)

-Providing the parameter for movement of the ball.

-Receiving audio data from SD card and sending it to IC WM8731.

-Counting the scores and show the winner. The score should be provided for
the display on the VGA monitor.

12/07/21 19:42 FPGA Project 10/12


11/12

g
on
yL
n Du
Next week Plan

uyễ e
Ng am
in G
26/10

Ma
y
Hu
ốc
Qu
àng ec
Ho od
c
dio
12/10

Au

FPGA Project
ơn
cS
N gọ
ạm y
Ph pla
Dis
05/10

A
VG
Ly
ảo
Th 2
ch – PS
Bạ
ard
ybo

28/09

12/07/21 19:42
Ke
Visual aid

Number of ball in
every set

Score 1 Score 2

Paddle 1

Paddle 2

12/07/21 19:42 FPGA Project 12/12


LOGO

Group_05_11

You might also like