ChiselGPU

Experiments with fixed function renderers and Chisel HDL

APACHE-2.0 License

Stars
54

Setup

This implementation uses the Chisel hardware construction language:

https://chisel.eecs.berkeley.edu/

Required Software

SBT (Scala build tool) will automatically download and install the remaining dependencies, including Scala and the Chisel library.

Set up on Linux

sudo apt-get install gcc g++ openjdk-7-jre sbt imagemagick

Set up on MacOS

Download and install Java from here:

https://java.com/en/download/help/mac_install.xml

If the system compiler is not already installed:

xcode-select --install

Finally:

sudo port install sbt imagemagick

Running

To run the whole design in simualtion:

cd hardware
make run

Output framebuffer is written to 'output.png' The simulator writes a waveform trace to 'trace.vcd'

To run unit tests:

make tests

To synthesize:

make verilog

The result will be in hardware/generated_verilog/