HARDWARE DEVELOPMENT OF A FOOTBALL MATCH DEMOSTRATION BASE ON FPGA

1

Student: Bui Van De Advisor: Tran Xuan Tu

2 OUTLINE  Introduction  System overview  Hardware design  Software design  Result and Conclusion UNIVERSITY OF ENGINEERING AND TECHNOLOGY Faculty of Electronics and Telecommunications .

Introduction 3 UNIVERSITY OF ENGINEERING AND TECHNOLOGY Faculty of Electronics and Telecommunications .

System overview 4 UNIVERSITY OF ENGINEERING AND TECHNOLOGY Faculty of Electronics and Telecommunications .

System overview(cont) 5 UNIVERSITY OF ENGINEERING AND TECHNOLOGY Faculty of Electronics and Telecommunications .

 Send teams players' positions. speed. direction.  Receive player movement update from team . only speed and direction.  Receive 'kick' information from the teams.no positions.  Display the field and the flayers moving at 25Hz.System overview(cont) 6 Server Task  Receive initial player co-ordinates from teams.  Send ball position.  Referee the game. UNIVERSITY OF ENGINEERING AND TECHNOLOGY Faculty of Electronics and Telecommunications .

UNIVERSITY OF ENGINEERING AND TECHNOLOGY Faculty of Electronics and Telecommunications .Develop strategy for player movement by considering position of ball/ players.Send initial co -ordinates for all players  .Send player movement updates  .  .System overview(cont) 7 Client Task  .Receive position of ball and players of both teams.

Hardware architecture 8 * Microblaze * VGA controller * Interrrupt Controler * Uart (Lite) * Gpios * Timer/Counter UNIVERSITY OF ENGINEERING AND TECHNOLOGY Faculty of Electronics and Telecommunications .

Software design 9 -void draw_football_ground(void). VGA_U8 icolor).void draw_ball_ground(VGA_U32 x.void draw_ball(VGA_U32 x. VGA_U32 y). VGA_U32 y. VGA_U32 y). -void draw_ball_ground(VGA_U32 x. . UNIVERSITY OF ENGINEERING AND TECHNOLOGY Faculty of Electronics and Telecommunications . VGA_U32 y). -. -void draw_player(VGA_U32 x.

Software design(cont) 10  The problem in here is how to display the movement of players UNIVERSITY OF ENGINEERING AND TECHNOLOGY Faculty of Electronics and Telecommunications .

VGA_U32 x.struct server_st move_to_target(struct server_st player.Software design(cont) 11  . VGA_U32 y) This function is used to move player to any position in the football ground UNIVERSITY OF ENGINEERING AND TECHNOLOGY Faculty of Electronics and Telecommunications .

xilinx.xilinx. Website: http://www. Real-time Embedded Systems Course http://bbc.nus.vn  5. Xilinx Inc.sg/display/ee4214  4..htm . UNIVERSITY OF ENGINEERING AND TECHNOLOGY Faculty of Electronics and Telecommunications .edu. Xilinx Inc.  3. K54D University of Technology and Engineering.vnu.edu.  2.com/products/design-tools/ise-designsuite/index.12 THANK YOU FOR ATTENTION Reference:  1. Real-time Embedded Systems Labs Homepage: http://wiki.edu. Wiki.vn.com/products/silicon-devices/fpga/xa-spartan3e/index.. Final_report_v2. Bbc.vnu. Website: http://www. ISE Design Suite.htm. Products: Spartan-3E.nus.