Hello, world
A new home for my notes, projects and updates, styled like the terminal I spend most of my time in.
$ cat hello-world.md$ whoami
Electronic & telecommunication engineering undergraduate · University of Moratuwa, Sri Lanka
I like to understand things all the way down, so I build them from scratch: a CPU and an operating system on an FPGA, a C compiler for RISC-V, digital filters you can hear, and a neural network down to its gradients. This is where I write about how they work, and post updates on what I’m making.
$ ls -t posts/
A new home for my notes, projects and updates, styled like the terminal I spend most of my time in.
$ cat hello-world.mdMy own instruction set, two CPUs in Verilog, caches, a C compiler and a small Unix-like operating system, all aimed at a Tang Nano 20K FPGA board.
$ cat building-my-own-computer.mdI wrote my own deep-learning engine, with automatic differentiation, convolutions and optimisers, and taught it to read handwritten digits.
$ cat neural-network-from-scratch.mdMy terminal animations now run on macOS, the ASCII donut flies through 3D space, and there's a new ripple tank you can click to make waves.
$ cat ascii-donut-and-ripples.mdA compiler, assembler and linker for RISC-V, plus a 5-stage pipeline and caches, built so I could watch a C program turn into hardware activity.
$ cat from-c-to-risc-v.mdFilter Lab lets you design a digital filter, drag its poles and zeros around, and hear the result live. Seeing a frequency response is one thing; hearing it is another.
$ cat filters-you-can-hear.mdEvery time my laptop woke up on campus, the Wi-Fi asked me to log in again. Now a small script does it for me, on Mac and Windows.
$ cat campus-wifi-auto-login.mdThe very first page I put on this site. It deserves a place in the archive.
$ cat that-special-moment.md