PipelineC-Graphics

Graphics demos implemented using PipelineC.

This primarily consists of a ray tracing demo created using CflexHDL C++ code.

Work contained in these repositories is experimental and in active development. Please report any issues that are encountered.

Sphery vs. Shapes:

A fully working interactive raytraced game written in C and translated to a circuit. No CPU is used, and the few resources used run at an outstanding power efficiency. Check out a demo video of gameplay on real hardware! image

A detailed article describing this work is here

Building

Boards supported are the Digilent Arty-100T and the OrangeCrab 85F v0.2.

For the Arty: make clean BOARD=digilent_arty FRAME_WIDTH=1920 FRAME_HEIGHT=1080 load
For the OrangeCrab: make clean BOARD=gsd_orangecrab load (default 640x480 resolution, uses open source toolchain for synthesis)
You need to select DVI=True or DVI=False in litex_soc.py to output digital video or analog video with a VGA PMOD

Full pipelining can take some hours, for faster processing you can try simulation options like make sim, make gen, or make verilator

Contact

Twitter: @pipelinec_hdl @suarezvictor

Talk on Discord: