Tiny GPU v0.1.0-alpha: End-to-End Execution Platform
Tiny GPU v0.1.0-alpha: End-to-End Execution Platform
Overview
This PR establishes the first complete executable Tiny GPU platform.
The repository originally contained many of the fundamental RTL building blocks required for a GPU implementation, but lacked a fully integrated execution flow demonstrating how kernels are loaded, dispatched, executed, and verified end-to-end.
This work focuses on turning the project into a coherent and executable GPU system while preserving the project's educational goals and architectural simplicity.
The result is a functional GPU prototype capable of executing assembly programs through a complete fetch → decode → execute → memory → retire flow.
Objectives
The primary objectives of this milestone were:
Integrate the major RTL subsystems into a complete GPU platform
Establish an executable assembly workflow
Validate instruction execution through automated regression testing
Improve project documentation and onboarding
Create a foundation for future ISA and architectural expansion
Major Additions
GPU Integration
Integrated the major architectural components into a unified GPU top-level design:
Device Control Register (DCR)
Block Dispatcher
Program Memory Controller
Data Memory Controller
Multi-Core Infrastructure
Compute Core Integration
The GPU can now launch kernels, distribute work across cores, and coordinate memory transactions through centralized controllers.
Assembly Toolchain
Expanded the software tooling required to exercise the RTL.
Added:
Assembly workflow
Example assembly programs
Program execution infrastructure
Example programs now cover:
CONST
CMP
ADD
SUB
MUL
DIV
LOAD
STORE
Branching
These programs provide executable examples of the supported instruction set and serve as regression workloads.
Verification Infrastructure
Added and expanded Cocotb-based verification.
Regression coverage now includes:
Core-Level Verification
Arithmetic operations
Branch execution
Memory operations
Program execution
GPU-Level Verification
Kernel launch flow
Dispatch infrastructure
Program memory interfaces
Data memory interfaces
End-to-end execution
The goal of this phase was functional correctness rather than exhaustive architectural verification.
Documentation
Substantially expanded project documentation.
Added:
Architecture Guide
ISA Reference
Verification Guide
Project Status
Development Roadmap
Release Notes
The documentation now describes both the architecture and the rationale behind major design decisions.
Architectural Status
Current implementation supports:
Execution
Multi-core execution
Thread-level execution
Scheduler-driven execution model
Fetch / Decode / Execute pipeline
Memory
Program memory subsystem
Data memory subsystem
Memory arbitration controllers
External memory interfaces
Instruction Set
Implemented instructions:
CONST
CMP
ADD
SUB
MUL
DIV
LOAD
STORE
BRN
BRZ
BRP
RET
Verification Results
Primary regression suites:
pytest -s tb/run_core_programs.py
pytest -s tb/run_gpu_top.py
Current status:
PASS
Verified functionality includes:
Feature | Status -- | -- Arithmetic Execution | PASS Branch Execution | PASS Load Operations | PASS Store Operations | PASS Program Execution | PASS GPU Integration | PASSDesign Philosophy
This project intentionally prioritizes understandability over performance.
Several advanced GPU concepts are intentionally omitted from this release:
Warp switching
Branch divergence handling
SIMD execution
Cache hierarchy
Memory coalescing
Advanced scheduling
Pipeline optimization
The objective is to provide a compact and approachable architecture that demonstrates core GPU execution concepts before introducing production-grade complexity.
Known Limitations
Current limitations include:
Limited ISA functionality
No cache implementation
No architectural scoreboarding
No FPGA deployment flow
Simplified scheduling model
Simplified memory model
These limitations are expected and are tracked in the project roadmap.
Future Work
Planned future milestones include:
v0.2.0
Logic instructions
Shift instructions
ISA expansion
v0.3.0
Architectural scoreboarding
Improved verification
v0.4.0
Warp scheduling enhancements
Occupancy management
Long-Term
Cache hierarchy
SIMD execution
FPGA deployment
Performance analysis
Summary
This PR transitions Tiny GPU from a collection of RTL components into a complete executable GPU platform.
Key outcomes:
Complete GPU integration
Executable assembly workflow
Automated regression infrastructure
Expanded documentation
Stable baseline for future development
This milestone is intended to serve as the foundation for all future ISA, scheduling, memory-system, and verification enhancements.