https://github.com/ragibson/fpga-asteroids
32-bit single cycle CPU design and implementation of the "Asteroids" arcade game for this CPU in Assembly and C.
https://github.com/ragibson/fpga-asteroids
assembly asteroids c cpu fpga mips
Last synced: about 1 year ago
JSON representation
32-bit single cycle CPU design and implementation of the "Asteroids" arcade game for this CPU in Assembly and C.
- Host: GitHub
- URL: https://github.com/ragibson/fpga-asteroids
- Owner: ragibson
- License: mit
- Created: 2018-12-01T16:42:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-23T13:17:31.000Z (about 7 years ago)
- Last Synced: 2025-04-12T03:09:23.930Z (about 1 year ago)
- Topics: assembly, asteroids, c, cpu, fpga, mips
- Language: SystemVerilog
- Homepage:
- Size: 76.2 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# FPGA-Asteroids

This repository contains a CPU design for use on FPGAs and a clone of the
Asteroids arcade game (written in assembly by hand) that runs on the CPU.
## CPU Design
In short, the CPU is a 32-bit single cycle processor and supports
* A subset of the MIPS instruction set
* Accelerometer input
* Keyboard input
* VGA display output (640x480 @ 60 Hz)
* Mono audio output
* LED lights output
* 7-segment display output
More information can be found in the [CPU README](CPU/README.md).
## Asteroids
The assembly version runs on the CPU clocked at 100 MHz (with support for
on-the-fly underclocking to 25 or 50 MHz to demonstrate VBLANK).
A prototype written in C that writes directly to the Linux framebuffer is also
available.
More information can be found in the [Asteroids README](Asteroids/README.md).