How ziadbady85-sketch/simt-gpgpu works
This repository implements a 4-core, 64-thread SIMT GPU in Verilog. Its documented workflow is shared instruction control—from the program counter through fetch, instruction memory, decode, and scheduling—followed by lockstep execution across cores and active threads. Each thread has register state and parallel ALU/LSU execution; memory requests pass through private write-back L1 caches to shared memory. The README documents these architectural relationships, but no RTL excerpts were provided, so edges below are based on that documentation rather than inspected call sites.
Main entry points: gpu_top.v GPU Top · GPU_Thread.v SIMT Thread · GPU_PC.v Program Counter · Scheduler.v Scheduler
Components 17
Shared Control
- Thread Controller
Thread_Controller.v - Program Counter
GPU_PC.v - Instruction Fetcher
GPU_Fetcher.v - Instruction Memory
GPU_INST_MEM.v - Instruction Decoder
GPU_Decoder.v - Scheduler
Scheduler.v
Parallel Execution
- Execution Core
GPU_Core.v - Thread Block
GPU_Block.v - SIMT Thread
GPU_Thread.v - Thread ALU
GPU_ALU.v - Thread Registers
GPU_Reg_File.v - Load Store Unit
GPU_LSU.v
Memory System
- Private L1 Cache
l1_cache.v - Cache Arbitration
l1_cache.v - Memory Controller
memory_controller.v - Backing Data Memory
data_memory.v
Other components
- GPU Top
gpu_top.v
Connections 19
- GPU Top → Thread Controller: configures threads
README.md - GPU Top → Program Counter: uses shared control
README.md - GPU Top → Scheduler: dispatches to cores
README.md - GPU Top → Execution Core: organizes four cores
README.md - Thread Controller → Program Counter: provides activation
README.md - Program Counter → Instruction Fetcher: provides address
README.md - Instruction Fetcher → Instruction Memory: requests instruction
README.md - Instruction Memory → Instruction Decoder: supplies instruction
README.md - Instruction Decoder → Scheduler: provides decoded instruction
README.md - Scheduler → Execution Core: dispatches instruction
README.md - Execution Core → Thread Block: organizes blocks
README.md - Thread Block → SIMT Thread: contains threads
README.md - SIMT Thread → Thread ALU: executes instruction
README.md - SIMT Thread → Thread Registers: maintains state
README.md - SIMT Thread → Load Store Unit: issues memory operations
README.md - Load Store Unit → Private L1 Cache: requests data
README.md - Private L1 Cache → Cache Arbitration: arbitrates requests
README.md - Cache Arbitration → Memory Controller: forwards misses
README.md - Memory Controller → Backing Data Memory: accesses backing store
README.md