About

Congratulations, you have found my website!

This is where I post about the cool things I have built (when I remember, that is).

More details can be found below. All source code can be found on GitHub.

View my GitHub



Projects


Building a custom SoC to run DOOM

This page describes the design of a custom SoC built for the sole purpose of running DOOM on a small FPGA: the Gowin Tang Nano 20K.
It includes a custom RISC-V CPU running a subset of the RV32 instruction set, with potential additional custom instructions that aid in the execution of of DOOM at full resolution and framerate of this FPGA. I refer to this custom instruction set as RV32doom.

When available, full details on the design of the CPU and the additional uncore components can be found in their respective pages linked below.

Custom Embedded GPS-Synchronized PTP/NTP Timeserver

Work in progress

This page is under construction while I find time to migrate my notes.

[TODO: picture of the hardware]

This page details a GPS-referenced Stratum 1 network time server with support for Precision Time Protocol (PTP, IEEE 1588) and NTPv4 (RFC 5905). It is implemented on a STMicro NUCLEO-H563ZI.

Initially, this project was just to get bare-metal Ethernet working on the STM32H563ZI. Once I had that working, I figured I'd use it to do something useful.

tiny-riscv: A small RV32E CPU

tiny-riscv is (true to its uninspired name) an attempt to build the smallest RISC-V core possible while maintaing roughly one Instruction per Cycle. It achieves this by supporting the base RV32E instruction set with a simple two stage pipeline. The implementation targets the FreePDK45nm standard cell library.

core_diagram A very simplified diagram of the core pipeline