Skip to content

About

ASIC raytracer on IHP130nm

Resources

Stars

6 stars

Watchers

0 watching

Forks

Repository files navigation

TinyTracer

TinyTracer is a small ray-tracing graphics chip for Tiny Tapeout, designed by the University of Waterloo ASIC Design Team. A host device sends a 3D scene over UART, the chip renders it one pixel at a time with up to 32 samples per pixel and 8 bounces, and streams the pixels back over the same link.

Repository layout

Path Contents
src SystemVerilog RTL. tinytracer_pkg.sv holds shared constants and types, tinytracer_if.sv the interfaces between modules, and tt_um_tinytracer.sv the top module
test cocotb testbench (see test/README.md)
sim C++ software model of the chip, which renders a scene file with the chip's 16-bit arithmetic and counts cycles
docs Design documentation
info.yaml Tiny Tapeout project information: source files, top module, pinout

Running

  • RTL simulation: cd test && make -B (needs Verilator and cocotb; see test/README.md)
  • Documentation: pip install -r docs/requirements.txt, then mkdocs serve
  • Software model: g++ -O2 -std=c++17 sim/tinytracer_sim.cpp -o sim/tinytracer_sim, then sim/tinytracer_sim sim/scene_demo.txt

Every file in src refers to package items by qualified name (tinytracer_pkg::WLEN), because the Yosys version that the Tiny Tapeout flow uses does not accept import tinytracer_pkg::*;.

About

ASIC raytracer on IHP130nm

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages