Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 2.36 KB

File metadata and controls

41 lines (35 loc) · 2.36 KB

InfoProcessing Coursework

Bop it

Introduction

This is the github repository for the ELEC50009 - Information module coursework. FPGA Bop it is an FPGA-based multiplayer interactive game. Utilizing the DE10-Lite FPGA board and NIOS II softcore, along with server-client communication based on AWS, it enables two players, using DE10 as gamepads, to enjoy the classic Bop it game.

Tutorial

  1. Initialise FPGA
Goto Golden_Top folder and open DE10_LITE_Golden_Top.qpf file
Goto Quartus -> Tools -> Programmer -> Add file...
Open DE10_LITE_Golden_Top.sof
Click Start
  1. Create JTAG_UART connection between main.py script and DE10-Lite
# Open NIOS II command shell
& '<path>\intelFPGA_lite\18.1\nios2eds\Nios II Command Shell.bat'
# Locate the folder
cd <path>/Golden_Top/software/cw
# Download .elf project 
nios2-download -g cw.elf

run main.py
  1. Set Up server
Set up AWS server (refer to https://github.com/Aaron-Zhao123/ELEC50009/blob/main/lab5/lab5.pdf)
# Open server file
python3 newserver.py
  1. Start the game
run main.py
  1. Follow commands to join the game.

Demo

https://youtu.be/o3yO4nKiVIQ