Skip to content

A Chisel verison of the tiny-gpu project, with more verification codes than original implementation

Notifications You must be signed in to change notification settings

Max-astro/tiny-gpu-chisel

Repository files navigation

A Chisel implementation of the tiny-gpu project. (https://github.com/adam-maj/tiny-gpu.git)

  • Implement the RTL in Chisel
  • Implement the testbench using Verilator
  • Implement the UVM like testbench using ChiselVerify
  • Implement the tiny GPU's virtual machine, including a assembler

Getting Started

make test

To generate Verilog:

make verilog

To generate machine code from assembly:

./assembler.sh <asm_file> [--idx]

# example:
./assembler.sh test/matadd.asm

A naive approach to test this GPU

Implement software simulators (Model) for each hardware modules. Generate random inputs for both hardware modules and software models, and see if the outputs can be matched. Then combine software models like connecting each hardware modules to build models for those complex modules (e.g. Core and Gpu).

About

A Chisel verison of the tiny-gpu project, with more verification codes than original implementation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages