Bomberman using Xilinx Microblaze for UEC2 project
Software
- Git (Optional)
- Basys 3 board files
Download and programming instruction
- Open cmd
- Navigate to your working directory:
cd <working_directory>
- Download the ZIP file and extract in
<working_directory>
or use git command:git clone git://github.com/micholek/uec2_projekt.git
- Open Vivado
- Open Tcl Console by choosing
Window -> Tcl Console
or usingCtrl+Shift+T
combination - Navigate to the sources directory:
cd {<working_directory>/src}
- Build the Vivado project:
The project will be created under
source build.tcl
<working_directory>/vivado
- Run synthesis, implementation and generate bitstream
- Export hardware by choosing
File -> Export -> Export Hardware...
- Tick
Include bitstream
option
- Launch SDK environment by choosing
File -> Launch SDK
- Create New C++ Application Project
- Set name to bomberman
- Configure SDK project
- Delete default main.cc file
- Import C++ sources from
<working_directory>/src/sdk
Project Explorer -> bomberman -> RMB -> Import...
General -> File System
- Click
Browse...
and choose<working_directory>/src/sdk
- Tick sdk folder on the left side
- Click
Advanced >>
and tick all 3 options, set PROJECT_LOC - Click
Finish
- Set stack size to 0x3000 and heap size to 0x1000 in lscript.ld
- Program device
Xilinx -> Program FPGA
Project Explorer -> bomberman -> RMB -> Run As -> Launch on Hardware (System Debugger)
- Open UART terminal for keyboard input
Video presentation
You can watch a short video presenting the game here